Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting STRANGE error when trying to emerge gentoo-sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
xsilentmurmurx
Apprentice
Apprentice


Joined: 23 Oct 2009
Posts: 233

PostPosted: Sat Apr 10, 2010 1:26 am    Post subject: Getting STRANGE error when trying to emerge gentoo-sources Reply with quote

hey everyone I am trying to emerge-gentoo sources on my VirtualBox VM and i have done this many times before with no problems but for some strange reason when I tried to emerge it on this new install, it gives me the following strange errors:

Code:
 livecd / # emerge gentoo-sources

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-kernel/gentoo-sources-2.6.33
openpty failed: 'out of pty devices'
 * linux-2.6.33.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * genpatches-2.6.33-1.base.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...      [ ok ]
>>> Downloading 'http://gentoo.mirrors.hoobly.com/distfiles/genpatches-2.6.33-1.extras.tar.bz2'
--2010-04-09 16:23:20--  http://gentoo.mirrors.hoobly.com/distfiles/genpatches-2.6.33-1.extras.tar.bz2
Resolving gentoo.mirrors.hoobly.com... 204.187.91.20
Connecting to gentoo.mirrors.hoobly.com|204.187.91.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24915 (24K) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2'

     0K .......... .......... ....                            100%  162K=0.1s

2010-04-09 16:23:25 (162 KB/s) - `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2' saved [24915/24915]

!!! Fetched file: genpatches-2.6.33-1.extras.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      24915
!!! Expected: 24905
('Filesize does not match recorded size', 24915L, 24905)
Refetching... File renamed to '/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2._checksum_failure_.QSB_ko'

>>> Downloading 'http://gentoo.mirrors.tds.net/gentoo/distfiles/genpatches-2.6.33-1.extras.tar.bz2'
--2010-04-09 16:23:25--  http://gentoo.mirrors.tds.net/gentoo/distfiles/genpatches-2.6.33-1.extras.tar.bz2
Resolving gentoo.mirrors.tds.net... 216.165.129.134
Connecting to gentoo.mirrors.tds.net|216.165.129.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-04-09 16:23:31 ERROR 404: Not Found.

>>> Downloading 'http://mirror.lug.udel.edu/pub/gentoo/distfiles/genpatches-2.6.33-1.extras.tar.bz2'
--2010-04-09 16:23:31--  http://mirror.lug.udel.edu/pub/gentoo/distfiles/genpatches-2.6.33-1.extras.tar.bz2
Resolving mirror.lug.udel.edu... 128.175.60.118
Connecting to mirror.lug.udel.edu|128.175.60.118|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24915 (24K) [application/x-tar]
Saving to: `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2'

     0K .......... .......... ....                            100%  811K=0.03s

2010-04-09 16:23:36 (811 KB/s) - `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2' saved [24915/24915]

!!! Fetched file: genpatches-2.6.33-1.extras.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      24915
!!! Expected: 24905
('Filesize does not match recorded size', 24915L, 24905)
Refetching... File renamed to '/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2._checksum_failure_.QSB_ko'

>>> Downloading 'ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/genpatches-2.6.33-1.extras.tar.bz2'
--2010-04-09 16:23:36--  ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/genpatches-2.6.33-1.extras.tar.bz2
           => `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2'
Resolving ftp.free.fr... 212.27.60.27, 2a01:e0c:1:1598::1
Connecting to ftp.free.fr|212.27.60.27|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /mirrors/ftp.gentoo.org/distfiles ... done.
==> SIZE genpatches-2.6.33-1.extras.tar.bz2 ... 24915
==> PASV ... done.    ==> RETR genpatches-2.6.33-1.extras.tar.bz2 ... done.
Length: 24915 (24K) (unauthoritative)

     0K .......... .......... ....                            100% 81.1K=0.3s

2010-04-09 16:23:42 (81.1 KB/s) - `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2' saved [24915]

!!! Fetched file: genpatches-2.6.33-1.extras.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      24915
!!! Expected: 24905
('Filesize does not match recorded size', 24915L, 24905)
Refetching... File renamed to '/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2._checksum_failure_.QSB_ko'

>>> Downloading 'http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/genpatches-2.6.33-1.extras.tar.bz2'
--2010-04-09 16:23:43--  http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/genpatches-2.6.33-1.extras.tar.bz2
Resolving ftp.snt.utwente.nl... 130.89.149.20, 2001:610:1908:a000::149:20
Connecting to ftp.snt.utwente.nl|130.89.149.20|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-04-09 16:23:48 ERROR 404: Not Found.

>>> Downloading 'http://gentoo.osuosl.org/distfiles/genpatches-2.6.33-1.extras.tar.bz2'
--2010-04-09 16:23:48--  http://gentoo.osuosl.org/distfiles/genpatches-2.6.33-1.extras.tar.bz2
Resolving gentoo.osuosl.org... 64.50.236.52
Connecting to gentoo.osuosl.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24915 (24K) [application/x-tar]
Saving to: `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2'

     0K .......... .......... ....                            100%  304K=0.08s

