You are not logged in.
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 ![]()
Offline
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.
Arch64/DWM || My Dropbox referral link
Offline
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
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
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
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 ![]()
Offline
yes, that or try this pkgbuild with selinux-util-linux-ng in provides array: http://ompldr.org/vN28xNQ/selinux-util- … src.tar.gz
Arch64/DWM || My Dropbox referral link
Offline
Or just use the updated package in the AUR from Nicky:
Offline
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
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
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 :POffline