You are not logged in.

#1 2013-11-03 20:27:27

dworzanski
Member
Registered: 2013-11-03
Posts: 2

[Solved] Can't Upgrade With Pacman Because Of File Conflicts

Hey all. I'm brand new to Arch coming from the Debian world. This is my first day with Arch and my first post.

I'm playing around with a virtual machine at one of the big virtual machine hosts and am having some trouble doing a system update. I was thinking of posting this under a more Pacman specific category but I figure since I'm so new it's probably a basic issue.

So far I just logged in as root, created a non-root user with sudo privileges, and logged in as that user. The only thing I know that's not-default with my system is that the VM hosting provider sets the package

linux

to be ignored since the kernel is outside my virtual machine.

I try to run:

sudo pacman -Syu

and see this

:: Synchronizing package databases...
 core                     106.6 KiB  92.9K/s 00:01 [######################] 100%
 extra                   1554.8 KiB   465K/s 00:03 [######################] 100%
 community               2017.5 KiB   470K/s 00:04 [######################] 100%
:: Starting full system upgrade...
:: Replace heirloom-mailx with core/s-nail? [Y/n]

I answer

Y

(I also tried saying N but got the same problems) and it continues with:

warning: linux: ignoring package upgrade (3.8.4-1 => 3.11.6-1)
resolving dependencies...
looking for inter-conflicts...

Packages (120): acl-2.2.52-2  archlinux-keyring-20131027-1  attr-2.4.47-1
                automake-1.14-1  bash-4.2.045-5  binutils-2.23.2-3  bison-3.0-1
                bzip2-1.0.6-5  ca-certificates-20130906-1  cloog-0.18.1-2
                coreutils-8.21-2  cracklib-2.9.0-2  cronie-1.4.9-5
                cryptsetup-1.6.2-2  curl-7.33.0-3  db-5.3.28-1  dbus-1.6.16-1
                device-mapper-2.02.103-2  dhcpcd-6.0.5-1  e2fsprogs-1.42.8-2
                expat-2.1.0-3  fakeroot-1.20-1  file-5.15-1
                filesystem-2013.05-2  gawk-4.1.0-2  gc-7.2.d-2  gcc-4.8.2-3
                gcc-libs-4.8.2-3  gdbm-1.10-3  gettext-0.18.3.1-2
                glib2-2.38.1-1  glibc-2.18-9  gmp-5.1.3-2  gnupg-2.0.22-1
                gpgme-1.4.3-1  grep-2.15-1  groff-1.22.2-5  guile-2.0.9-1
                gzip-1.6-1  heirloom-mailx-12.5-3 [removal]  hwids-20130607-1
                ifplugd-0.28-14  inetutils-1.9.1.341-1  iproute2-3.10.0-1
                iptables-1.4.19.1-1  iputils-20121221-3  isl-0.12.1-2
                jfsutils-1.1.15-4  kbd-2.0.0-2  keyutils-1.5.8-1  kmod-15-1
                krb5-1.11.3-1  libarchive-3.1.2-4  libassuan-2.1.1-1
                libedit-20130601_3.1-1  libffi-3.0.13-4  libgcrypt-1.5.3-1
                libgpg-error-1.12-1  libgssglue-0.4-2  libldap-2.4.37-1
                libltdl-2.4.2-12  libmpc-1.0.1-2  libnl-3.2.22-1
                libpipeline-1.2.4-1  libsasl-2.1.26-6  libssh2-1.4.3-2
                libtirpc-0.2.3-2  libtool-2.4.2-12  libunistring-0.9.3-6
                libusbx-1.0.17-1  linux-api-headers-3.10.6-1
                linux-firmware-20131013.7d0c7a8-1  logrotate-3.8.7-1
                lvm2-2.02.103-2  lzo2-2.06-3  m4-1.4.17-1  make-4.0-1
                man-db-2.6.5-1  man-pages-3.54-1  mdadm-3.3-1
                mkinitcpio-0.15.0-1  mkinitcpio-busybox-1.21.1-2
                mpfr-3.1.2.p3-2  ncurses-5.9-6  net-tools-1.60.20130531git-1
                nmap-6.40-1  openssh-6.3p1-1  openssl-1.0.1.e-4  pacman-4.1.2-4
                pacman-mirrorlist-20130830-1  pam-1.1.8-2  pambase-20130928-1
                pciutils-3.2.0-4  pcre-8.33-2  perl-5.18.1-1  pkgfile-10-1
                popt-1.16-7  ppl-1.1-1  ppp-2.4.5-8  procps-ng-3.3.8-3
                readline-6.2.004-2  reiserfsprogs-3.6.24-1  rsync-3.1.0-1
                run-parts-4.4-1  s-nail-14.4.5-1  sed-4.2.2-3  shadow-4.1.5.1-7
                sudo-1.8.8-1  syslinux-6.02-4  systemd-208-2
                systemd-sysvcompat-208-2  sysvinit-tools-2.88-12  tar-1.27-1
                texinfo-5.2-1  tzdata-2013h-1  usbutils-007-1
                util-linux-2.24-1  xfsprogs-3.1.11-2  xz-5.0.5-2  zlib-1.2.8-3

Total Download Size:    122.73 MiB
Total Installed Size:   471.38 MiB
Net Upgrade Size:       -49.21 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
 linux-api-headers-3...   690.2 KiB   273K/s 00:03 [######################] 100%
 tzdata-2013h-1-any       250.6 KiB  1385K/s 00:00 [######################] 100%
 . . . [LOTS OF DOWNLOADS HERE ALL SUCCESSFUL] . . .
 ppl-1.1-1-x86_64        1746.7 KiB  10.4M/s 00:00 [######################] 100%
 rsync-3.1.0-1-x86_64     244.0 KiB  79.4M/s 00:00 [######################] 100%
(119/119) checking keys in keyring                 [######################] 100%
(119/119) checking package integrity               [######################] 100%
(119/119) loading package files                    [######################] 100%
(119/119) checking for file conflicts              [######################] 100%
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.

I tried to find a place that might list the exact errors causing this failure but I was unsuccessful. For example, all I could find it

/var/log/pacman.log

is:

[2013-11-03 20:09] [PACMAN] Running 'pacman -Syu'
[2013-11-03 20:09] [PACMAN] synchronizing package lists
[2013-11-03 20:09] [PACMAN] starting full system upgrade

Anyway, can someone help me to figure out what is going wrong here and (more importantly) please give me some tips on how I can resolve this myself next time.

Thanks!

Last edited by dworzanski (2013-11-03 21:32:26)

Offline

#2 2013-11-03 20:33:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Can't Upgrade With Pacman Because Of File Conflicts

You (or the provider) should use the latest installation media: https://www.archlinux.org/news/binaries … ervention/


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-11-03 20:44:12

dworzanski
Member
Registered: 2013-11-03
Posts: 2

Re: [Solved] Can't Upgrade With Pacman Because Of File Conflicts

jasonwryan wrote:

You (or the provider) should use the latest installation media: https://www.archlinux.org/news/binaries … ervention/

And I'm upgraded smile Thanks!

You're right, they should use the latest installation media. Unfortunately even though it seems a popular request on their site, they have a 6-month old version.

Offline

#4 2013-11-03 21:25:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Can't Upgrade With Pacman Because Of File Conflicts

Cool. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB