Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge "dead lock": portage blocks its own update [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Apr 11, 2008 7:59 pm    Post subject: emerge "dead lock": portage blocks its own update Reply with quote

it is happening on a machine of a friend of mine

Quote:

valentine ~ # emerge -p portage

These are the packages that would be merged, in order:

[blocks B ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)
[ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17]
[ebuild U ] sys-devel/automake-1.10.1 [1.10]
[ebuild U ] sys-devel/gettext-0.17 [0.14.4] USE="openmp%* (-acl) -nocxx%"
[ebuild N ] app-arch/lzma-utils-4.32.5
[ebuild U ] sys-apps/coreutils-6.10-r1 [5.94-r1] USE="-xattr%"
[ebuild NS ] dev-lang/python-2.5.1-r5 USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples -nothreads -sqlite -tk -ucs2"
[ebuild N ] app-admin/python-updater-0.4
[ebuild U ] sys-apps/portage-2.1.5_rc2 [2.1.2-r2]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] app-shells/bash-3.2_p33 [3.1_p16] USE="-plugins% -vanilla%"




when sys-apps/portage-2.1.4_rc1 is blocking app-shells/bash-3.2_p33 it is deadlock: 'cause i can't unmerge bash, i can't unmerge portage, so how to fix the blocking ?

so should i erase and reinstall a fresh stage3 + portage ?


interesting situation =P


Last edited by ddc on Sat Apr 12, 2008 10:58 am; edited 2 times in total
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Fri Apr 11, 2008 8:42 pm    Post subject: Reply with quote

Code:
emerge --oneshot portage

or
Code:
emerge portage
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2674
Location: here, there or in transit

PostPosted: Fri Apr 11, 2008 8:46 pm    Post subject: Reply with quote

One of two ways, probably: temporarily mask the bash update, and/or merge packages separately to resolve the cyclic block. It might help us to see the output of emerge -pvt portage and emerge --info.

(BTW, what you describe is not a deadlock, strictly speaking. To get better help, you might want to change the subject to something less sensational and more descriptive (e.g., "portage blocks its own update?")
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Apr 11, 2008 10:17 pm    Post subject: Reply with quote

it is a deadlock in the meaning you can't emerge portage without unmerging bash and you can't emerge portage without unmerging bash (never unmerge the bash, off course: /bin/sh is an hardlink to /bin/bash ... so unmerging bash means no shell to the system)



1) emerge --oneshot portage
2) emerge portage
3) temporarily mask bash

none of these 3 ideas has success: still blocked

I moved /var/db/pkg/sys-apps/portage.blablabla to /home, then invoked emerge portage, and it is emerging portage: i will report if it will have success or failure (i have copied the whole system to temporary path in where i chrooted to play with this problem)


Last edited by ddc on Sat Apr 12, 2008 10:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Sat Apr 12, 2008 7:02 am    Post subject: Reply with quote

Is the following command sucessfull?

Code:
emerge --oneshot -f portage
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sat Apr 12, 2008 10:55 am    Post subject: Reply with quote

Keruskerfuerst wrote:
Is the following command sucessfull?

Code:
emerge --oneshot -f portage


unfortunately no: still blocking

but I am very happy to inform you that the (crude) method (*) i used has successfully fixed the issue =P



(*) remove /var/db/pkg/sys-apps/portage.blablabla
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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