Hello.
Occasionally, when I want to install some new packages, I’ll get a warning that a dependency cycle has been detected. A recent example:
% sudo pacman -S aarch64-linux-gnu-gcc
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: aarch64-linux-gnu-glibc will be installed before its aarch64-linux-gnu-gcc dependency
Package (4) New Version Net Change Download Size
community/aarch64-linux-gnu-binutils 2.38-1 24.91 MiB 3.77 MiB
community/aarch64-linux-gnu-glibc 2.35-1 19.43 MiB 3.40 MiB
community/aarch64-linux-gnu-linux-api-headers 5.18-1 5.58 MiB 1.24 MiB
community/aarch64-linux-gnu-gcc 12.1.0-1 272.24 MiB 44.58 MiB
Total Download Size: 52.99 MiB
Total Installed Size: 322.16 MiB
:: Proceed with installation? [Y/n] n
% sudo pacman -S aarch64-linux-gnu-glibc
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: aarch64-linux-gnu-gcc will be installed before its aarch64-linux-gnu-glibc dependency
Package (4) New Version Net Change Download Size
community/aarch64-linux-gnu-binutils 2.38-1 24.91 MiB 3.77 MiB
community/aarch64-linux-gnu-gcc 12.1.0-1 272.24 MiB 44.58 MiB
community/aarch64-linux-gnu-linux-api-headers 5.18-1 5.58 MiB 1.24 MiB
community/aarch64-linux-gnu-glibc 2.35-1 19.43 MiB 3.40 MiB
Total Download Size: 52.99 MiB
Total Installed Size: 322.16 MiB
:: Proceed with installation? [Y/n] n
Is this an EndeavourOS - specific problem? Or a bug with pacman in general? Do I proceed safely?
Thank you.