Dependency cycle detected

Occassionally when using Arch Linux, you may come across a warning: dependency cycle detected message when trying to update your system using pacman.

[andy@home-pc ~]$ sudo pacman -Syu
[sudo] password for andy: 
:: Synchronising package databases...
 core                                                                                                 121.5 KiB   513K/s 00:00 [############################################################################] 100%
 extra                                                                                               1751.1 KiB   995K/s 00:02 [############################################################################] 100%
 community                                                                                              2.7 MiB  1378K/s 00:02 [############################################################################] 100%
 multilib                                                                                             126.2 KiB  2.46M/s 00:00 [############################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: nvidia-utils will be installed before its nvidia-libgl dependency

Packages (82) bind-tools-9.10.2.P3-1  binutils-2.25.1-1  colord-1.2.11-1  dbus-1.8.20-1  device-mapper-2.02.125-1  dhcpcd-6.9.1-1  exiv2-0.25-1  ffmpeg-1:2.7.2-2  gcc-5.2.0-1  gcc-libs-5.2.0-1
              gdk-pixbuf2-2.31.5-1  git-2.5.0-1  gnutls-3.4.3-1  gtk-update-icon-cache-3.16.6-1  gtk3-3.16.6-1  harfbuzz-1.0.1-1  harfbuzz-icu-1.0.1-1  hicolor-icon-theme-0.15-1  i3-wm-4.10.3-1
              kdebase-runtime-15.04.3-4  kdeclarative-5.12.0-2  kfilemetadata-5.9.2-2  kinfocenter-5.3.2-2  kio-extras-5.3.2-2  lib32-acl-2.2.52-2  lib32-curl-7.43.0-1  lib32-gcc-libs-5.2.0-1
              lib32-gdk-pixbuf2-2.31.5-1  lib32-gnutls-3.4.3-1  lib32-libdbus-1.8.20-1  lib32-libldap-2.4.41-1  lib32-libtiff-4.0.4-1  lib32-mesa-10.6.3-1  lib32-nvidia-libgl-352.30-1
              lib32-nvidia-utils-352.30-1  lib32-systemd-224-1  libcups-2.0.4-1  libdatrie-0.2.9-1  libdbus-1.8.20-1  libepoxy-1.3.1-1  libinput-0.21.0-1  libpgm-5.2.122-2  libsecret-0.18.3-1
              libsodium-1.0.3-1  libsoxr-0.1.1-3  libsystemd-224-1  libteam-1.17-1  libthai-0.1.22-1  libtool-2.4.6-3  libunistring-0.9.6-1  libx264-2:148.20150725-1  linux-4.1.4-1
              linux-firmware-20150722.e10097a-1  llvm-libs-3.6.2-2  lvm2-2.02.125-1  man-pages-4.01-1  mercurial-3.5-1  mesa-10.6.3-1  mpfr-3.1.3.p4-1  netctl-1.11-1  npm-2.13.2-1  nvidia-352.30-2
              nvidia-libgl-352.30-1  nvidia-utils-352.30-1  openssh-6.9p1-2  os-prober-1.66-1  pacman-4.2.1-2  pacman-mirrorlist-20150731-1  perl-http-message-6.10-1  perl-net-ssleay-1.70-1  perl-uri-1.69-1
              perl-yaml-tiny-1.69-1  qt4-4.8.7-2  s-nail-14.8.4-1  speech-dispatcher-0.8.3-5  sqlite-3.8.11.1-1  strigi-0.7.8-7  sudo-1.8.14.p3-2  systemd-224-1  systemd-sysvcompat-224-1  talloc-2.1.3-1
              zeromq-4.1.2-3

Total Download Size:    274.19 MiB
Total Installed Size:  1033.57 MiB
Net Upgrade Size:        21.87 MiB

:: Proceed with installation? [Y/n] n

Here we simply need to update the nvidia-libgl package……

[andy@home-pc ~]$ sudo pacman -S nvidia-libgl
resolving dependencies...
looking for conflicting packages...

Packages (1) nvidia-libgl-352.30-1

Total Download Size:   0.00 MiB
Total Installed Size:  0.03 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
 nvidia-libgl-352.30-1-x86_64                                                                        1388.0   B  0.00B/s 00:00 [############################################################################] 100%
(1/1) checking keys in keyring                                                                                                 [############################################################################] 100%
(1/1) checking package integrity                                                                                               [############################################################################] 100%
(1/1) loading package files                                                                                                    [############################################################################] 100%
(1/1) checking for file conflicts                                                                                              [############################################################################] 100%
(1/1) checking available disk space                                                                                            [############################################################################] 100%
(1/1) upgrading nvidia-libgl                                                                                                   [############################################################################] 100%
[andy@home-pc ~]$ sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (81) bind-tools-9.10.2.P3-1  binutils-2.25.1-1  colord-1.2.11-1  dbus-1.8.20-1  device-mapper-2.02.125-1  dhcpcd-6.9.1-1  exiv2-0.25-1  ffmpeg-1:2.7.2-2  gcc-5.2.0-1  gcc-libs-5.2.0-1
              gdk-pixbuf2-2.31.5-1  git-2.5.0-1  gnutls-3.4.3-1  gtk-update-icon-cache-3.16.6-1  gtk3-3.16.6-1  harfbuzz-1.0.1-1  harfbuzz-icu-1.0.1-1  hicolor-icon-theme-0.15-1  i3-wm-4.10.3-1
              kdebase-runtime-15.04.3-4  kdeclarative-5.12.0-2  kfilemetadata-5.9.2-2  kinfocenter-5.3.2-2  kio-extras-5.3.2-2  lib32-acl-2.2.52-2  lib32-curl-7.43.0-1  lib32-gcc-libs-5.2.0-1
              lib32-gdk-pixbuf2-2.31.5-1  lib32-gnutls-3.4.3-1  lib32-libdbus-1.8.20-1  lib32-libldap-2.4.41-1  lib32-libtiff-4.0.4-1  lib32-mesa-10.6.3-1  lib32-nvidia-libgl-352.30-1
              lib32-nvidia-utils-352.30-1  lib32-systemd-224-1  libcups-2.0.4-1  libdatrie-0.2.9-1  libdbus-1.8.20-1  libepoxy-1.3.1-1  libinput-0.21.0-1  libpgm-5.2.122-2  libsecret-0.18.3-1
              libsodium-1.0.3-1  libsoxr-0.1.1-3  libsystemd-224-1  libteam-1.17-1  libthai-0.1.22-1  libtool-2.4.6-3  libunistring-0.9.6-1  libx264-2:148.20150725-1  linux-4.1.4-1
              linux-firmware-20150722.e10097a-1  llvm-libs-3.6.2-2  lvm2-2.02.125-1  man-pages-4.01-1  mercurial-3.5-1  mesa-10.6.3-1  mpfr-3.1.3.p4-1  netctl-1.11-1  npm-2.13.2-1  nvidia-352.30-2
              nvidia-utils-352.30-1  openssh-6.9p1-2  os-prober-1.66-1  pacman-4.2.1-2  pacman-mirrorlist-20150731-1  perl-http-message-6.10-1  perl-net-ssleay-1.70-1  perl-uri-1.69-1  perl-yaml-tiny-1.69-1
              qt4-4.8.7-2  s-nail-14.8.4-1  speech-dispatcher-0.8.3-5  sqlite-3.8.11.1-1  strigi-0.7.8-7  sudo-1.8.14.p3-2  systemd-224-1  systemd-sysvcompat-224-1  talloc-2.1.3-1  zeromq-4.1.2-3

Total Download Size:    274.19 MiB
Total Installed Size:  1033.54 MiB
Net Upgrade Size:        21.87 MiB

:: Proceed with installation? [Y/n] Y

…and then proceed with the system update as normal.

Be the first to comment

Leave a Reply