Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
<sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.
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
jlove130
n00b
n00b


Joined: 08 May 2008
Posts: 4
Location: Utah, USA

PostPosted: Thu May 08, 2008 2:49 pm    Post subject: <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash- Reply with quote

I can't update portage cause Bash is blocking... i can update bash because Portage is blocking.

I'm brand new to Gentoo... Can someone help me on the proper way to do this?

I want to update all the packages (I'm much more familiar with Fedora / Red Had distros) and am a little worried with the Emerge tool vs Yum or Up2date. SHould I be worried? It's a 24X7 web site..

Also this web server I've inherited; How out of date is this?

cat /etc/gentoo-release
Gentoo Base System version 1.12.1
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Thu May 08, 2008 3:08 pm    Post subject: Reply with quote

Try posting the output of " emerge info ".
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
jlove130
n00b
n00b


Joined: 08 May 2008
Posts: 4
Location: Utah, USA

PostPosted: Thu May 08, 2008 5:14 pm    Post subject: emerge info output Reply with quote

emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 Dual Core AMD Opteron(tm) Processor 170
Gentoo Base System version 1.12.1
Timestamp of tree: Wed, 07 May 2008 18:35:01 +0000
app-shells/bash: 3.1_p16
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 berkdb cli cracklib crypt cups dri fortran gdbm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppds pppd python readline reflection session spl ssl tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Thu May 08, 2008 9:08 pm    Post subject: Reply with quote

I've just been told the same:

Code:
emerge -av portage

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

Calculating dependencies... done!

[ebuild     U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17] 0 kB
[ebuild     U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE="-bindist -gmp -test" 0 kB
[ebuild     U ] sys-apps/portage-2.1.4.4 [2.1.2.2] 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.1_p17] USE="nls* -afs -bashlogger -plugins% -vanilla" 42 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: 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


You can't even update each on in turn!

Code:
rjs / # 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.1_p17] USE="nls* -afs -bashlogger -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

rjs / # emerge -av portage

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

Calculating dependencies... done!

[ebuild     U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17] 0 kB
[ebuild     U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE="-bindist -gmp -test" 0 kB
[ebuild     U ] sys-apps/portage-2.1.4.4 [2.1.2.2] 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.1_p17] USE="nls* -afs -bashlogger -plugins% -vanilla" 42 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: 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


How do we fix this?


Last edited by richard.scott on Thu May 08, 2008 9:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
ABCDwp
Retired Dev
Retired Dev


Joined: 26 Mar 2006
Posts: 79

PostPosted: Thu May 08, 2008 9:14 pm    Post subject: Reply with quote

richard.scott wrote:
How do we fix this?


It looks like the "correct" way would be first to upgrade bash to =app-shells/bash-3.2_p17-r1, then upgrade portage to >=sys-apps/portage-2.1.4, then upgrade bash to the current version:
Code:
# emerge --oneshot =app-shells/bash-3.2_p17-r1
# emerge --oneshot sys-apps/portage
# emerge --oneshot app-shells/bash


Edit: changed incorrect "sys-apps/bash" to "app-shells/bash"
Edit 2: use --oneshot, include categories on all emerges


Last edited by ABCDwp on Tue Jun 10, 2008 5:34 am; edited 2 times in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7475

PostPosted: Fri May 09, 2008 2:12 pm    Post subject: Reply with quote

Code:
emerge -1 --nodeps bash && emerge -1 portage
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


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

PostPosted: Fri May 09, 2008 2:19 pm    Post subject: Reply with quote

krinn wrote:
Code:
emerge -1 --nodeps bash && emerge -1 portage


This sequence of commands is incorrect and can damage system (Bug 190128).

ABCDwp posted the only correct sequence.
Back to top
View user's profile Send private message
jlove130
n00b
n00b


Joined: 08 May 2008
Posts: 4
Location: Utah, USA

PostPosted: Fri May 09, 2008 4:31 pm    Post subject: Reply with quote

emerge -1 =sys-apps/bash-3.2_p17-r1
Calculating dependencies |
emerge: there are no ebuilds to satisfy "=sys-apps/bash-3.2_p17-r1".
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


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

PostPosted: Fri May 09, 2008 4:36 pm    Post subject: Reply with quote

jlove130 wrote:
emerge -1 =sys-apps/bash-3.2_p17-r1
Calculating dependencies |
emerge: there are no ebuilds to satisfy "=sys-apps/bash-3.2_p17-r1".


Code:
emerge -1 =app-shells/bash-3.2_p17*
Back to top
View user's profile Send private message
ambad4u
n00b
n00b


Joined: 08 May 2008
Posts: 59
Location: Toledo City, Cebu, Philippines

PostPosted: Fri May 09, 2008 5:31 pm    Post subject: Reply with quote

did: emerge -1 =app-shells/bash-3.1_p17
when doing: "emerge -1 portage" will still have the same error

any other alternatives for this one :?:, Please advise :!:
Back to top
View user's profile Send private message
ambad4u
n00b
n00b


Joined: 08 May 2008
Posts: 59
Location: Toledo City, Cebu, Philippines

PostPosted: Fri May 09, 2008 6:00 pm    Post subject: Fix Validity? Reply with quote

I have just read this from post: https://forums.gentoo.org/viewtopic-t-691126-highlight-sysapps+portage+blocking.html

like doing this sequence will fix it:
emerge --nodeps portage
then:
emerge bash

it seemed to work for me :? , is this method considered safe :?:
Back to top
View user's profile Send private message
ABCDwp
Retired Dev
Retired Dev


Joined: 26 Mar 2006
Posts: 79

PostPosted: Sat May 10, 2008 3:49 am    Post subject: Reply with quote

Note that I accidentally said "sys-apps/bash" instead of "app-shells/bash"
Back to top
View user's profile Send private message
bascom49
n00b
n00b


Joined: 19 Apr 2008
Posts: 18

PostPosted: Sun May 18, 2008 3:24 pm    Post subject: Can not update portage Reply with quote

running emerge --pretend portage reveals :

<sys-apps/portage-2.1.4_rcl ( is blocking app-shells/bash-3.2_p33)

So, I thought I should remove the package that is causing the problem :

running emerge --unmerge sys-apps/portage-2.1.4_rcl reveals

--- Couldn't find 'sys-apps/portage-2.1.4_rcl' to unmerge

Could someone please tell me what I am missing here ?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Sun May 18, 2008 3:37 pm    Post subject: Reply with quote

you missed the search feature of the forums.

merged above post 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
boulli
n00b
n00b


Joined: 16 Jun 2005
Posts: 20
Location: Netherlands

PostPosted: Sun May 18, 2008 7:55 pm    Post subject: Re: Fix Validity? Reply with quote

dab_s_bad wrote:
I have just read this from post: https://forums.gentoo.org/viewtopic-t-691126-highlight-sysapps+portage+blocking.html

like doing this sequence will fix it:
emerge --nodeps portage
then:
emerge bash

it seemed to work for me :? , is this method considered safe :?:


Not sure if it is "considered safe" but it also works for me and no problems so far
Back to top
View user's profile Send private message
nader emami
Tux's lil' helper
Tux's lil' helper


Joined: 14 Sep 2006
Posts: 88
Location: Netherlands

PostPosted: Tue May 20, 2008 6:52 am    Post subject: how to solve the [blocks B ] <sys-apps/portage-2.1.4_ Reply with quote

Hello,

After instaling of gentoo I have used the
Code:
emerge --sync
emerge -p portage

to update the Portage tree. But I have to solve the blocked problem.
Quote:

[ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17]
[ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
[ebuild U ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE="-build*"
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] app-shells/bash-3.2_p33 [3.1_p17] USE="-plugins%"
[blocks B ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)


I think that I can't remove the portage-2.1.4_rc1 by
Code:
emerge --unmerge portage
.
Would somebody tell me how I can solve this problem?

With regards,
Nader
Back to top
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Tue May 20, 2008 7:11 am    Post subject: Reply with quote

Hi,

try to run
Code:
emerge -avP portage
It looks like you do have two versions of portage installed. If this does not remove the older version you may have to do this by hand.
Code:
emerge -avC sys-apps/portage-2.1.4_rc1

Please do double check my tips before unmerging an important program like portage.
Then you might want to do something like this:
Code:
emerge -av portage
dispatch-conf
emerge --sync
emerge -DuavN world
dispatch-conf
emerge --depclean -pv
revdep-rebuild -pv
glsa-check -t all
Back to top
View user's profile Send private message
gentoo-dev
Apprentice
Apprentice


Joined: 24 Jan 2006
Posts: 172

PostPosted: Tue May 20, 2008 10:32 am    Post subject: Reply with quote

hitachi wrote:
Hi,

try to run
Code:
emerge -avP portage
It looks like you do have two versions of portage installed. If this does not remove the older version you may have to do this by hand.
Code:
emerge -avC sys-apps/portage-2.1.4_rc1
If you feel like screwing a Gentoo systems, stick to yours.
Back to top
View user's profile Send private message
gentoo-dev
Apprentice
Apprentice


Joined: 24 Jan 2006
Posts: 172

PostPosted: Tue May 20, 2008 10:37 am    Post subject: Re: how to solve the [blocks B ] <sys-apps/portage-2. Reply with quote

nader emami wrote:
[blocks B ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)

Portage versions below the shown version do not work with latest bash versions. Note the <
In other words, you need portage >= 2.1.4_rc1 before you can upgrade bash

Just upgrade portage first. (emerge portage)
Back to top
View user's profile Send private message
freedomeagle1967
n00b
n00b


Joined: 26 Aug 2007
Posts: 52
Location: Minnesota

PostPosted: Tue May 20, 2008 1:13 pm    Post subject: Reply with quote

this will solve the problem between portage and bash
Code:
USE='-*' emerge --nodeps sys-apps/portage

_________________
Scott
Peace
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5956

PostPosted: Tue May 20, 2008 2:05 pm    Post subject: Reply with quote

merged duplicate thread into this one.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Tue May 20, 2008 3:24 pm    Post subject: Reply with quote

gentoo-dev wrote:
If you feel like screwing a Gentoo systems, stick to yours.
One could think this is meant to be unkindly.
Output says:
Quote:
[ebuild U ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE="-build*"
So PC is currently using portage-2.1.2.2 and wants to update to portage-2.1.4.4. What is portage-2.1.4_rc1 needed for?
So this is what -P is meant to be for:
man emerge wrote:
--prune (-P)
WARNING: This action can remove important packages! Removes all
but the highest installed version of a package from your system.
This action doesn't verify the possible binary compatibility
between versions and can thus remove essential dependencies from
your system. Use --prune together with --verbose to show reverse
dependencies or with --nodeps to ignore all dependencies.
There is a warning so I also wrote to double check everything.
Example for my PC:
Code:
# emerge -avP gentoo-sources
Quote:
Calculating dependencies... done!

sys-kernel/gentoo-sources-2.6.24-r8 pulled in by:
net-dialup/ppp-2.4.4-r14


>>> These are the packages that would be unmerged:

sys-kernel/gentoo-sources
selected: 2.6.24-r4 2.6.24-r7
protected: none
omitted: 2.6.24-r8

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No]
I do know what would be removed an what would be kept. I also know what programs pulled the kept on in AND I do have the chance to say NO!
Back to top
View user's profile Send private message
ABCDwp
Retired Dev
Retired Dev


Joined: 26 Mar 2006
Posts: 79

PostPosted: Wed May 21, 2008 5:32 am    Post subject: Reply with quote

hitachi wrote:
So PC is currently using portage-2.1.2.2 and wants to update to portage-2.1.4.4. What is portage-2.1.4_rc1 needed for?

The line said <sys-apps/portage-2.1.4_rc1 (which includes portage-2.1.2.2), in other words there is only one version of portage installed.

As I said earlier in the thread this was merged into, you should first update app-shells/bash to 3.2_p17-r1 (the only version currently in the tree that works with all versions of portage, both before and after 2.1.4_rc1), then upgrade portage, then upgrade bash to the current version.
ABCDwp wrote:
Code:
# emerge -1 =app-shells/bash-3.2_p17-r1
# emerge -1 portage
# emerge -1 bash
Back to top
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Wed May 21, 2008 6:13 am    Post subject: Reply with quote

ABCDwp wrote:
The line said <sys-apps/portage-2.1.4_rc1 (which includes portage-2.1.2.2), in other words there is only one version of portage installed.

As I said earlier in the thread this was merged into, you should first update app-shells/bash to 3.2_p17-r1 (the only version currently in the tree that works with all versions of portage, both before and after 2.1.4_rc1), then upgrade portage, then upgrade bash to the current version.
Thanks for the info. I like to learn.
Back to top
View user's profile Send private message
jlove130
n00b
n00b


Joined: 08 May 2008
Posts: 4
Location: Utah, USA

PostPosted: Tue May 27, 2008 5:59 pm    Post subject: Fixed!!1 Reply with quote

This is the FIX:

ABCDwp wrote:
Code:
# emerge -1 =app-shells/bash-3.2_p17-r1
# emerge -1 portage
# emerge -1 bash
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