View previous topic :: View next topic |
Author |
Message |
midway Apprentice
Joined: 01 Jun 2012 Posts: 181 Location: somewhr in the blighty
|
Posted: Tue Aug 14, 2012 11:04 am Post subject: [solved] failed to fetch apr from mirrors |
|
|
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 |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Aug 14, 2012 6:26 pm Post subject: |
|
|
You appear to have a broken DNS server. |
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Wed Aug 15, 2012 1:36 am Post subject: |
|
|
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 |
|
|
midway Apprentice
Joined: 01 Jun 2012 Posts: 181 Location: somewhr in the blighty
|
Posted: Wed Aug 15, 2012 11:46 am Post subject: |
|
|
worked like a charm. waited 12 hours and then resync'ed. problem went away. so weird.
thx proteux. |
|
Back to top |
|
|
|