Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21034 - Portage problem after emerging portage-2.0.48_pre6
Summary: Portage problem after emerging portage-2.0.48_pre6
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High critical
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-14 21:51 UTC by Mark
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2003-05-14 21:51:47 UTC
emerge rsync ended like this:

rsync[5564] (receiver) heap statistics:
  arena:        6197248   (bytes from sbrk)
  ordblks:          669   (chunks not in use)
  smblks:             2
  hblks:              1   (chunks from mmap)
  hblkhd:        258048   (bytes from mmap)
  usmblks:            0
  fsmblks:           40
  uordblks:     5539296   (bytes used)
  fordblks:      657952   (bytes free)
  keepcost:        3664   (bytes in releasable chunk)

Number of files: 43323
Number of files transferred: 256
Total file size: 35700488 bytes
Total transferred file size: 373169 bytes
Literal data: 212416 bytes
Matched data: 160753 bytes
File list size: 967231
Total bytes written: 6691
Total bytes read: 1083993

wrote 6691 bytes  read 1083993 bytes  8109.17 bytes/sec
total size is 35700488  speedup is 32.73

>>> Updating Portage cache...  ...done!

Performing Global Updates: /usr/portage/profiles/updates/2Q-2003
(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db update'
...*Traceback (most recent call last):
  File "/usr/bin/emerge", line 1685, in ?
    reload(portage)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4808, in ?
    do_upgrade(mykey)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4782, in
do_upgrade
    db["/"]["bintree"].update_ents(myupd)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3755, in
update_ents
    mytbz2.recompose(mytmpdir,cleanup=1)
  File "/usr/lib/python2.2/site-packages/xpak.py", line 235, in
recompose
    myfile.truncate()
IOError: [Errno 13] Permission denied


and now emerge -p world gives this:


Performing Global Updates: /usr/portage/profiles/updates/2Q-2003
(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db update'
...*Traceback (most recent call last):
  File "/usr/bin/emerge", line 9, in ?
    import
sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback,atexit
  File "/usr/lib/python2.2/site-packages/portage.py", line 4808, in ?
    do_upgrade(mykey)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4782, in
do_upgrade
    db["/"]["bintree"].update_ents(myupd)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3755, in
update_ents
    mytbz2.recompose(mytmpdir,cleanup=1)
  File "/usr/lib/python2.2/site-packages/xpak.py", line 235, in
recompose
    myfile.truncate()
IOError: [Errno 13] Permission denied
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-06-03 07:29:04 UTC
do you run with USERPRIV (not as root) ?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-07 11:10:14 UTC
still problems with 2.0.48-r3 ?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-08-28 16:05:56 UTC
seems to be fixed