Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage update blocked by bash?!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
deathcon1
Apprentice
Apprentice


Joined: 30 Aug 2007
Posts: 182
Location: Canada

PostPosted: Thu Jan 03, 2008 4:10 pm    Post subject: Portage update blocked by bash?! Reply with quote

So, trying to install Gentoo on my MBP, go to update my portage, and find that "sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)". Since when can bash and portage not be installed on the same system? Same deal with "setarch" being blocked by "linux-utils"? How do I fix this? For now I'm using Portage 2.1.12
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1423
Location: germany

PostPosted: Thu Jan 03, 2008 4:17 pm    Post subject: Reply with quote

Hi,

can you please post the output from portage about the blocked packages?

Cheers
Poly-C
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 901
Location: The Village, Portmeirion

PostPosted: Thu Jan 03, 2008 4:42 pm    Post subject: Reply with quote

Also,
Code:
emerge -1av ~app-shells/bash-3.2_p17

Try installing this version of bash then emerge portage. The latest version of portage in ~ wants at least this version of bash so it might be the stepping stone you need.

Edit: revision friendly


Last edited by skellr on Tue Jan 15, 2008 6:23 am; edited 1 time in total
Back to top
View user's profile Send private message
deathcon1
Apprentice
Apprentice


Joined: 30 Aug 2007
Posts: 182
Location: Canada

PostPosted: Thu Jan 03, 2008 4:57 pm    Post subject: Reply with quote

Rainskellr wrote:
Also,
Code:
emerge -1av =app-shells/bash-3.2_p17-r1

Try installing this version of bash then emerge portage. The latest version of portage in ~ wants at least this version of bash so it might be the stepping stone you need.


That resolved the bash/portage problem, thanks! Now to figoure out this sys-apps/util-linux-2.13-r3 and sys-apps/setarch issue.
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1423
Location: germany

PostPosted: Thu Jan 03, 2008 5:12 pm    Post subject: Reply with quote

util-linux-2.13 already contains setarch, so just unmerge the setarch package and update util-linux then...
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
deathcon1
Apprentice
Apprentice


Joined: 30 Aug 2007
Posts: 182
Location: Canada

PostPosted: Thu Jan 03, 2008 5:20 pm    Post subject: Reply with quote

Oh, ok. Thanks!
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Thu Jan 03, 2008 9:10 pm    Post subject: portage is blocking bash Reply with quote

Hello all!

I have a gentoo installed on a LinkStation here.
I want to update portage and i get the following error:

Code:
 * An update to portage is available. It is _highly_ recommended
 * that you update portage now, before any other packages are updated.
 * Please run 'emerge portage' and then update ALL of your
 * configuration files.
 * To update portage, run 'emerge portage'.
 
GenLink ~ # emerge -av portage
 
These are the packages that would be merged, in order:
 
Calculating dependencies... done!
 
[ebuild     U ] app-shells/bash-3.2_p33 [3.2_p10] USE="-afs -bashlogger nls -plugins% -vanilla" 2,564 kB
[ebuild     U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17] 232 kB
[ebuild     U ] sys-apps/portage-2.1.3.19 [2.1.2.2] USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 387 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE="-bindist -gmp -test" 151 kB
[blocks B     ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)
 
Total: 4 packages (4 upgrades, 1 block), Size of downloads: 3,332 kB
 
!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.
 
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
GenLink ~ # emerge -av bash
 
These are the packages that would be merged, in order:
 
Calculating dependencies... done!
[ebuild     U ] app-shells/bash-3.2_p33 [3.2_p10] USE="-afs -bashlogger nls -plugins% -vanilla" 2,564 kB
[blocks B     ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)
 
Total: 1 package (1 upgrade, 1 block), Size of downloads: 2,564 kB
 
!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.
 
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
GenLink ~ #


So, portage is blocking bash to be updated but bash is required to update portage.
What should i do?

Thanks for any help!

Evil.2000
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Thu Jan 03, 2008 9:15 pm    Post subject: Reply with quote

This is a dup of https://forums.gentoo.org/viewtopic-t-640115.html.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2460
Location: 異世界

PostPosted: Thu Jan 03, 2008 9:15 pm    Post subject: Reply with quote

Run:
Code:
emerge -1 sandbox pycrypto
emerge -1O portage
emerge -1 bash


Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Thu Jan 03, 2008 9:24 pm    Post subject: Reply with quote

schachti wrote:
This is a dup of https://forums.gentoo.org/viewtopic-t-640115.html.


Oh, sorry. I didn't use the search function. I tried to search with google, which didn't help.

Arfrever wrote:
Run:
Code:
emerge -1 sandbox pycrypto
emerge -1O portage
emerge -1 bash


Perduodu linkėjimus
Arfrever

I'll try that!

Evil.2000
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Thu Jan 03, 2008 9:58 pm    Post subject: Reply with quote

Doing
Code:
emerge -1 sandbox pycrypto
emerge -1O portage
emerge -1 =app-shells/bash-3.2_p17-r1
helped.

But i can't install app-shells/bash-3.2_p33 because its still blocked by portage-2.1.4_rc1

Code:
GenLink ~ # emerge -1 bash

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

Calculating dependencies... done!
[ebuild     U ] app-shells/bash-3.2_p33 [3.2_p17-r1] USE="-afs -bashlogger nls -plugins -vanilla" 42 kB
[blocks B     ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)

Total: 1 package (1 upgrade, 1 block), Size of downloads: 42 kB

!!! Error: The above package list contains packages which cannot be installed
!!!        at the same time on the same system.

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

GenLink ~ #


So, what happens if i unmerge portage portage-2.1.4_rc1?
And something with the versions isn't right. I think the version i have (the most recent) should be 2.1.3.19. Why does 2.1.4_rc1 block my bash package?
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 541
Location: /home Sweet /home

PostPosted: Thu Jan 03, 2008 10:36 pm    Post subject: Reply with quote

Code:

