bash error line 230 during wget -q -O portion of setup
Brett Ussher
breusshe at hotmail.com
Thu Jul 17 17:07:46 CDT 2008
That was it. I didn't think that sudo would be the issue, so never
tried that. However, running as the superuser did fix the problem. Thanks!
Brett D. Ussher
Brett Ussher wrote:
> 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.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> firmware-tools-devel mailing list
> firmware-tools-devel at lists.us.dell.com
> http://lists.us.dell.com/mailman/listinfo/firmware-tools-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/firmware-tools-devel/attachments/20080717/8cccaf8b/attachment.htm
More information about the firmware-tools-devel
mailing list