You are not logged in.
Pages: 1
I recently got an arror for the first time using pacman. After executing pacman -Syu i get..
Targets: shadow-4.0.4.1-3 coreutils-5.2.1-2
Proceed with upgrade? [Y/n] y
checking package integrity... done.
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
/bin/su: exists in filesystem
/etc/pam.d/su: exists in filesystem
/usr/man/man1/su.1.gz: exists in filesystem
After doing a pacman -Qo to each path the error refers to, I know that shadow 4.0.4.1-2 is causing the conflicts. Can someone help me find a way to correct this? I don't want to force a upgrade without knowing it won't cause problems.
-- archlinux 是一个极好的 linux。
Offline
Well as luck happens I decided to do a pacman -S shadow to see if it will upgrade that way and it did upgrade to shadow-4.0.4.1-3 with no trouble.
now when I execute pacman -Su i get ...
Targets: coreutils-5.2.1-2
Proceed with upgrade? [Y/n] y
checking package integrity... done.
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
/etc/pam.d/su: exists in filesystem
when doing a ... pacman -Qo /etc/pam.d/su
I get ... No package owns /etc/pam.d/su
Now I'm thinking it's probably safe to delete this /etc/pam.d/su file or force an upgrade of coreutils-5.2.1-2?
-- archlinux 是一个极好的 linux。
Offline
i always force whenever i see blah blah already exists..
Offline
please read the front page this issue is discussed there.
AKA uknowme
I am not your friend
Offline
Thanks, I should have read the front page.
-- archlinux 是一个极好的 linux。
Offline
/bin/su moves to Coreutils posted by Judd
July 02, 2004
Hi all,When you next --sysupgrade, you'll get a "file conflict" warning about the su binary and its corresponding manpage. This is because Arch now uses the su binary from the coreutils package instead of the one from the shadow package, as it is more functional.
You can safely force this upgrade by running pacman -Suf. When the upgrade is complete, make sure you still have a /bin/su binary before exiting your root shell. Just in case.
Fine
Offline
Pages: 1