Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge remote binary packages error
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
mrpete
Apprentice
Apprentice


Joined: 01 Sep 2003
Posts: 184

PostPosted: Wed Apr 04, 2007 7:43 pm    Post subject: emerge remote binary packages error Reply with quote

I'm trying to emerge a binary package from a remote portage server that I've set-up but I keep getting the following errors below:-

Code:
alfie ~ # emerge -pv portage

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

Calculating dependencies... done!
[ebuild   R   ] sys-apps/portage-2.1.2.3  USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 346 kB

Total: 1 package (1 reinstall), Size of downloads: 346 kB
alfie ~ # emerge -pv koffice

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

Calculating dependencies... done!
[ebuild  N    ] app-office/koffice-1.6.2-r1  USE="mysql xinerama -arts -debug -doc -postgres" 55,713 kB

Total: 1 package (1 new), Size of downloads: 55,713 kB
alfie ~ # emerge -g koffice
Calculating dependencies /Fetching binary packages info...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 5509, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 5504, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 4830, in action_build
    mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
  File "/usr/bin/emerge", line 991, in __init__
    "--getbinpkgonly" in self.myopts)
  File "/usr/lib/portage/pym/portage.py", line 6581, in populate
    self.remotepkgs = getbinpkg.dir_get_metadata(
  File "/usr/lib/portage/pym/getbinpkg.py", line 432, in dir_get_metadata
    metadata = cPickle.load(metadatafile)
ValueError: invalid \x escape
Back to top
View user's profile Send private message
oc666
Guru
Guru


Joined: 15 May 2006
Posts: 330
Location: Israel

PostPosted: Sun Apr 08, 2007 11:03 am    Post subject: Reply with quote

I think it's happened when the emerge syncing cron job runs in the background & you try to emerge some package at the same time. Try to run
Code:
emerge --sync
and then emerge this package again.
_________________
embAD-new way to insert ads to your website
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Sun Apr 08, 2007 11:34 am    Post subject: Reply with quote

File a bug. Portage should never bail out this way.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
mrpete
Apprentice
Apprentice


Joined: 01 Sep 2003
Posts: 184

PostPosted: Sun Apr 08, 2007 12:13 pm    Post subject: Reply with quote

Done - filed as bug 173758
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