LFS-5.1.1 profile problems

Jeremy Utley jeremy at jutley.org
Tue Aug 31 23:05:40 PDT 2004


Dorin Lazar wrote:

>On Tuesday 31 August 2004 16:30, Kevin P. Fleming wrote:
>  
>
>>If you don't tell us what these "failures" are, it's very hard for us to
>>help you. We are not telepathic :-)
>>    
>>
>  As I said in the first mail, the failures are that the md5 sum of packages 
>is not matched, although running md5sum on packages and confronting with the 
>values written in the config/packages.ent gives a match between the two 
>values.
>  
>
>>The most common reason for this problem is that the package files have
>>inadequate permissions; if you are using the "packages tarball" this is
>>very likely your problem, and is documented in the profile README file,
>>as well as in the mailing list archives.
>>    
>>
>  There is no problem with the permissions - first of all I am running as 
>root, and I am not using the tarball, but the packages are separate in a 
>directory.
>  Is there a way to enable 'verbosity' either in logs or on console?
>=======
>nALFS run exerpt
>E: Unable to open the archive when checking 
>digest: /tools/packages-5.1.1/binutils-2.14.tar.bz2
>E: Wrong md5 digest of archive: /tools/packages-5.1.1/binutils-2.14.tar.bz2
>I: Log file stored in:
>I: /root/.nALFS/packages/binutils-pass1-2.14.xml
>
>=======
>
>bash-2.05a# ls -l /tools/packages-5.1.1/binutils-2.14.tar.bz2
>-rw-------    1 root     root     10921504 Sep  1 
>06:42 /tools/packages-5.1.1/binutils-2.14.tar.bz2
>
>=======
>Content of /root/.nALFS/packages/binutils-pass1-2.14.xml
><single_try>
>  <name>binutils-pass1</name>
>  <version>2.14</version>
>  <package mode="start">Wed, 01 Sep 2004 06:42:53 +0200</package>
>  <stage mode="start">Wed, 01 Sep 2004 06:42:53 +0200</stage>
>  <handler_action>Wrong md5 digest of 
>archive: /tools/packages-5.1.1/binutils-2.14.tar.bz2</handler_action>
>  <stage mode="end" status="failed">Wed, 01 Sep 2004 06:42:53 +0200</stage>
>  <package mode="end" status="failed">Wed, 01 Sep 2004 06:42:53 
>+0200</package>
></single_try>
>
>=======
>
>bash-2.05a# md5sum /tools/packages-5.1.1/binutils-2.14.tar.bz2
>2da8def15d28af3ec6af0982709ae90a  /tools/packages-5.1.1/binutils-2.14.tar.bz2
>
>=======
>
>bash-2.05a# grep binutils config/package.ent
><!ENTITY binutils-md5 "2da8def15d28af3ec6af0982709ae90a">
><!ENTITY binutils-version "2.14">
><!ENTITY binutils-package "binutils-&binutils-version;.tar.bz2">
><!ENTITY binutils-directory "binutils-&binutils-version;">
>
>=======
>
>  Best regards,
>    Dorin
>  
>
Right there is your problem - as Kevin mentioned, the packages being set 
mode 600 causes this - I think nalfs is trying to do the md5 checking as 
the lfs user account, which with the packages set 600, would not have 
read permissions, so it couldn't do a proper md5 checking.

Try doing chmod 644 /tools/packages-5.1.1/* and running again.

-J-




More information about the alfs-discuss mailing list