Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 151580

Summary: emerge don't work [Errno 16]
Product: Portage Development Reporter: Juliano Barbosa <barbosa>
Component: ToolsAssignee: Portage team <dev-portage>
Severity: normal    
Priority: High    
Version: 2.1   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---

Description Juliano Barbosa 2006-10-16 05:39:31 UTC
emerge -vp xdm

Performing Global Updates: /usr/portage/profiles/updates/3Q-2006
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
ppTraceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
  File "/usr/bin/emerge", line 3770, in emerge_main
    portage.global_updates(settings, trees, mtimedb["updates"])
  File "/usr/lib/portage/pym/", line 6656, in global_updates
  File "/usr/lib/portage/pym/", line 198, in update_config_files
    write_atomic(updating_file, "".join(file_contents[x]))
  File "/usr/lib/portage/pym/", line 728, in write_atomic
  File "/usr/lib/portage/pym/", line 696, in close
    os.rename(, self._real_name)
OSError: [Errno 16] Device or resource busy
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-10-16 07:44:44 UTC
Sure this is a dupe of something, just don't remember what. As solution try to update portage.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-16 09:14:31 UTC

*** This bug has been marked as a duplicate of 147010 ***