Warning: dependency cycle detected

Hello, everyone. Newbie question: The command ‘LANG=C sudo pacman -Syu’ returned the following response:

[ws@endeavouros ~]$ update
[sudo] password for ws: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: systemd will be installed before its ca-certificates-mozilla dependency

Packages (82) adwaita-icon-theme-3.36.1-1  bind-tools-9.16.2-1
              ca-certificates-mozilla-3.51.1-1  chromium-81.0.4044.122-1
              cmake-3.17.1-2  darktable-2:3.0.2-1  dhcpcd-9.0.2-1
              endeavouros-mirrorlist-2-1  eos-update-notifier-1.0.7-1
              ffmpeg-1:4.2.2-6  file-roller-3.36.2-1  flashplugin-32.0.0.363-1
              gawk-5.1.0-1  gimp-plugin-gmic-2.9.0-3  git-2.26.2-1
              glib-networking-2.64.2-1  gmic-2.9.0-3  gnome-calendar-3.36.1-1
              gnome-contacts-3.36.1-1  gssproxy-0.8.3-1  harfbuzz-2.6.5-1
              harfbuzz-icu-2.6.5-1  hwinfo-21.70-1  iana-etc-20200401-1
              imagemagick-7.0.10.7-1  konsole-19.12.3-2  lib32-atk-2.36.0-1
              lib32-harfbuzz-2.6.5-1  lib32-llvm-libs-10.0.0-1
              lib32-mesa-20.0.4-2  lib32-nss-3.51.1-1
              lib32-openssl-1:1.1.1.g-1  lib32-systemd-245.5-1
              libgsf-1.14.47-1  libqmi-1.24.10-1  libreoffice-fresh-6.4.3-1
              libreoffice-fresh-de-6.4.3-1  libsecret-0.20.3-1
              libtirpc-1.2.6-1  libutil-linux-2.35.1-2  libuv-1.37.0-1
              libva-2.7.1-1  libyaml-0.2.4-1  linux-5.6.6.arch1-1
              llvm-libs-10.0.0-1  man-pages-5.06-1  mesa-20.0.4-2
              mesa-demos-8.4.0-3  mesa-vdpau-20.0.4-2
              mlocate-0.26.git.20170220-3  neon-0.31.0-1  nodejs-13.13.0-1
              nss-3.51.1-1  oniguruma-6.9.5-1  opencv-4.3.0-3  openmp-10.0.0-1
              openssl-1.1.1.g-1  openvpn-2.4.9-2  pepper-flash-32.0.0.363-1
              perl-alien-build-2.21-1  perl-alien-libxml2-0.16-1
              perl-libwww-6.44-1  pixman-0.40.0-1  python-cachetools-4.1.0-1
              python-cryptography-2.9.2-1  python-dulwich-0.19.16-1
              python-httplib2-0.17.3-1  python-urllib3-1.25.9-1
              python2-numpy-1.16.6-1  reflector-simple-1.3.3-1
              s-nail-14.9.18-1  systemd-245.5-1  systemd-libs-245.5-1
              systemd-sysvcompat-245.5-1  util-linux-2.35.1-2
              webkit2gtk-2.28.1-1  welcome-2.4.43-4  wine-5.6-1
              xf86-video-intel-1:2.99.917+906+g846b53da-1  xfsprogs-5.6.0-1
              xmlsec-1.2.30-1  xorgproto-2020.1-1

Total Installed Size:  2130,40 MiB
Net Upgrade Size:        15,21 MiB

:: Proceed with installation? [Y/n] Y
(82/82) checking keys in keyring                   [######################] 100%
(82/82) checking package integrity                 [######################] 100%
(82/82) loading package files                      [######################] 100%
(82/82) checking for file conflicts                [######################] 100%
error: failed to commit transaction (conflicting files)
nss: /usr/lib/p11-kit-trust.so exists in filesystem
lib32-nss: /usr/lib32/p11-kit-trust.so exists in filesystem
Errors occurred, no packages were upgraded.
[ws@endeavouros ~]$ ^C
[ws@endeavouros ~]$ 

I would be very happy about a few tips! Thanks!

That warning is normal, nothing to worry about.

This is your issue:

Try:

sudo pacman -Syu --overwrite usr/lib\*/p11-kit-trust.so
3 Likes

Hello @mr.ed
Long time we haven’t heard from you since the early beginnings. I hope you are doing well? You should visit more often. Stay strong! :muscle:

hello , consult the threads on the subject at the forum level and watch archlinux.org

Or a little yay -Pw before updating :nerd_face:

Single w will fetch arch news newer than the building date of the installed packages, and double ww will get them all :slight_smile:

3 Likes

It worked! Many thanks to @dalto and the friendliest Linux community in the world! You may ask questions here without being called stupid in answers. You have the chance to learn something!

8 Likes