Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Haw haw
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 17, 2002 2:27 pm    Post subject: Haw haw Reply with quote

Code:
    The file is already fully retrieved; nothing to do.

!!! Couldn't download cups-1.1.15-1-source.tar.bz2.  Aborting.
!!! emerge aborting on  /usr/portage/net-print/cups/cups-1.1.15.ebuild .


"In one sentence, because Portage is much better [than BSD's ports] in so many ways."... hee hee.

Yay for Portage! :D
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Mon Jun 17, 2002 5:36 pm    Post subject: Reply with quote

I['m no expoert but that doesn't seem like portages regular behaviour to me, did you give it some kind of option to download only and not build?"
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 17, 2002 5:49 pm    Post subject: Reply with quote

This was an emerge -u world, which did everything up to cups and (manually) everything after cups. It's just being dumb; here's the full output:

Code:
# emerge -u world
Calculating world dependencies |OK!
 ...done!
>>> emerge net-print/cups-1.1.15 to /
>>> Resuming download...

>>> Downloading http://www.ibiblio.org/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2
--12:45:20--  http://www.ibiblio.org/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2
           => `/usr/portage/distfiles/cups-1.1.15-1-source.tar.bz2'
Resolving cache.visi.com... done.
Connecting to cache.visi.com[209.98.3.203]:3128... connected.
Proxy request sent, awaiting response... 302 Found
Location: http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2 [following]
--12:45:20--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2
           => `/usr/portage/distfiles/cups-1.1.15-1-source.tar.bz2'
Connecting to cache.visi.com[209.98.3.203]:3128... connected.
Proxy request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.


>>> Downloading ftp://ftp.easysw.com/pub/cups/1.1.15/cups-1.1.15-1-source.tar.bz2
--12:45:20--  ftp://ftp.easysw.com/pub/cups/1.1.15/cups-1.1.15-1-source.tar.bz2
           => `/usr/portage/distfiles/cups-1.1.15-1-source.tar.bz2'
Resolving cache.visi.com... done.
Connecting to cache.visi.com[209.98.3.203]:3128... connected.
Proxy request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.

!!! Couldn't download cups-1.1.15-1-source.tar.bz2.  Aborting.
!!! emerge aborting on  /usr/portage/net-print/cups/cups-1.1.15.ebuild .


Well, of course. So, let's re-download:

Code:
# rm /usr/portage/distfiles/cups-1.1.15-1-source.tar.bz2
# emerge -u world
Calculating world dependencies |OK!
 ...done!
>>> emerge net-print/cups-1.1.15 to /

>>> Downloading http://www.ibiblio.org/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2
--12:47:24--  http://www.ibiblio.org/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2
           => `/usr/portage/distfiles/cups-1.1.15-1-source.tar.bz2'
Resolving cache.visi.com... done.
Connecting to cache.visi.com[209.98.3.203]:3128... connected.
Proxy request sent, awaiting response... 302 Found
Location: http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2 [following]
--12:47:25--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2
           => `/usr/portage/distfiles/cups-1.1.15-1-source.tar.bz2'
Connecting to cache.visi.com[209.98.3.203]:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
12:47:25 ERROR 404: Not Found.


>>> Downloading ftp://ftp.easysw.com/pub/cups/1.1.15/cups-1.1.15-1-source.tar.bz2
--12:47:25--  ftp://ftp.easysw.com/pub/cups/1.1.15/cups-1.1.15-1-source.tar.bz2
           => `/usr/portage/distfiles/cups-1.1.15-1-source.tar.bz2'
Resolving cache.visi.com... done.
Connecting to cache.visi.com[209.98.3.203]:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2,662,400 [text/plain]

100%[=================================================================>] 2,662,400     65.57K/s    ETA 00:00

12:48:04 (65.57 KB/s) - `/usr/portage/distfiles/cups-1.1.15-1-source.tar.bz2' saved [2662400/2662400]

!!! Couldn't download cups-1.1.15-1-source.tar.bz2.  Aborting.
!!! emerge aborting on  /usr/portage/net-print/cups/cups-1.1.15.ebuild .


At this point, I'm just amused. Silly Portage! :roll:
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Mon Jun 17, 2002 5:53 pm    Post subject: Reply with quote

Try to check the downloaded file with md5. Maybe it's corrupted in your cache.visi.com...

Edit:
Also try to manually download it with
Code:
wget -c --cache=off http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cups-1.1.15-1-source.tar.bz2

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 17, 2002 6:00 pm    Post subject: Reply with quote

First, cache.visi.com revalidates on each request unless told not to, and to my knowledge does not cache from FTPs. Second, the cups release doesn't exist on ibiblio.org. And third, it's not an MD5 problem, because then it would complain about the MD5 and not say it had a problem downloading. :D

Oh, fourth: I just redownloaded from the FTP directly and it's still a no-go.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 17, 2002 6:02 pm    Post subject: Reply with quote

The problem is /usr/portage/net-print/cups/files/digest-cups-1.1.15; it states a different MD5 and file size than the one on the FTP. Thus, Portage tries to re-download (because the filesize is less than it should be), but there's no more data to be had (because easysw.com decided to change the contents without changing the filename).

Hacking digest file now...
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Mon Jun 17, 2002 6:06 pm    Post subject: Reply with quote

I knew it wasn't Portage's fault... :P
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 17, 2002 6:07 pm    Post subject: Reply with quote

HAW HAW!

<snicker>

Okay, so the source archive on easysw.com is corrupted. Manual download and unpack results in:

Code:

<lots of files>
cups-1.1.15/scheduler/testspeed.c
cups-1.1.15/scheduler/type.c
cups-1.1.15/systemv/
cups-1.1.15/systemv/Dependencies
cups-1.1.15/systemv/Makefile
cups-1.1.15/systemv/accept.c
cups-1.1.15/systemv/cancel.c
cups-1.1.15/systemv/cupsaddsmb.c
cups-1.1.15/systemv/lp.c
cups-1.1.15/systemv/lpadmin.c
cups-1.1.15/systemv/lpinfo.c

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
        Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

cups-1.1.15/systemv/lpmove.c
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now


Edit: Downloading on three different machines on different backbones to verify...

Edit 2: All three downloads report the right md5sum, redownloading on home box...

Edit 3: Redownload reports the right md5, which is weird, because I re-downloaded three times right before asking other boxes to check. But still, Portage is silly :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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