Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I recover my system?
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
abuelo
n00b
n00b


Joined: 05 Sep 2006
Posts: 8

PostPosted: Thu Sep 14, 2006 5:28 pm    Post subject: How can I recover my system? Reply with quote

I finally did a manual install and got a semi-working system. I have to mount some of my partitions manually, and the network interface. But now I have done something that has messed up emerge. When I try any emerge command, I get the following:

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

Can I get back to finish the installation of all the packages needed to complete the install? :?
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Sep 14, 2006 6:43 pm    Post subject: Reply with quote

Try to resync (emerge --sync), if that fails see https://bugs.gentoo.org/show_bug.cgi?id=147010
The tail of those posts indicates that the patch at https://bugs.gentoo.org/attachment.cgi?id=96616&action=view
seems to work. Download the patch, save it to /tmp/update_config.patch, and then try
Code:
# cd /usr/lib/portage
# patch -p0 < /tmp/update_config.patch
Then try emerge --sync again.
Back to top
View user's profile Send private message
abuelo
n00b
n00b


Joined: 05 Sep 2006
Posts: 8

PostPosted: Thu Sep 14, 2006 7:59 pm    Post subject: Reply with quote

:) This seemed to fix the problem, I am able to do a emerge --sync now. Thanks
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Sep 14, 2006 8:09 pm    Post subject: Reply with quote

abuelo wrote:
:) This seemed to fix the problem, I am able to do a emerge --sync now. Thanks
Glad to hear it worked - you should amend the original subject line with [SOLVED] ... :D
Back to top
View user's profile Send private message
bMd
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2004
Posts: 110

PostPosted: Thu Sep 14, 2006 11:22 pm    Post subject: Reply with quote

rsa4046 wrote:
Download the patch, save it to /tmp/update_config.patch, and then try
Code:
# cd /usr/lib/portage
# patch -p0 < /tmp/update_config.patch
Then try emerge --sync again.
Thanks, had just received the same error as posted above, all working now
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Sep 15, 2006 2:29 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
Not about getting gentoo installed, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


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

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

Moved from Other Things Gentoo 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