[Assist] pacman -Syu error: filesystem: /bin /sbin /usr/sbin exist

Szymon Olewniczak szymon.olewniczak at rid.pl
Wed Jun 5 05:47:56 GMT 2013


On Wed, Jun 05, 2013 at 02:38:47AM +0200, Rudolf Dovičín wrote:
> Hello.
> 
> I have installed Parabola GNU/Linux-libre few days ago.
> I want to upgrade by command:
> pacman -Syu
> but this return errors:
> 
> 
> :: Synchronizing package databases...
>  libre is up to date
>  core is up to date
>  extra is up to date
>  community is up to date
>  multilib is up to date
>  pcr is up to date
> :: Starting full system upgrade...
> resolving dependencies...
> looking for inter-conflicts...
> 
> Packages (36): bash-4.2.045-4  coreutils-8.21-2
> device-mapper-2.02.98-4  dhcpcd-5.6.8-3  e2fsprogs-1.42.7-2
> filesystem-2013.05-2  fuse-2.9.2-3  gcc-4.8.1-1  gcc-libs-4.8.1-1
> gconf-3.2.6-2  giflib-4.2.1-2  glibc-2.17-6  inetutils-1.9.1-6
> iproute2-3.9.0-2  iptables-1.4.19.1-1  kmod-13-2
> lib32-gcc-libs-4.8.1-1  libatasmart-0.19-2  libbonobo-2.32.1-4
> libltdl-2.4.2-9  libogg-1.3.1-1  libsasl-2.1.26-4  libtool-2.4.2-9
> luajit-2.0.2-1  openresolv-3.5.4-3  rtmpdump-20121203-2  sed-4.2.2-3
> shadow-4.1.5.1-6  systemd-204-3  systemd-sysvcompat-204-3
> sysvinit-tools-2.88-11  tar-1.26-4  udisks2-2.1.0-3
> util-linux-2.23.1-2  v4l-utils-0.9.5-2  zvbi-0.2.33-6
> 
> Total Installed Size:   201.24 MiB
> Net Upgrade Size:       -2.26 MiB
> 
> :: Proceed with installation? [Y/n] checking keyring...
> checking package integrity...
> loading package files...
> checking for file conflicts...
> error: failed to commit transaction (conflicting files)
> filesystem: /bin exists in filesystem
> filesystem: /sbin exists in filesystem
> filesystem: /usr/sbin exists in filesystem
> Errors occurred, no packages were upgraded.

It's probably some aur packages conflicts with the new filesystem(or
some files created by you in this directory or programms installed in
other way than pacman eg. make install) . I
had the same issue yesterday and solve it this way:
pacman -Su filestystem -> it will show you which directories filesystem
really conflicts. 
Then(temporarly) remove all files which don't belong to any package.
Then for each directory run:
pacman -Qs /dir/full/path -> it will show you which packages uses those
dirs. Uninstall all aur packages. Then upgrade the filesystem and
install that aur packages agian.

I hope this helps.

Regards,
Szymon


More information about the Assist mailing list