Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setarch blocks util-linux but util-linux depends on setarch?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tonglebeak
Guru
Guru


Joined: 23 Mar 2006
Posts: 356

PostPosted: Tue Aug 28, 2007 1:42 am    Post subject: setarch blocks util-linux but util-linux depends on setarch? Reply with quote

Ayayayayyayayaya. I remove setarch and util-linux pulls it in and gets blocked. I can't remove util-linux as it's part of the system profile.

Geez. Any help?

Code:
localhost aaron # emerge -uNDpv world

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

Calculating world dependencies... done!
[ebuild     U ] dev-util/pkgconfig-0.22 [0.21-r1] USE="(-hardened)" 983 kB
[ebuild     U ] sys-devel/gcc-config-1.4.0-r1 [1.4.0] 0 kB
[ebuild  N    ] sys-apps/setarch-2.0  0 kB
[ebuild     U ] sys-fs/device-mapper-1.02.22 [1.02.19-r1] USE="(-selinux)" 186 kB
[ebuild     U ] sys-apps/kbd-1.13-r1 [1.13] USE="nls" 0 kB
[ebuild     U ] sys-fs/udev-115 [114-r2] USE="(-selinux)" 195 kB
[ebuild     U ] net-irc/irssi-0.8.12_rc1 [0.8.11] USE="ipv6 perl ssl -socks5" 914 kB
[ebuild     U ] media-gfx/splashutils-1.5.1 [1.4.3] USE="gpm png truetype (-hardened) -mng" 100 kB
[ebuild     U ] sys-apps/util-linux-2.13 [2.12r-r7] USE="nls -old-linux% (-selinux) (-crypt%*) (-old-crypt%) (-perl%*) (-static%)" 2,640 kB
[ebuild     U ] media-libs/speex-1.2_beta2 [1.1.12] USE="ogg sse -doc% -vorbis-psy -wideband%" 974 kB
[ebuild     U ] dev-lang/ruby-1.8.6_p36-r4 [1.8.6_p36-r3] USE="ipv6 -cjk -debug -doc -examples -rubytests -socks5 -threads -tk" 0 kB
[blocks B     ] sys-apps/setarch (is blocking sys-apps/util-linux-2.13)

Total: 11 packages (10 upgrades, 1 new, 1 block), Size of downloads: 5,989 kB
localhost aaron # equery depends setarch
[ Searching for packages depending on setarch... ]
app-emulation/x86-chroot-2006.1 (sys-apps/setarch)
net-www/nspluginwrapper-0.9.91.4 (sys-apps/setarch)
sys-apps/util-linux-2.12r-r7 (amd64? sys-apps/setarch)
                             (mips? sys-apps/setarch)
                             (ppc? sys-apps/setarch)
                             (ppc64? sys-apps/setarch)
                             (sparc? sys-apps/setarch)
localhost aaron # emerge -Cp util-linux

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


!!! 'sys-apps/util-linux' is part of your system profile.
!!! Unmerging it may be damaging to your system.


 sys-apps/util-linux
    selected: 2.12r-r7
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 28, 2007 1:52 am    Post subject: Reply with quote

Don't emerge the new util-linux then. Or, unmerge setarch, then "emerge --oneshot util-linux" by itself, then update world.
_________________
Thomas S. Howard


Last edited by didymos on Tue Aug 28, 2007 1:54 am; edited 1 time in total
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3745
Location: sleeping in the bathtub

PostPosted: Tue Aug 28, 2007 1:53 am    Post subject: Reply with quote

setarch is only blocked for util-linux 2.13, the 2.12 version you have installed shouldn't conflict, so you could just mask the later version for the moment.
Code:
echo =sys-apps/util-linux-2.13* >> /etc/portage/package.mask

Odds are that setarch was blocked by the new util-linux because util-linux now provides the same utility (don't quote me on this, it's just a guess), so a cleaner way to do this would be to `emerge -1 util-linux`, then see if the utilities are installed (setarch, linux32, linux64), and if setarch is still being pulled in.

If the utilities are installed and setarch is still being pulled in, you could add it to /etc/portage/profile/package.provided.

HTH.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 28, 2007 2:02 am    Post subject: Reply with quote

It does include setarch, so just get rid of sys-apps/setarch. Or remove util-linux from package.keywords.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
VValdo
Guru
Guru


Joined: 08 Jan 2005
Posts: 395

PostPosted: Tue Aug 28, 2007 8:28 am    Post subject: Reply with quote

Same kinda problem here:

Quote:
# emerge -DupNtv world

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

Calculating world dependencies... done!
[nomerge ] app-arch/rpm2targz-9.0-r5
[ebuild U ] sys-apps/util-linux-2.13 [2.12r-r7] USE="nls -old-linux% (-selinux) (-crypt%) (-old-crypt%) (-perl%*) (-static%)" 2,640 kB
[nomerge ] net-www/nspluginwrapper-0.9.91.4
[ebuild N ] sys-apps/setarch-2.0 0 kB
[blocks B ] sys-apps/setarch (is blocking sys-apps/util-linux-2.13)

Total: 2 packages (1 upgrade, 1 new, 1 block), Size of downloads: 2,640 kB


Looks like it's nspluginwrapper that's requiring setarch 2.0 which blocks util-linux.
Back to top
View user's profile Send private message
rock_bottom
n00b
n00b


Joined: 21 Oct 2005
Posts: 39

PostPosted: Tue Aug 28, 2007 10:17 am    Post subject: Reply with quote

Yes, thats the case, a bug has already been filed, see #190476

