Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge Crashes
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
salimfadhley
n00b
n00b


Joined: 23 Mar 2003
Posts: 44
Location: London, England

PostPosted: Thu Sep 18, 2003 10:33 am    Post subject: Emerge Crashes Reply with quote

I get a traceback whenever I try to run emerge sync or emerge. I think this was caused be me deleting all the tbz2 binary packages in the /usr/bin/packages folder.

I know what I did to cause the error, now is there somebody who really knows portage who can explain WHY this happens!

:-)

Code:

Performing Global Updates: /usr/portage/profiles/updates/3Q-2003
(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
.Traceback (most recent call last):
  File "/usr/bin/emerge", line 13, in ?
    import portage
  File "/usr/lib/python2.2/site-packages/portage.py", line 5133, in ?
    do_upgrade(mykey)
  File "/usr/lib/python2.2/site-packages/portage.py", line 5070, in do_upgrade
    db["/"]["bintree"].move_ent(mysplit)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3864, in move_ent
    self.populate()
  File "/usr/lib/python2.2/site-packages/portage.py", line 3950, in populate
    mytbz2=xpak.tbz2(self.pkgdir+"/All/"+mypkg)
  File "/usr/lib/python2.2/site-packages/xpak.py", line 221, in __init__
    self.scan()
  File "/usr/lib/python2.2/site-packages/xpak.py", line 272, in scan
    a.seek(-16,2)
IOError: [Errno 22] Invalid argument
sal@imelda sal $
[/code]
_________________
Sal
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