2010-04-09 16:23:53 (304 KB/s) - `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2' saved [24915/24915]

!!! Fetched file: genpatches-2.6.33-1.extras.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      24915
!!! Expected: 24905
('Filesize does not match recorded size', 24915L, 24905)
Refetching... File renamed to '/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2._checksum_failure_.QSB_ko'

>>> Downloading 'http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/genpatches-2.6.33-1.extras.tar.bz2'
--2010-04-09 16:23:53--  http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/genpatches-2.6.33-1.extras.tar.bz2
Resolving ftp.belnet.be... 193.190.67.15, 2001:6a8:a40::21
Connecting to ftp.belnet.be|193.190.67.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24915 (24K) [application/x-tar]
Saving to: `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2'

     0K .......... .......... ....                            100% 45.9K=0.5s

2010-04-09 16:23:59 (45.9 KB/s) - `/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2' saved [24915/24915]

!!! Fetched file: genpatches-2.6.33-1.extras.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      24915
!!! Expected: 24905
('Filesize does not match recorded size', 24915L, 24905)
Refetching... File renamed to '/usr/portage/distfiles/genpatches-2.6.33-1.extras.tar.bz2._checksum_failure_.QSB_ko'

!!! Couldn't download 'genpatches-2.6.33-1.extras.tar.bz2'. Aborting.
 * Fetch failed for 'sys-kernel/gentoo-sources-2.6.33', Log file:
 *  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.33/temp/build.log'

>>> Failed to emerge sys-kernel/gentoo-sources-2.6.33, Log file:

>>>  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.33/temp/build.log'

 * Messages for package sys-kernel/gentoo-sources-2.6.33:

 * Fetch failed for 'sys-kernel/gentoo-sources-2.6.33', Log file:
 *  '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.33/temp/build.log'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

(chroot) livecd / # emerge -av gentoo-sources

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-kernel/gentoo-sources-2.6.33  USE="-build -symlink" 25 kB

Total: 1 package (1 new), Size of downloads: 25 kB

Would you like to merge these packages? [Yes/No] no

Quitting.


 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


I dont know if it could be the mirrors i was originally using, might have not had the proper files? I doubt it... anyone have any idea how I should go about fixing this issue up?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Apr 10, 2010 1:28 am    Post subject: Reply with quote

Hi, try this :

Code:

# emerge --sync
# rm /usr/portage/distfiles/*
# emerge -fuDNv world
Back to top
View user's profile Send private message
xsilentmurmurx
Apprentice
Apprentice


Joined: 23 Oct 2009
Posts: 233

PostPosted: Sat Apr 10, 2010 1:35 am    Post subject: Reply with quote

d2_racing wrote:
Hi, try this :

Code:

# emerge --sync
# rm /usr/portage/distfiles/*
# emerge -fuDNv world


whoa is this trying to install the whole system again? i dont need all of these things yet. i havent even built the kernel!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21706

PostPosted: Sat Apr 10, 2010 2:43 am    Post subject: Reply with quote

xsilentmurmurx wrote:
d2_racing wrote:
Code:
# emerge --sync
# rm /usr/portage/distfiles/*
# emerge -fuDNv world
whoa is this trying to install the whole system again? i dont need all of these things yet. i havent even built the kernel!
No, the posted commands would erase all downloaded distfiles and then redownload everything. This is probably not very appealing if you are on a slow or metered connection.
Back to top
View user's profile Send private message
xsilentmurmurx
Apprentice
Apprentice


Joined: 23 Oct 2009
Posts: 233

PostPosted: Sat Apr 10, 2010 2:44 am    Post subject: Reply with quote

Hu wrote:
xsilentmurmurx wrote:
d2_racing wrote:
Code:
# emerge --sync
# rm /usr/portage/distfiles/*
# emerge -fuDNv world
whoa is this trying to install the whole system again? i dont need all of these things yet. i havent even built the kernel!
No, the posted commands would erase all downloaded distfiles and then redownload everything. This is probably not very appealing if you are on a slow or metered connection.


ya i dont need that

i tried reinstalling the first few parts of the base system and then i used set of mirrors to download the kernel and I am still getting errors :(
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Apr 10, 2010 4:40 am    Post subject: Reply with quote

Quote:
livecd / # emerge gentoo-sources

this looks like you were still on the livecd system and not in the chroot when trying to emerge gentoo-sources
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sat Apr 10, 2010 11:16 am    Post subject: Reply with quote

Code:
!!! Got:      24915
!!! Expected: 24905


It's a discrepancy between the metadata and the distfile.
All that's required to fix it is running:
Code:
emerge --sync


Those errors pop up from time to time, maybe 3-5 times a year or so if you sync every single day.
It's when the portage maintainers forget to update the metadata for a certain package.
No big deal really, it's harmless and usually fixed within minutes. :)
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Sat Apr 10, 2010 3:31 pm    Post subject: getting strange error when trying to emerge gentoo-sources Reply with quote

Hi,

I am getting the same strange error.

Running:
Code:

emerge --sync


Doesn't fix it.

Regards,

donjames
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Apr 10, 2010 3:35 pm    Post subject: Reply with quote

@Mike, maybe he should try to use the latest portage snapshot...
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Sat Apr 10, 2010 4:37 pm    Post subject: getting strange error when trying to emerge gentoo-sources Reply with quote

HI,

The problem seems to have solved itself.

I kept on doing:

Code:

emerge gentoo-sources


and it just started working.

Never have seen this problem in 5 years of running gentoo.

Sincerely,

Don James
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Apr 11, 2010 3:30 am    Post subject: Reply with quote

There is something wrong for sure, because one of my friends has this tonight :

Code:

('Filesize does not match recorded size', 97003L, 952)
!!! Fetched file: genpatches-2.6.33-1.base.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 97003
!!! Expected: 952
Refetching... File renamed to '/usr/portage/distfiles/genpatches-2.6.33-1.base.tar.bz2._checksum_failure_.KqL7YT'

!!! Couldn't download 'genpatches-2.6.33-1.base.tar.bz2'. Aborting.
* Fetch failed for 'sys-kernel/gentoo-sources-2.6.33', Log file:
* '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.33/temp/build.log'

>>> Failed to emerge sys-kernel/gentoo-sources-2.6.33, Log file:

>>> '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.33/temp/build.log'

* Messages for package sys-kernel/gentoo-sources-2.6.33:

* Fetch failed for 'sys-kernel/gentoo-sources-2.6.33', Log file:
* '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.33/temp/build.log'


She synced her box tonight and no luck.
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Sun Apr 11, 2010 5:42 pm    Post subject: getting strange error when trying to emerge gentoo-sources Reply with quote

Hi,

I am getting the emerge gentoo-sources error message again this morning.

Just thought someone would like to know.

Regards,

Don James
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Apr 11, 2010 5:46 pm    Post subject: Reply with quote

I talked with a couple of Gentoo Devs and there is something wrong on the manifest.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Apr 11, 2010 5:50 pm    Post subject: Reply with quote

Can you retry today :

Code:

# emerge --sync
# emerge -av gentoo-sources
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Sun Apr 11, 2010 7:08 pm    Post subject: Reply with quote

I am trying that now.

I will let you know what happens.

Sincerely,

Don James
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Sun Apr 11, 2010 7:13 pm    Post subject: Reply with quote

I just tried

emerge -av gentoo-sources

and it failed again.

Sincerely,

Don James
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Apr 12, 2010 12:10 am    Post subject: Reply with quote

I have the problem too...
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Apr 12, 2010 12:18 am    Post subject: Reply with quote

Just tried and I do not. Crazy time? Insects in the mirrors?

Quote:
* Messages for package sys-kernel/gentoo-sources-2.6.33-r1:

* If you are upgrading from a previous kernel, you may be interested
* in the following document:
* - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.
Back to top
View user's profile Send private message
donjames
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 251
Location: 32°9'50" N 94°50'54" W

PostPosted: Mon Apr 12, 2010 1:33 am    Post subject: Reply with quote

I just tried

emerge -av gentoo-sources

and it failed again.

This problem needs to be fixed right now.

In almost 5 years of Gentoo, I have never seen this before

Sincerely,

Don James
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Wed Apr 21, 2010 11:50 pm    Post subject: Reply with quote

How often do stealth bumps happen?

I've seen things like this happen before of all the years of Gentoo. I think most of the time someone makes a stealth fix to one of the distfiles but forgets to update portage, someone updates the portage metadata with a local copy of source files which doesn't match the rest of the data that's out there in the world, or someone stealth bumps external packages making portage's cached metadata out of data... all leading to errors like this... Should file a bug report on bugs.gentoo.org if something like this happens.

It's good that these things are caught but I'm worried that I'm going to just blow off all these issues as simple mistakes or desync, as it is a method of intrusion...

(The other scary thing is that I've had in the past are hash check failures when filesizes match...) I normally attribute that to bad hardware but sometimes repeated downloads result in the same corrupt file until I resynched portage - portage metadata was out of date...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Thu Apr 22, 2010 6:49 am    Post subject: Reply with quote

eccerr0r wrote:
How often do stealth bumps happen?
If by that you mean modifications to ebuilds in the tree without introducing a new version number, quite often. This case appears to be exceptional in that the tarballs were apparently different before and after the change to the ebuild.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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