[ebuild     U ] sys-apps/portage-2.1.3.19 [2.1.2.2] USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 387 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE="-bindist -gmp -test" 151 kB
[blocks B     ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33

This indicates you had version 2.1.2.2 of portage, should now after upgrading have portage 2.1.3.19 but bash-3.2_p33 apparently ist too new for portage-2.1.3 and lower.

You obviously can't solve the problem by unmerging portage-2.1.4_rc1

You could wait for a day. I'm quite confident this will be resolved soon or you could unmask a portage-2.1.4* build or mask the new bash ebuild, whichever you prefer.
_________________
I'm a membar of Mesnar and me scull contains wakky secrets!
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Thu Jan 03, 2008 10:44 pm    Post subject: Reply with quote

Arfrever wrote:
Run:
Code:
emerge -1 sandbox pycrypto
emerge -1O portage
emerge -1 bash

Never advise to use --nodeps (-O) to bypass blockers. It's inherently unsafe. In fact, please don't use or advise it at all.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Fri Jan 04, 2008 6:12 am    Post subject: Reply with quote

Try

Code:

emerge -1 =app-shells/bash-3.2_p17-r1
emerge portage

_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Fri Jan 04, 2008 1:23 pm    Post subject: Reply with quote

schachti wrote:
This is a dup of https://forums.gentoo.org/viewtopic-t-640115.html.
Merged both, thanks for reporting.
_________________
KDE
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Fri Jan 04, 2008 5:30 pm    Post subject: Reply with quote

Kaste wrote:
Code:

[ebuild     U ] sys-apps/portage-2.1.3.19 [2.1.2.2] USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 387 kB
[blocks B     ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33

This indicates you had version 2.1.2.2 of portage, should now after upgrading have portage 2.1.3.19 but bash-3.2_p33 apparently ist too new for portage-2.1.3 and lower.
[...]
You could wait for a day. I'm quite confident this will be resolved soon or you could unmask a portage-2.1.4* build or mask the new bash ebuild, whichever you prefer.

Okay. I unmasked
Code:
=sys-apps/portage-2.1.4* ~x86 ~arm
but the error still remains:
Code:
[ebuild     U ] sys-apps/portage-2.1.4_rc14 [2.1.2.2] USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 447 kB
[ebuild     U ] app-shells/bash-3.2_p33 [3.2_p10] USE="-afs -bashlogger nls -plugins% -vanilla" 2,564 kB
[blocks B     ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)


Then i did
Code:
emerge -1av =app-shells/bash-3.2_p17-r1
emerge -1 portage
emerge bash

and it worked.

So the essential thing is to unmask =sys-apps/portage-2.1.4* before doing the emerge stuff.
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1317
Location: UK

PostPosted: Mon Jan 07, 2008 1:02 pm    Post subject: Reply with quote

Hey just had the same problem apart from the fact portage 2.1.4_rc1 is not availiable in portage, is not installed on my system and i have the 2.1.4 series masked to try and prevent the block (i have bash blocked too but it appears to ignore my portage.mask when it comes to bash (i have bash 3.2_p17-r1 installed currently as per comments above) have just resynced and still got the same problem, im slightly worried as to why a package that does not exist is blocking a package that is masked :S
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1317
Location: UK

PostPosted: Mon Jan 07, 2008 1:12 pm    Post subject: Reply with quote

quick fix for me after a bit of messing about, i put app-shells/bash-3.2_p33
in package.provided instead of package.mask since it decided not to obey in package.mask

strange.... everything else is working in package.mask
Back to top
View user's profile Send private message
Blinkenlichten
n00b
n00b


Joined: 26 May 2007
Posts: 21
Location: Kiev, Ukraine

PostPosted: Mon Jan 07, 2008 2:51 pm    Post subject: question about upgrading portage Reply with quote

Hello there !
I'm about to update my system [I haven't do this nearly 0.5 year :) ]. And emerge -pv --system gave me this :
Code:

viper@omicron ~ $ emerge --system -pv

blah..blah ..

[ebuild     U ] sys-apps/portage-2.1.4_rc14 [2.1.2.12] USE="-build -doc* -epydoc (-selinux)" LINGUAS="-pl" 0 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE="nls -afs -bashlogger -plugins% -vanilla" 0 kB
[blocks B     ] sys-apps/setarch (is blocking sys-apps/util-linux-2.13-r3)
[blocks B     ] <sys-apps/ (is blocking app-shells/bash-3.2_p33)

seems that my old portage is blocking new bash, which is a dependencie of portage-2.1.4_rc1
Code:

viper@omicron ~ $ emerge -pv portage

[ebuild     U ] sys-apps/portage-2.1.4_rc14 [2.1.2.12] USE="-build -doc* -epydoc (-selinux)" LINGUAS="-pl" 0 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE="nls -afs -bashlogger -plugins% -vanilla" 0 kB
[blocks B     ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)

So, I see that need to remove old portage-2.1.2.12, and build newer portage-2.1.4_rc14 . But, if I'll remove old portage, what will compile the new one, I'll have to compile new portage from sources manually ? Of course, I don't know differencies between portage-2.1.4_rc1 & portage-2.1.2.12, but portage upgrading was invoked by " emerge --system ".
Thanks for help !
_________________
In the blink of night !
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Mon Jan 07, 2008 2:57 pm    Post subject: Reply with quote

This is a dup of https://forums.gentoo.org/viewtopic-t-640115.html.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
Blinkenlichten
n00b
n00b


Joined: 26 May 2007
Posts: 21
Location: Kiev, Ukraine

PostPosted: Mon Jan 07, 2008 3:05 pm    Post subject: Reply with quote

Oh, sorry for that, I will use "search " before posting, next time.
Thanks a lot! P.S. you gave me reply in several minutes, fast forum ... :o
_________________
In the blink of night !
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Mon Jan 07, 2008 3:19 pm    Post subject: Reply with quote

merged above three posts 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
firehawk256
n00b
n00b


Joined: 14 Sep 2005
Posts: 57

PostPosted: Fri Jan 11, 2008 10:01 pm    Post subject: Reply with quote

I was just having the same issue and was able to resolve it with info in this post by doing:


Code:

# emerge -1 =app-shells/bash-3.2_p17-r1
# emerge portage
# emerge bash



But what's up with the message (as mentioned above) that says Portage will fix itself by stopping the merge, reloading itself, then resuming the merge? Is this something that's broken or something just not implemented yet?

Much thanks BTW for the info!
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Fri Jan 11, 2008 10:08 pm    Post subject: Reply with quote

firehawk256 wrote:

But what's up with the message (as mentioned above) that says Portage will fix itself by stopping the merge, reloading itself, then resuming the merge? Is this something that's broken or something just not implemented yet?


It's the default behaviour of portage. If an update of portage is contained in a world update, the steps for emerge -Du world are as follows:

* emerge portage
* emerge -Du world

(you only have to run emerge -Du world once, portage will do the rest). You can safely ignore that message.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 151

PostPosted: Wed Jan 16, 2008 9:21 pm    Post subject: Reply with quote

I believe portage should be telling us why it is stuck, basically that the new version of itself is masked. This is really a generic problem and could affect other packages in the same situation. I filed an enhancement request, https://bugs.gentoo.org/show_bug.cgi?id=206188 :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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