You are not logged in.

#1 2004-07-02 21:57:20

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

pacman -Syu error shadow-4.0.4.1-3 upgrade

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

#2 2004-07-02 22:14:28

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: pacman -Syu error shadow-4.0.4.1-3 upgrade

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

#3 2004-07-02 22:33:56

iotc247
Member
From: Florida
Registered: 2004-05-31
Posts: 177
Website

Re: pacman -Syu error shadow-4.0.4.1-3 upgrade

i always force whenever i see blah blah already exists..

Offline

#4 2004-07-02 22:45:18

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: pacman -Syu error shadow-4.0.4.1-3 upgrade

please read the front page this issue is discussed there.


AKA uknowme

I am not your friend

Offline

#5 2004-07-02 23:35:03

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: pacman -Syu error shadow-4.0.4.1-3 upgrade

Thanks, I should have read the front page.


-- archlinux 是一个极好的 linux

Offline

#6 2004-07-03 14:54:27

Mindaugas
Member
From: Ireland
Registered: 2004-03-25
Posts: 95

Re: pacman -Syu error shadow-4.0.4.1-3 upgrade

/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. wink

Fine  smile

Offline

Board footer

Powered by FluxBB