You are not logged in.

#1 2011-03-04 05:27:12

rekahsoft
Member
Registered: 2010-07-18
Posts: 33
Website

util-linux conflicts with selinux-util-linux-ng

Hi all..i have been running arch with the selinux enabled kernel from the aur for quiet a while now..on a few systems..been working great but today i was doing some updates and noticed that a new package was introduced (util-linux) that conflicts with selinux-util-linux-ng (which is required to boot)..i removed the original util-linux-ng when i did the original setup of selinux + arch. Anyways if anyone has some insite into what i could do to get around this let me know smile

Offline

#2 2011-03-04 06:27:06

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: util-linux conflicts with selinux-util-linux-ng

this is rather related to AUR.

it's simple, upgrade it or ignore it @ pacman.conf.

here's a pkgbuild for selinux-util-linux 2.19:
http://ompldr.org/vN25nZA/selinux-util- … src.tar.gz

PS: i didn't test it 'cause i don't use selinux stuff. good luck.

Offline

#3 2011-03-04 16:19:43

rekahsoft
Member
Registered: 2010-07-18
Posts: 33
Website

Re: util-linux conflicts with selinux-util-linux-ng

I already have selinux-util-linux-ng installed..and there seems to be no "selinu-util-linux" package in the aur..so what i should do is ignore util-linux from /etc/pacman.conf and proceed with my upgrade?

Offline

#4 2011-03-04 17:26:19

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: util-linux conflicts with selinux-util-linux-ng

util-linux-ng changed its name back to util-linux. your selinux enabled package should be updated to 2.19 regardless of what its called -- selinux-util-linux-ng, util-linux-selinux, whatever... The sourceball JokerBoy posted seems to accomplish this (though I have not looked at the actual PKGBUILD)

Offline

#5 2011-03-05 01:04:05

rekahsoft
Member
Registered: 2010-07-18
Posts: 33
Website

Re: util-linux conflicts with selinux-util-linux-ng

alright since the new mkinitcpio depends on util-linux>=2.1 i would need to disable both, right? Also i tried the pkbuild that was posted and the package builds fine but when i try to install it with "pacman -U selinux-util-linux-2.19-1-i686.pkg.tar.xz" i get an error saying it couldn't satisfy the dependency: selinux-sysvinit requires selinux-util-linux-ng..i suppose i will have to do a little work on the pkbuild

Last edited by rekahsoft (2011-03-05 01:04:23)

Offline

#6 2011-03-05 04:44:40

rekahsoft
Member
Registered: 2010-07-18
Posts: 33
Website

Re: util-linux conflicts with selinux-util-linux-ng

do i have to change the pkbuild of selinux-sysvinit (specifically change the dependancy of "selinux-util-linux-ng" to "selinux-util-linux" to fit the new pkbuild given above for selinux-util-linux? thanks for the help so far smile

Offline

#7 2011-03-05 05:38:26

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: util-linux conflicts with selinux-util-linux-ng

yes, that or try this pkgbuild with selinux-util-linux-ng in provides array: http://ompldr.org/vN28xNQ/selinux-util- … src.tar.gz

Offline

#8 2011-03-05 15:40:19

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: util-linux conflicts with selinux-util-linux-ng

Or just use the updated package in the AUR from Nicky:

https://aur.archlinux.org/packages.php?ID=47113

Offline

#9 2011-03-06 02:17:12

rekahsoft
Member
Registered: 2010-07-18
Posts: 33
Website

Re: util-linux conflicts with selinux-util-linux-ng

alright so i did a "yaourt -Sayu selinux-sysvinit" with the presumtion that it would install selinux-util-linux as a dependancy..it builds the package, i proceed to install it, it prompts me that selinu-util-linux-ng and selinux-util-linux are in conflict and if i wanted to remove selinux-util-linux-ng..i preoceed and get the message: selinux-sysvinit: requires selinux-util-linux-ng..but i use the latest plgbuild from the aur??

Offline

#10 2011-03-06 02:54:32

rekahsoft
Member
Registered: 2010-07-18
Posts: 33
Website

Re: util-linux conflicts with selinux-util-linux-ng

alright so i see the issue..selinux-sysvinit originally requires selinux-util-linux-ng so when i attempt to install selinux-sysvinit it builds the dep selinux-util-linux but when it gets to replace the old selinux-util-linux-ng a currently installed package (since it has yet to be upgraded) selinux-sysvinit...idk how to overcome this..

Offline

#11 2011-03-13 19:23:25

rekahsoft
Member
Registered: 2010-07-18
Posts: 33
Website

Re: util-linux conflicts with selinux-util-linux-ng

alright so i managed to find a way to get this to work...the issue is that selinux-util-linux-ng is required by my currently installed version of selinux-sysvinit so if i want to upgrade selinux-util-linux-ng to selinux-util-linux i end up with dependancy problems because it will say selinux-util-linux and selinux-util-linux-ng are in conflict..if i remove selinux-util-linux-ng when prompted it will fail because my currently installed version of selinux-sysvinit requries selinux-util-linux-ng. Anyways to fix this i did:

% yaourt -Sd selinux-util-linux
.... # installs the new selinux-util-linux ignoring dependancies; prompts to remove selinux-util-linux-ng in favor of selinux-util-linux, i proceed to remove selinux-util-linux-ng
% testdb
missing dependancy selinux-util-linux-ng (required by selinux-sysvinit)
% yaourt -S selinux-sysvinit
... # installs the new selinux-sysvinit which now requires selinux-util-linux thus fixing the dependancy issue
% yaourt -Sayu
.. # continue upgrading my system :P

Offline

Board footer

Powered by FluxBB