[arch-general] util-linux pacman error, file conflicts (safe to force?)

Leonid Isaev lisaev at umail.iu.edu
Mon Jul 9 12:38:33 EDT 2012


On Mon, 09 Jul 2012 10:49:46 -0500
"David C. Rankin" <drankinatty at 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.

> 
> (this has happened on all my boxes..)
> 
> 



-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120709/b4b61579/attachment.asc>


More information about the arch-general mailing list