Interesting errors in Dell packages

Orion Poplawski orion at cora.nwra.com
Fri Aug 24 12:15:46 CDT 2007


Stephen John Smoogen wrote:
> One re-occuring error I have been seeing with the LiveCD creation is
> the following:
> 
> 
>> ^M  Installing: dell-unsupported-repository  ##################### [188/943]/var/tmp/rpm-tmp.71412: line 17: cut: command not found
>> /var/tmp/rpm-tmp.71412: line 17: head: command not found
> 237,481c242,486
> 
> It happens with the following packages:
> 
> dell-hw-indep-repository
> dell-firmware-repository
> fwupdate-repository
> dell-unsupported-repository
> 
> The problem comes from the following:
> 
> FULL_URL=$(grep ^mirrorlist= /etc/yum.repos.d/fwupdate-repository.repo
> | cut -d= -f2- | head -n1)
> 
> And is caused because the packages do not have a Requires: coreutils
> in it which puts them as being installed before cut and head show up
> :).
> 

Actually, what is needed is:

Requires(post): grep perl coreutils
Requires(postun): perl

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the firmware-tools-devel mailing list