Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge produces: OSError: [Errno 16] Device or resource busy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
grozin
n00b
n00b


Joined: 14 Mar 2005
Posts: 63
Location: Novosibirsk, Russia

PostPosted: Tue Oct 03, 2006 10:11 pm    Post subject: emerge produces: OSError: [Errno 16] Device or resource busy Reply with quote

Today I did
Code:
emerge --sync

and, after lots of normal output, I got this error message. Now, if I try the same command again, I immediately get
Code:
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.*'
...........
pTraceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
    emerge_main()
  File "/usr/bin/emerge", line 3770, in emerge_main
    portage.global_updates(settings, trees, mtimedb["updates"])
  File "/usr/lib/portage/pym/portage.py", line 6656, in global_updates
    myupd)
  File "/usr/lib/portage/pym/portage_update.py", line 198, in update_config_files
    write_atomic(updating_file, "".join(file_contents[x]))
  File "/usr/lib/portage/pym/portage_util.py", line 728, in write_atomic
    f.close()
  File "/usr/lib/portage/pym/portage_util.py", line 696, in close
    os.rename(self.name, self._real_name)
OSError: [Errno 16] Device or resource busy

What can this mean? How can I return to a self-consistent state?
_________________
Andrey Grozin
Back to top
View user's profile Send private message
lucky_rooster
n00b
n00b


Joined: 24 Aug 2004
Posts: 28

PostPosted: Wed Oct 04, 2006 2:32 am    Post subject: Reply with quote

See:
https://forums.gentoo.org/viewtopic-t-500433-highlight-emerge+oserror.html

which will take you to:
https://bugs.gentoo.org/show_bug.cgi?id=147010

and apply the patch as directed. This worked for me.
Back to top
View user's profile Send private message
grozin
n00b
n00b


Joined: 14 Mar 2005
Posts: 63
Location: Novosibirsk, Russia

PostPosted: Wed Oct 04, 2006 1:54 pm    Post subject: [solved] Reply with quote

Many thanks, this patch worked.
_________________
Andrey Grozin
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Sat Oct 28, 2006 9:43 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this topic: portage fails - errno 16 Device or resource busy.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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