quoth the Vittorio:
<snip>
> I modified the ebuild file as suggested in the bug report but when I
>
> bash-2.05b# emerge -uDn world
> Calculating world dependencies ...done!
>
> >>> emerge (1 of 14) media-libs/libsdl-1.2.8-r1 to /
> >>> md5 files   ;-) libsdl-1.2.6-r3.ebuild
>
> !!! Digest verification Failed:
> !!!    /usr/portage/media-libs/libsdl/libsdl-1.2.8-r1.ebuild
> !!! Reason: Failed on MD5 verification
>
> >>> Please ensure you have sync'd properly. Please try 'emerge sync' and
> >>> optionally examine the file(s) for corruption. A sync will fix most
> >>> cases.
>
> What should I do to skip this check of consistency?
>
> Vittorio

Have you done an 'emerge sync' recently to see if it is fixed?
If so, this is most likely not the 'correct' way to do this, but you can edit 
the Manifest file...

cd to  /usr/portage/media-libs/libsdl/
run:

# md5sum libsdl-1.2.8-r1.ebuild
dc422953436a92690bd6f7b0f0c2d4d5  libsdl-1.2.8-r1.ebuild # this is just sample
# ls -l  libsdl-1.2.8-r1.ebuild
-rw-r--r--  1 root root 4550 Apr 24 18:35 libsdl-1.2.8-r1.ebuild

Now you have the md5sum and size of your edited ebuild script...
Now edit 'Manifest'. Find the line with libsdl-1.2.8-r1.ebuild, and change the 
md5sum and size (the number at the end of the line) to your new values.

Caveat: like I said, this is probably not the best way to do this, you will 
probably want to wait for advice from someone more knowlegable than me ;)

However, this is what I do when I want to change the source code in a distfile 
but install using emerge...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

Attachment: pgpjBCyT4XobF.pgp
Description: PGP signature

Reply via email to