bash error line 230 during wget -q -O portion of setup
Brett Ussher
breusshe at hotmail.com
Thu Jul 17 11:44:58 CDT 2008
I have a Dell Inspiron 1720 running Linux Mint 5.0 (Ubuntu flavor based
on the 8.04 codebase). I found the BIOS update tools and thought it
would be one less reason for me to boot up in Windows XP on this
laptop. However, while trying to do the wget -q -O portion of the
setup, I keep getting some errors:
~ $ sudo wget -q -O - http://linux.dell.com/repo/firmware/bootstrap.cgi
| bash
[sudo] password for XXXXX:
bash: line 230:
/etc/apt/sources.list.d/dell-software-temp-bootstrap.list: Permission denied
Downloading GPG key: http://linux.dell.com/repo/GPG-KEY-libsmbios
Importing key.
gpg: no writable keyring found: eof
gpg: error reading `GPG-KEY': general error
gpg: import from `GPG-KEY' failed: general error
GPG-KEY import failed.
Either there was a problem downloading the key,
or you do not have sufficient permissions to import the key.
Took a look at the code for the cgi file wget pipes to bash and found
the following function around line 230 (see the first error in the
output above):
function handle_ubuntu()
{
local list=/etc/apt/sources.list.d/dell-software-temp-bootstrap.list
rm -f ${list}
echo "deb http://linux.dell.com/repo ${DISTRIB_CODENAME} dell-software"
> ${list}
get_key apt
aptitude update
aptitude install dell-repository-keys
aptitude install dell-firmware-repository dell-software-repository
rm -f ${list}
aptitude update
}
When I try to run the 3rd line of this function, I get the following:
~ $ sudo echo "deb http://linux.dell.com/repo ${DISTRIB_CODENAME} dell-software"> /etc/apt/sources.list.d/dell-software-temp-bootstrap.list
bash: /etc/apt/sources.list.d/dell-software-temp-bootstrap.list: Permission denied
I then took a look for the "deb" command since I've never heard of it:
~ $ deb
bash: deb: command not found
Tried to look for it on Google, but with all the hits for .deb out
there, it was useless. I'm wondering if any anyone has seen this problem
before and knows where I need to go from here.
--
Brett D. Ussher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/firmware-tools-devel/attachments/20080717/02d8e84c/attachment.htm
More information about the firmware-tools-devel
mailing list