Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] failed to fetch apr from mirrors
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
midway
Apprentice
Apprentice


Joined: 01 Jun 2012
Posts: 181
Location: somewhr in the blighty

PostPosted: Tue Aug 14, 2012 11:04 am    Post subject: [solved] failed to fetch apr from mirrors Reply with quote

revdep-rebuild -i showed 3 broken links and tried emerging dev-libs/apr-1.4.5 but it couldn't fetch it after trying several mirrors. Why?
I have done --sync and my portage tree is 2.1.11.9 . If it is not available any-more then why it shows in the tree?

Code:

--2012-08-14 11:57:28--  http://w10.w82.w94.w115.guidetest.e.id.opendns.com/?url=apache%2Estrygunov%2Ecom%2Fapr%2Fapr%2D1%2E4%2E5%2Etar%2Ebz2
Resolving w10.w82.w94.w115.guidetest.e.id.opendns.com... 67.215.67.10
Connecting to w10.w82.w94.w115.guidetest.e.id.opendns.com|67.215.67.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.website-unavailable.com/?wc=EAxnGgx4AXRADBduAAsdFBYBThwE&url=apache%2Estrygunov%2Ecom%2Fapr%2Fapr%2D1%2E4%2E5%2Etar%2Ebz2 [following]
--2012-08-14 11:57:28--  http://www.website-unavailable.com/?wc=EAxnGgx4AXRADBduAAsdFBYBThwE&url=apache%2Estrygunov%2Ecom%2Fapr%2Fapr%2D1%2E4%2E5%2Etar%2Ebz2
Resolving www.website-unavailable.com... 208.69.34.136
Connecting to www.website-unavailable.com|208.69.34.136|:80... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from www.website-unavailable.com attempted to set domain to www.website-unavailable.com
Length: 3949 (3.9K) [text/html]
Saving to: `/usr/portage/distfiles/apr-1.4.5.tar.bz2'

100%[======================================>] 3,949       --.-K/s   in 0s

2012-08-14 11:57:28 (7.72 MB/s) - `/usr/portage/distfiles/apr-1.4.5.tar.bz2' saved [3949/3949]

!!! Fetched file: apr-1.4.5.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      3949
!!! Expected: 754763
Refetching... File renamed to '/usr/portage/distfiles/apr-1.4.5.tar.bz2._checksum_failure_.srUbfD'

>>> Downloading 'http://sk.freebsd.org/pub/apache/dist/apr/apr-1.4.5.tar.bz2'
--2012-08-14 11:57:28--  http://sk.freebsd.org/pub/apache/dist/apr/apr-1.4.5.tar.bz2
Resolving sk.freebsd.org... 81.89.56.57
Connecting to sk.freebsd.org|81.89.56.57|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-08-14 11:57:29 ERROR 404: Not Found.
--2012-08-14 11:57:30--  http://www.website-unavailable.com/?wc=EAxnGgx4AXRADBduAAsdFBYBThwE&url=mirror%2Ecloudera%2Ecom%2Fapache%2Fapr%2Fapr%2D1%2E4%2E5%2Etar%2Ebz2
Resolving www.website-unavailable.com... 208.69.34.136
Connecting to www.website-unavailable.com|208.69.34.136|:80... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from www.website-unavailable.com attempted to set domain to www.website-unavailable.com
Length: 3972 (3.9K) [text/html]
Saving to: `/usr/portage/distfiles/apr-1.4.5.tar.bz2'

100%[======================================>] 3,972       --.-K/s   in 0.1s

2012-08-14 11:57:30 (36.9 KB/s) - `/usr/portage/distfiles/apr-1.4.5.tar.bz2' saved [3972/3972]

!!! Fetched file: apr-1.4.5.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      3972
!!! Expected: 754763
Refetching... File renamed to '/usr/portage/distfiles/apr-1.4.5.tar.bz2._checksum_failure_.Q0DhJr'

!!! Couldn't download 'apr-1.4.5.tar.bz2'. Aborting.
 * Fetch failed for 'dev-libs/apr-1.4.5', Log file:
 *  '/var/tmp/portage/dev-libs/apr-1.4.5/temp/build.log'

>>> Failed to emerge dev-libs/apr-1.4.5, Log file:

>>>  '/var/tmp/portage/dev-libs/apr-1.4.5/temp/build.log'
 * Messages for package dev-libs/apr-1.4.5:
 * Fetch failed for 'dev-libs/apr-1.4.5', Log file:


Last edited by midway on Wed Aug 15, 2012 11:54 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Aug 14, 2012 6:26 pm    Post subject: Reply with quote

You appear to have a broken DNS server.
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Wed Aug 15, 2012 1:36 am    Post subject: Reply with quote

Ant P. wrote:
You appear to have a broken DNS server.

It downloads the file ok but it fails because the ebuild expects a different filesize.

I had simmilar failures for example with app-editors/gummi-0.6.4 and sys-devel/automake-1.12.3.

It is not a DNS problem.

I waited a few hours and after resyncing the problem went away.
Back to top
View user's profile Send private message
midway
Apprentice
Apprentice


Joined: 01 Jun 2012
Posts: 181
Location: somewhr in the blighty

PostPosted: Wed Aug 15, 2012 11:46 am    Post subject: Reply with quote

worked like a charm. waited 12 hours and then resync'ed. problem went away. so weird.
thx proteux.
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