Best regards,
--rock
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 28, 2007 3:21 pm    Post subject: Reply with quote

Looks like nspluginwrapper and x86-chroot are fixed. Should be in the tree soon, if not already there.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Bigun
Veteran
Veteran


Joined: 21 Sep 2003
Posts: 1805

PostPosted: Tue Aug 28, 2007 7:14 pm    Post subject: Reply with quote

Well crud, my local tree won't update until tomorrow. More cowbell damnit!
_________________
Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit"
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 771
Location: germany

PostPosted: Sat Jan 12, 2008 8:24 am    Post subject: Reply with quote

hi all!

today i got the same problem here. i hope i fixed it by unmerging setarch, then updating util-linux to the new version 2.13-r2 as portage displayed.

tools setarch, linux32 and linux64 are available.

can someone confirm that everything is ok, and i have not to try to get setarch installed again?

thx in advance
snIP3r
_________________
AMD X2 4450e on ASUS M2N-SLI Deluxe
Gentoo Base System 2.0.2
Kernel 2.6.36-gentoo-r5 SMP x86_64
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
MikeTheGreat
n00b
n00b


Joined: 03 Apr 2005
Posts: 56
Location: London, UK

PostPosted: Sat Jan 12, 2008 10:20 am    Post subject: Reply with quote

Hi snIP3r,

I had the same problem as you and dealt with it in the same way, by unmerging setarch first and then updating util-linux. It would appear that util-linux now provides setarch, linux32 and linux64. You can check what else it includes with:
Code:
equery files util-linux

I've encountered no problems since updating.

-Mike
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 771
Location: germany

PostPosted: Sat Jan 12, 2008 12:32 pm    Post subject: Reply with quote

MikeTheGreat wrote:
Hi snIP3r,

I had the same problem as you and dealt with it in the same way, by unmerging setarch first and then updating util-linux. It would appear that util-linux now provides setarch, linux32 and linux64. You can check what else it includes with:
Code:
equery files util-linux

I've encountered no problems since updating.

-Mike


hi mike!

doing the equery command tells me the same as is also encountered. so everything seems to be alright

thx & greets
snIP3r
_________________
AMD X2 4450e on ASUS M2N-SLI Deluxe
Gentoo Base System 2.0.2
Kernel 2.6.36-gentoo-r5 SMP x86_64
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
mpiter
n00b
n00b


Joined: 21 Feb 2005
Posts: 65
Location: France

PostPosted: Sun Jan 13, 2008 12:15 pm    Post subject: Reply with quote

I also confirm on my architecture that unmerging setarch first, then updating linux-utilities followed by world works. Maybe SOLVED should be added to the topic of this thread.

pit
_________________
Michel Pitermann
Back to top
View user's profile Send private message
aspasia
n00b
n00b


Joined: 22 Apr 2008
Posts: 24

PostPosted: Fri Jun 20, 2008 7:13 pm    Post subject: sys-apps/setarch is blocking an installation Reply with quote

Hello all,

I would like to emerge "nfs-utils" and attempt to run:

emerge nfs-utils

results in:
Calculating dependencies... done!
[ebuild N ] net-nds/portmap-6.0 USE="tcpd (-selinux)" 22 kB
[ebuild N ] dev-libs/libevent-1.4.3 469 kB
[ebuild U ] sys-apps/util-linux-2.13.1.1 [2.12r-r5] USE="crypt nls unicode%* -loop-aes% -old-linux% (-selinux) -slang% (-old-crypt%) (-perl%*) (-static%)" 2,764 kB
[ebuild N ] net-libs/libnfsidmap-0.19 USE="-ldap" 319 kB
[ebuild N ] net-fs/nfs-utils-1.1.0-r1 USE="tcpd -kerberos -nonfsv4" 764 kB
[blocks B ] sys-apps/setarch (is blocking sys-apps/util-linux-2.13.1.1)

....

1. I try to emerge sys-apps/setarch

2. this package is already installed:

>>> Original instance of package unmerged safely.
>>> sys-apps/setarch-2.0 merged.
>>> No packages selected for removal by clean
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.

3. I am stuck unable to install my nfs-utils ...

Any pointers on links that could help me resolve this? have been googling but could not find any tips.

thanks in advance,

aspasia.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3745
Location: sleeping in the bathtub

PostPosted: Fri Jun 20, 2008 7:51 pm    Post subject: Reply with quote

Just unmerge the setarch package, the binaries it provides are included in recent versions of util-linux (which is why they block each other).
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
eyoung100
Guru
Guru


Joined: 23 Jan 2004
Posts: 478

PostPosted: Fri Jun 20, 2008 8:23 pm    Post subject: Reply with quote

Setarch needs to be removed so util-linux can be installed, try
Code:

emerge -C setarch && emerge nfs-utils

_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
aspasia
n00b
n00b


Joined: 22 Apr 2008
Posts: 24

PostPosted: Fri Jun 20, 2008 10:13 pm    Post subject: Reply with quote

Thank y'all!!!

SOLVED: unmerge'ing / removing the setarch did it!!! ... i am able to proceed now with my next gentoo challenges!

thanks again!

- a.
Back to top
View user's profile Send private message
eyoung100
Guru
Guru


Joined: 23 Jan 2004
Posts: 478

PostPosted: Fri Jun 20, 2008 10:32 pm    Post subject: Reply with quote

Please also add [Solved] to the post title.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


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

PostPosted: Sat Jun 21, 2008 4:34 pm    Post subject: Reply with quote

merged above five 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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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