Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird portage Digest Errors???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Mon Oct 06, 2003 7:01 pm    Post subject: Weird portage Digest Errors??? Reply with quote

I get these a lot, can anyone tell me what they mean and how to resolve them? They persist even after I do an emerge update...

Code:
19:55:22 (6.84 KB/s) - `/usr/portage/distfiles/wine-20030911-misc.tar.bz2' saved [4925/4925]

>>> md5 src_uri ;-) Wine-20030911.tar.gz
>>> md5 src_uri ;-) wine-20030911-xopenfont.patch
>>> md5 src_uri ;-) wine-20030911-fake_windows.tar.bz2

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: b629202e9983e301daca512f01ddbbb0
>>>  your file's digest: 6eac13c76d723f5d00457204f0bb1472
!!! File does not exist: /usr/portage/distfiles//wine-20030911-misc.tar.bz2

bash-2.05b#


Also while I'm on the subject of portage (hopefully I can get these last few snags finally cleared up) after updating several packages I always get a message saying something along the lines of:

Code:
Regenerating GNU info directory index...
install-info: menu item `Bash' already exists, for file `bash'
 * Processed 77 info files; 1 errors.


It seems like a small error and it probably is, but it's no less anoying if it happens any time I emerge a significant amount of packages.

Any input anyone can offer on either of these errors would be much appreciated.

Q
Back to top
View user's profile Send private message
henjin
n00b
n00b


Joined: 08 Oct 2003
Posts: 5

PostPosted: Wed Oct 08, 2003 3:46 pm    Post subject: Reply with quote

I got the same error while trying to compile wine because the file on the mirror i used (ftp://ftp.easynet.nl) was corrupt.

i solved the problem by deleting /usr/portage/distfiles/wine-20030911-misc.tar.bz2 an re-downloading it from http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/wine-20030911-misc.tar.bz2
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2526
Location: Denmark

PostPosted: Wed Oct 08, 2003 4:14 pm    Post subject: Reply with quote

same thing happens with 0.9.2 mplayer
_________________
linux: #232767
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2526
Location: Denmark

PostPosted: Wed Oct 08, 2003 11:41 pm    Post subject: Reply with quote

:twisted:
_________________
linux: #232767
Back to top
View user's profile Send private message
mta
n00b
n00b


Joined: 02 Jun 2003
Posts: 28
Location: Australia

PostPosted: Tue Oct 21, 2003 10:17 am    Post subject: Reply with quote

thanks Henjin, that fixed the problem for me too.
Back to top
View user's profile Send private message
BanditJax
n00b
n00b


Joined: 24 Oct 2003
Posts: 5

PostPosted: Fri Oct 24, 2003 6:52 am    Post subject: Portage Errors Portage 2.0.49-r15 Reply with quote

emerge -V gives, (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)

I am having various portage errors. Perhaps I am just a Gentoo newb (I have been using it for almost a year now, but I admit I haven't dug deeply into the intracacies of the portage system).

I am getting digest errors on quite a few ebuilds, also failure to download dependencies. Is this normal, seems to only be happening recently to me with a new laptop I setup.

09:31:02 (5.23 KB/s) - `/usr/portage/distfiles/libnet.tar.gz' saved [210621/210621]

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: ddf53f0f484184390e8c2a1bd0853667
>>> your file's digest: b46e650d9d0e7ad5ef9439c7cd281922
!!! File does not exist: /usr/portage/distfiles//libnet.tar.gz

Hrmm, rm'd the distfiles copy, dl new copy without error, still have a MD5 mismatch.

>>> emerge (1 of 8) media-libs/pdflib-4.0.3-r1 to /
>>> Downloading http://www.pdflib.com/pdflib/download/PHP-4.3.0/pdf.c
--08:47:39-- http://www.pdflib.com/pdflib/download/PHP-4.3.0/pdf.c
=> `/usr/portage/distfiles/pdf.c'
Resolving www.pdflib.com... done.
Connecting to www.pdflib.com[212.227.87.212]:80... connected.
HTTP request sent, awaiting response... 404
08:47:44 ERROR 404: (no description).

!!! Couldn't download pdf.c. Aborting.

>>> emerge (1 of 1) net-ftp/lftp-2.6.5 to /
>>> Downloading http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-2.6.5.tar.bz2
--09:54:28-- http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-2.6.5.tar.bz2
=> `/usr/portage/distfiles/lftp-2.6.5.tar.bz2'
Resolving ftp.yars.free.net... done.
Connecting to ftp.yars.free.net[193.233.48.66]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:54:35 ERROR 404: Not Found.

!!! Couldn't download lftp-2.6.5.tar.bz2. Aborting.

So I guess the question is, is this a normal problem and I just haven't run it to it much before? Can I just manually install the portion of the dependencies for an ebuild (my guess is that portage wants to see the actual ebuild installed and not just the fileset for the dependency) Can I tell portage to just skip the dependency that is failing? (since I know I wont be using that portion of the code anyway...)

What about these ebuilds where no mirrors seem to be finding the file?
Is it just that the ebuilds get stale as far as the location for the download?
Back to top
View user's profile Send private message
BanditJax
n00b
n00b


Joined: 24 Oct 2003
Posts: 5

PostPosted: Fri Oct 24, 2003 7:22 am    Post subject: perhaps this will work Reply with quote

For the pdf.c problem, I know that I wont be using that code so I decided to just put a stub package in by using emerge inject. Perhaps there is a better way to get around an ebuild dependency, but this is the first thing I found from going thru the man pages....
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2526
Location: Denmark

PostPosted: Fri Oct 24, 2003 7:30 am    Post subject: Reply with quote

ive also read somehere, that using
Code:
 emerge -f <package>
and then emerge package helps too.

at least that fixed the problem i had with mplayer.

ps: -f = fetches the package first ( downloads it )
_________________
linux: #232767
Back to top
View user's profile Send private message
BanditJax
n00b
n00b


Joined: 24 Oct 2003
Posts: 5

PostPosted: Fri Oct 24, 2003 9:29 am    Post subject: Reply with quote

emerge -f just forces it to download all the dependencies without actually doing anything.

The problem with libnet appears to be that the MD5's don't match. It downloads it just fine, so probably the tarball has been changed recently. What I am trying to emerge is tcptraceroute, which appears to have a dependency on an older version of libnet. When I emerge the latest libnet, tcptraceroute still attempts to get the older version which has the MD5 digest mismatch.

I am about to abandon the emerge process for tcptraceroute and just install the damned libnet and tcptraceroute source, then compile it manually. I like hping2 also, but sometimes it's nice to have the older tcptraceroute on hand.
Back to top
View user's profile Send private message
DecoR
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2003
Posts: 85
Location: Oslo, Norway

PostPosted: Thu Nov 27, 2003 1:25 am    Post subject: Wierd.. Reply with quote

Really wierd...

I also had the same problem with mplayer.

What worked for me:
Code:

emerge rsync

then,
Code:

emerge -f mplayer

and finaly
Code:

emerge mplayer


:wink:

Henrik.
_________________
Don't you feel rimeligOK!?
www.rimeligok.no
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum