Warning: dependency cycle detected

Hello.

I’m new to Garuda Linux. I’m since 4 years on Linux with Debian and Ubuntu deveriate. Now I try Archlinux base Garuda Linux.

I’m has the warning that the packache libcamera-ipa will be installed before its libcamere dependency. To understand how the update prozessor work and to be aware of Erros I would want to install the libcamera dependency’s first. But I cannot find the right information, or I search wrong.

Could somebody have a hint or explain how it really works?

:: Paketdatenbanken werden synchronisiert …
 garuda wird heruntergeladen …
 core wird heruntergeladen …
 extra wird heruntergeladen …
 multilib wird heruntergeladen …
 chaotic-aur wird heruntergeladen …
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: libcamera-ipa will be installed before its libcamera dependency

Package (122)                         Old Version            New Version            Net Change  Download Size

core/acl                              2.3.1-3                2.3.2-1                  0.01 MiB       0.13 MiB
extra/alsa-card-profiles              1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.03 MiB
extra/atkmm                           2.28.3-1               2.28.4-1                 0.00 MiB       0.10 MiB
core/ca-certificates-mozilla          3.96.1-1               3.97-1                   0.00 MiB       0.36 MiB
chaotic-aur/chatterino2-git           2.4.5.r213.g5628605-1  2.4.5.r218.gc32ee8e-1    0.01 MiB       4.51 MiB
extra/cinnamon-screensaver            6.0.2-1                6.0.3-1                  0.00 MiB       0.17 MiB
extra/cinnamon-session                6.0.1-1                6.0.2-1                  0.00 MiB       0.10 MiB
extra/colord                          1.4.6-1                1.4.7-1                 -0.94 MiB       1.60 MiB
core/coreutils                        9.4-2                  9.4-3                    0.00 MiB       2.78 MiB
core/cryptsetup                       2.6.1-3                2.7.0-1                  0.18 MiB       0.74 MiB
core/dialog                           1:1.3_20231002-1       1:1.3_20240101-1         0.00 MiB       0.20 MiB
extra/discover                        5.27.10-1              5.27.10.1-1              0.01 MiB       1.01 MiB
extra/docker-compose                  2.24.2-1               2.24.3-1                 0.00 MiB      12.59 MiB
chaotic-aur/dxvk-mingw-git            2.3.r39.g61997768-1    2.3.r44.g2ca8fdf8-1      0.00 MiB       7.27 MiB
extra/eza                             0.17.2-1               0.17.3-1                 0.00 MiB       0.45 MiB
core/fakeroot                         1.32.2-1               1.33-1                   0.00 MiB       0.07 MiB
extra/fastfetch                       2.6.3-1                2.7.0-1                  0.02 MiB       0.49 MiB
extra/ffmpeg                          2:6.1.1-2              2:6.1.1-3                0.00 MiB      11.64 MiB
extra/ffmpeg4.4                       4.4.4-3                4.4.4-4                  0.00 MiB       8.65 MiB
extra/firefox                         121.0.1-1              122.0-1                  4.06 MiB      66.13 MiB
extra/fwupd                           1.9.11-2               1.9.12-1                 0.03 MiB       5.45 MiB
extra/geoip-database                  20231213-1             20240127-1               0.10 MiB       3.54 MiB
core/glib2                            2.78.3-1               2.78.4-1                 0.00 MiB       3.82 MiB
extra/gst-libav                       1.22.8-2               1.22.9-1                 0.00 MiB       0.09 MiB
extra/gst-plugin-pipewire             1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.05 MiB
extra/gst-plugins-bad                 1.22.8-2               1.22.9-1                 0.00 MiB       1.09 MiB
extra/gst-plugins-bad-libs            1.22.8-2               1.22.9-1                 0.00 MiB       2.40 MiB
extra/gst-plugins-base                1.22.8-2               1.22.9-1                 0.00 MiB       0.31 MiB
extra/gst-plugins-base-libs           1.22.8-2               1.22.9-1                 0.01 MiB       2.19 MiB
extra/gst-plugins-good                1.22.8-2               1.22.9-1                 0.00 MiB       2.18 MiB
extra/gst-plugins-ugly                1.22.8-2               1.22.9-1                 0.00 MiB       0.21 MiB
extra/gst-python                      1.22.8-2               1.22.9-1                 0.00 MiB       0.04 MiB
extra/gstreamer                       1.22.8-2               1.22.9-1                 0.00 MiB       1.79 MiB
extra/gstreamer-vaapi                 1.22.8-2               1.22.9-1                 0.00 MiB       0.31 MiB
extra/gtk3                            1:3.24.40-2            1:3.24.41-1              0.00 MiB       8.47 MiB
extra/kodi                            20.3-1                 20.3-2                   0.00 MiB      36.26 MiB
extra/kodi-eventclients               20.3-1                 20.3-2                   0.00 MiB       0.03 MiB
extra/kodi-platform                   20190726.809c5e9-46    20190726.809c5e9-47      0.00 MiB       0.01 MiB
multilib/lib32-acl                    2.3.1-2                2.3.2-1                  0.00 MiB       0.02 MiB
multilib/lib32-colord                 1.4.6-1                1.4.7-1                  0.00 MiB       0.12 MiB
multilib/lib32-glib2                  2.78.3-1               2.78.4-1                 0.00 MiB       1.22 MiB
multilib/lib32-gst-plugins-base-libs  1.22.8-1               1.22.9-1                 0.02 MiB       1.56 MiB
multilib/lib32-gstreamer              1.22.8-1               1.22.9-1                 0.00 MiB       1.00 MiB
multilib/lib32-gtk3                   1:3.24.40-2            1:3.24.41-1              0.00 MiB       2.85 MiB
multilib/lib32-libpng                 1.6.40-2               1.6.41-1                 0.00 MiB       0.13 MiB
multilib/lib32-libvpx                 1.13.1-1               1.14.0-1                 0.21 MiB       1.18 MiB
multilib/lib32-mesa                   1:23.3.3-1             1:23.3.4-2               0.00 MiB      16.72 MiB
multilib/lib32-nss                    3.96.1-1               3.97-1                   0.02 MiB       1.18 MiB
multilib/lib32-orc                    0.4.34-1               0.4.36-1                 0.13 MiB       0.21 MiB
multilib/lib32-systemd                255.2-1                255.3-1                  0.00 MiB       0.71 MiB
multilib/lib32-vulkan-icd-loader      1.3.274-1              1.3.276-1                0.00 MiB       0.15 MiB
multilib/lib32-xz                     5.4.5-1                5.4.6-1                  0.00 MiB       0.10 MiB
extra/libavif                         1.0.3-1                1.0.3-2                  0.00 MiB       0.14 MiB
extra/libcamera                       0.1.0-2                0.2.0-1                  0.01 MiB       0.44 MiB
extra/libcamera-ipa                   0.1.0-2                0.2.0-1                  0.01 MiB       0.11 MiB
extra/libcolord                       1.4.6-1                1.4.7-1                 -0.01 MiB       0.18 MiB
extra/libheif                         1.17.6-1               1.17.6-3                 0.00 MiB       0.36 MiB
extra/libjcat                         0.2.0-1                0.2.1-1                  0.00 MiB       0.08 MiB
extra/libpipewire                     1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.38 MiB
extra/libpng                          1.6.40-2               1.6.41-1                 0.00 MiB       0.24 MiB
chaotic-aur/librewolf                 121.0-1                122.0-1                  3.66 MiB      83.70 MiB
extra/libvpx                          1.13.1-1               1.14.0-1                 0.18 MiB       1.25 MiB
extra/libwpe                          1.14.1-2               1.14.2-1                 0.00 MiB       0.05 MiB
extra/lilv                            0.24.22-1              0.24.24-1                0.00 MiB       0.07 MiB
chaotic-aur/linux-amd-znver3          6.7.v.1-1              6.7.v.2-1                0.01 MiB      91.29 MiB
chaotic-aur/linux-amd-znver3-headers  6.7.v.1-1              6.7.v.2-1                0.00 MiB      15.07 MiB
extra/linux-zen                       6.7.zen3-1             6.7.1.zen1-1             0.07 MiB     135.08 MiB
extra/linux-zen-headers               6.7.zen3-1             6.7.1.zen1-1             0.00 MiB      25.75 MiB
extra/lollypop                        1.4.37-3               1.4.37-4                 0.00 MiB       0.49 MiB
extra/mbedtls                         3.4.1-1                3.5.1-1                  0.12 MiB       0.96 MiB
extra/mesa                            1:23.3.3-1             1:23.3.4-2               0.00 MiB      17.84 MiB
chaotic-aur/mintstick                 1.5.8-1                1.6.0-1                  0.00 MiB       0.06 MiB
extra/nodejs                          21.6.0-2               21.6.1-1                 0.00 MiB      12.18 MiB
core/nss                              3.96.1-1               3.97-1                   0.02 MiB       1.59 MiB
extra/obs-studio                      30.0.2-1               30.0.2-2                 0.00 MiB       5.77 MiB
extra/openmpi                         4.1.6-2                4.1.6-3                  0.00 MiB       2.89 MiB
extra/orc                             0.4.34-1               0.4.36-1                 0.17 MiB       0.27 MiB
extra/pacman-contrib                  1.10.1-1               1.10.2-1                 0.00 MiB       0.05 MiB
extra/pangomm                         2.46.3-1               2.46.4-1                 0.00 MiB       0.10 MiB
chaotic-aur/patool                    2.0.0-2                2.1.0-1                  0.00 MiB       0.12 MiB
extra/pipewire                        1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.64 MiB
extra/pipewire-alsa                   1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.00 MiB
extra/pipewire-audio                  1:1.0.1-1              1:1.0.1-2                0.00 MiB       1.15 MiB
extra/pipewire-jack                   1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.15 MiB
extra/pipewire-pulse                  1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.19 MiB
extra/pipewire-v4l2                   1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.04 MiB
extra/pipewire-x11-bell               1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.01 MiB
extra/pipewire-zeroconf               1:1.0.1-1              1:1.0.1-2                0.00 MiB       0.09 MiB
extra/protobuf                        25.1-1                 25.2-1                   0.00 MiB       2.34 MiB
chaotic-aur/proton-ge-custom          2:GE.Proton8.27-1      2:GE.Proton8.27-4        0.65 MiB     353.95 MiB
extra/python-jaraco.functools         3.9.0-1                4.0.0-1                  0.00 MiB       0.02 MiB
extra/python-markupsafe               2.1.3-1                2.1.4-1                  0.00 MiB       0.02 MiB
extra/python-protobuf                 25.1-1                 25.2-1                   0.00 MiB       0.36 MiB
extra/python-toolz                    0.12.0-3               0.12.1-1                 0.00 MiB       0.14 MiB
extra/qt5-webengine                   5.15.16-2              5.15.16-3                0.00 MiB      48.37 MiB
extra/qt5pas                          2.6.2.2.6-2            1:1.2.15-1               0.02 MiB       0.48 MiB
chaotic-aur/rate-mirrors              0.17.0-1               0.17.1-1                -0.12 MiB       3.21 MiB
extra/rav1e                           0.6.6-3                0.7.1-1                  0.07 MiB       1.56 MiB
extra/sdl2_mixer                      2.6.3-2                2.8.0-1                  0.04 MiB       0.11 MiB
extra/sdl2_ttf                        2.20.2-2               2.22.0-1                 0.00 MiB       0.04 MiB
extra/serd                            0.32.0-1               0.32.2-1                 0.00 MiB       0.06 MiB
extra/signal-desktop                  6.44.1-1               6.45.1-1                 0.11 MiB     111.19 MiB
extra/suitesparse                     7.5.1-1                7.6.0-1                  0.00 MiB      23.08 MiB
core/systemd                          255.2-3                255.3-1                  0.01 MiB       8.09 MiB
core/systemd-libs                     255.2-3                255.3-1                  0.00 MiB       1.08 MiB
core/systemd-sysvcompat               255.2-3                255.3-1                  0.00 MiB       0.01 MiB
extra/telegram-desktop                4.14.9-2               4.14.9-3                 0.00 MiB      33.06 MiB
extra/thunderbird                     115.6.1-1              115.7.0-2                0.07 MiB      55.90 MiB
chaotic-aur/ungoogled-chromium        120.0.6099.224-1       121.0.6167.85-1         -9.09 MiB     129.53 MiB
extra/virtiofsd                       1.10.0-1               1.10.1-1                 0.00 MiB       0.80 MiB
extra/virtualbox                      7.0.14-1               7.0.14-2                 0.00 MiB      56.61 MiB
extra/virtualbox-ext-vnc              7.0.14-1               7.0.14-2                 0.00 MiB       0.08 MiB
extra/virtualbox-host-dkms            7.0.14-1               7.0.14-2                 0.00 MiB       0.74 MiB
extra/virtualbox-sdk                  7.0.14-1               7.0.14-2                 0.00 MiB       7.54 MiB
extra/vivaldi                         6.5.3206.55-1          6.5.3206.57-1            0.00 MiB     110.02 MiB
extra/vlc                             3.0.20-5               3.0.20-6                 0.00 MiB      11.70 MiB
extra/vulkan-headers                  1:1.3.274-1            1:1.3.276-1              0.36 MiB       1.18 MiB
extra/vulkan-icd-loader               1.3.274-1              1.3.276-1                0.00 MiB       0.14 MiB
multilib/wine                         9.0-1                  9.1-1                    0.74 MiB     194.90 MiB
extra/xdg-utils                       1.2.0r25+g0f49cf5-1    1.2.0r28+g9b7d253-1      0.01 MiB       0.06 MiB
core/xz                               5.4.5-1                5.4.6-1                  0.00 MiB       0.60 MiB
chaotic-aur/yay-git                   12.2.0.r5.gb81d34d-1   12.2.0.r18.gaa6cad7-1   -0.02 MiB       3.56 MiB

Total Download Size:   1773.77 MiB
Total Installed Size:  6263.04 MiB
Net Upgrade Size:         1.04 MiB

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

Just press enter. It works automatically.

As always, we are missing the garuda-inxi!

5 Likes

Hello SGS,

thanks for your answer. I thought, the <> is enough to garuda-inxi, because I have only the Question, if I can do better with te dependency cycle. I thought, I have to manuell install the dependency because of the waring.

What is the information about this warning then, if it works automatically? I want to understand this Linux :smiley:

Suppose there are two packages A and B.

A depends on B, A → B
and B depends on A, A ← B
this means that if you want A you need B and if you want B you need A. You can’t have one package without other. A <==> B
As you can see this is a cycle, the dependency cycle.

When pacman detected this cycle it smartly decided to install both the needed packages together and just informed you of the order in which it is going to install them. This order is inconsequential as long as both the packages are installed.


Google translate:

Angenommen, es gibt zwei Pakete A und B.

A hängt von B ab, A → B
und B hängt von A, A ← B ab
Das heißt, wenn Sie A wollen, brauchen Sie B, und wenn Sie B wollen, brauchen Sie A. Es gibt kein Paket ohne das andere. A <==> B
Wie Sie sehen, handelt es sich hierbei um einen Zyklus, den Abhängigkeitszyklus.

Als Pacman diesen Zyklus erkannte, entschied es sich klugerweise, beide benötigten Pakete zusammen zu installieren und teilte Ihnen lediglich die Reihenfolge mit, in der sie installiert werden sollen. Diese Reihenfolge spielt keine Rolle, solange beide Pakete installiert sind.

Bitte befolgen Sie außerdem die Vorlage und geben Sie in Zukunft garuda-inxi an

2 Likes

Thank you for your post. I understand this now :smiley:

The Google translate ist good to. But I can read english better then I write it :smiley:

For next time I use the example with garuda-inxi.

Thanks for your advice. Geetings from Germany.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.