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

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


Joined: 22 Mar 2006
Posts: 230

PostPosted: Mon Aug 27, 2007 8:42 pm    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
Veteran
Veteran


Joined: 09 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Aug 27, 2007 8:52 pm    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 Mon Aug 27, 2007 8:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hopeless
Veteran
Veteran


Joined: 05 Aug 2004
Posts: 2471
Location: The Infirmary

PostPosted: Mon Aug 27, 2007 8:53 pm    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.
_________________
"He's lucky that's all I bit off!"
Back to top
View user's profile Send private message
didymos
Veteran
Veteran


Joined: 09 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Aug 27, 2007 9:02 pm    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: 388

PostPosted: Tue Aug 28, 2007 3: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 5: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
Veteran
Veteran


Joined: 09 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 28, 2007 10:21 am    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: 20 Sep 2003
Posts: 1487

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

Well crud, my local tree won't update until tomorrow. More cowbell damnit!
_________________
http://support.microsoft.com/kb/314458/EN-US/ wrote:
NOTE: Windows XP and Linux can coexist on the same computer. For additional information, refer to your Linux documentation.
Back to top
View user's profile Send private message
snIP3r
Guru
Guru


Joined: 21 May 2004
Posts: 492
Location: germany

PostPosted: Sat Jan 12, 2008 3: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 3800+ on ASUS M2N-SLI Deluxe
Gentoo Base System 1.12.11.1
Kernel 2.6.23-gentoo-r9 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: 45
Location: London, UK

PostPosted: Sat Jan 12, 2008 5: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
Guru
Guru


Joined: 21 May 2004
Posts: 492
Location: germany

PostPosted: Sat Jan 12, 2008 7:32 am    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 3800+ on ASUS M2N-SLI Deluxe
Gentoo Base System 1.12.11.1
Kernel 2.6.23-gentoo-r9 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: 60
Location: France

PostPosted: Sun Jan 13, 2008 7:15 am    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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT - 5 Hours
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