util-linux pacman error, file conflicts (safe to force?)
On Mon, 09 Jul 2012 10:49:46 -0500
"David C. Rankin" <drankinatty@suddenlinkmail.com> wrote:
> Tom, All,
>
> I ran into the following error regarding util-linux upgrade. I've looked
> in the forum and the website, but nothing specific to it. The error is:
>
> (72/72) checking for file conflicts
> [###########################################] 100%
> error: failed to commit transaction (conflicting files)
> util-linux: /bin/login exists in filesystem
> util-linux: /etc/pam.d/chfn exists in filesystem
> util-linux: /etc/pam.d/chsh exists in filesystem
> util-linux: /etc/pam.d/login exists in filesystem
> util-linux: /usr/bin/chfn exists in filesystem
> util-linux: /usr/bin/chsh exists in filesystem
> util-linux: /usr/bin/newgrp exists in filesystem
> util-linux: /usr/sbin/vigr exists in filesystem
> util-linux: /usr/sbin/vipw exists in filesystem
> util-linux: /usr/share/man/man1/chfn.1.gz exists in filesystem
> util-linux: /usr/share/man/man1/chsh.1.gz exists in filesystem
> util-linux: /usr/share/man/man1/login.1.gz exists in filesystem
> util-linux: /usr/share/man/man1/newgrp.1.gz exists in filesystem
> util-linux: /usr/share/man/man8/vigr.8.gz exists in filesystem
> util-linux: /usr/share/man/man8/vipw.8.gz exists in filesystem
> Errors occurred, no packages were upgraded.
>
> Is this safe to force? I ask because I don't want to kill login by
> forcing if there is a preferred way to do this.... What say the experts?
Hmm.. pacman should have taken care of this automatically.
Do: pacman -Sy && pacman -Su --ignore util-linux,shadow && pacman -S shadow
util-linux. If the last call fails, use --force.
/bin/login was owned by shadow. Now it is owned why util-linux. Apparently
utils-linux is tried first, that's why the update fails.
util-linux pacman error, file conflicts (safe to force?)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/09/2012 11:38 AM, Leonid Isaev wrote:
> Hmm.. pacman should have taken care of this automatically.
>
> Do: pacman -Sy && pacman -Su --ignore util-linux,shadow && pacman -S shadow
> util-linux. If the last call fails, use --force.
>
> /bin/login was owned by shadow. Now it is owned why util-linux. Apparently
> utils-linux is tried first, that's why the update fails.
Thank you Leonid,
I will have to rebuild shadow. My display manager still relies on the older
shadow prior to the soname bump that occurred a couple of months ago. I guess I
could just use the kde4/kdm in the interim. So at least we know what is causing
this problem.
Any background on why files such as 'login' are changing packages? Just
curious really. In the 2.21.2 -> 2.21.3 update to util-linux, it inherited the
following: