[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Paketsystem verwirrt



Hallo,

bei einem meiner Server ist wohl das Paketsystem strubbelig. Ich habe mittlerweile alle mir sinnvoll erscheinenden Ideen durch (z.T. unten zu sehen) und würde mich über Vorschläge freuen. apt versteht, dass es z.B. libc6:amd64 bräuchte, kann/will das Paket aber nicht herunterladen:

# apt -d install dpkg:amd64 apt:amd64 python3:amd64 python3-apt:amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 adduser : Depends: passwd
 apt:amd64 : Depends: libc6:amd64 (>= 2.15) but it is not going to be installed
             Depends: libgnutls30:amd64 (>= 3.7.0) but it is not going to be installed
             Depends: libsystemd0:amd64
 dpkg:amd64 : PreDepends: libc6:amd64 (>= 2.15) but it is not going to be installed
              Depends: tar:amd64 (>= 1.28-1)
 libapt-pkg6.0:amd64 : Depends: libc6:amd64 (>= 2.27) but it is not going to be installed
                       Depends: libsystemd0:amd64 (>= 221)
                       Depends: libudev1:amd64 (>= 183) but it is not going to be installed
 libbz2-1.0:amd64 : Depends: libc6:amd64 (>= 2.4) but it is not going to be installed
 libgcc-s1:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
 libgcrypt20:amd64 : Depends: libc6:amd64 (>= 2.15) but it is not going to be installed
 libgpg-error0:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
 liblz4-1:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
 liblzma5:amd64 : Depends: libc6:amd64 (>= 2.17) but it is not going to be installed
 libpcre2-8-0:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
 libpython3-stdlib:amd64 : Depends: libpython3.9-stdlib:amd64 (>= 3.9.2-0~) but it is not going to be installed
 libseccomp2:amd64 : Depends: libc6:amd64 (>= 2.4) but it is not going to be installed
 libselinux1:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
 libstdc++6:amd64 : Depends: libc6:amd64 (>= 2.23) but it is not going to be installed
 libxxhash0:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
 libzstd1:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
 python3-apt:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
 python3.9:amd64 : Depends: libpython3.9-stdlib:amd64 (= 3.9.2-1) but it is not going to be installed
 python3.9-minimal:amd64 : PreDepends: libc6:amd64 (>= 2.29) but it is not going to be installed
                           Depends: libpython3.9-minimal:amd64 (= 3.9.2-1) but it is not going to be installed
                           Depends: libexpat1:amd64 (>= 2.1~beta3) but it is not going to be installed
 zlib1g:amd64 : Depends: libc6:amd64 (>= 2.14) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Von der fraglichen libc6:amd64 wären drei Versionen verfügbar:

# apt-cache show libc6:amd64
Package: libc6
Source: glibc
Version: 2.31-13+deb11u13
Installed-Size: 12834
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: amd64
Replaces: libc6-amd64
Depends: libgcc-s1, libcrypt1
Suggests: glibc-doc, debconf | debconf-2.0, libc-l10n, locales
Breaks: busybox (<< 1.30.1-6), hurd (<< 1:0.9.git20170910-1), ioquake3 (<< 1.36+u20200211.f2c61c1~dfsg-2~), iraf-fitsutil (<< 2018.07.06-4), libgegl-0.4-0 (<< 0.4.18), libtirpc1 (<< 0.2.3), locales (<< 2.31), locales-all (<< 2.31), macs (<< 2.2.7.1-3~), nocache (<< 1.1-1~), nscd (<< 2.31), openarena (<< 0.8.8+dfsg-4~), openssh-server (<< 1:8.1p1-5), r-cran-later (<< 0.7.5+dfsg-2), wcc (<< 0.0.2+dfsg-3)
Description-en: GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.
Description-md5: fc3001b0b90a1c8e6690b283a619d57f
Homepage: https://www.gnu.org/software/libc/libc.html
Multi-Arch: same
Recommends: libidn2-0 (>= 2.0.5~), libnss-nis, libnss-nisplus
Section: libs
Priority: optional
Filename: pool/updates/main/g/glibc/libc6_2.31-13+deb11u13_amd64.deb
Size: 2823280
SHA256: 22259b07ee4d6bc97fad5a828a9db5684e1d77db71464c4e3862ddef7d65310e

Package: libc6
Source: glibc
Version: 2.31-13+deb11u11
Installed-Size: 12834
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: amd64
Replaces: libc6-amd64
Depends: libgcc-s1, libcrypt1
Recommends: libidn2-0 (>= 2.0.5~), libnss-nis, libnss-nisplus
Suggests: glibc-doc, debconf | debconf-2.0, libc-l10n, locales
Breaks: busybox (<< 1.30.1-6), hurd (<< 1:0.9.git20170910-1), ioquake3 (<< 1.36+u20200211.f2c61c1~dfsg-2~), iraf-fitsutil (<< 2018.07.06-4), libgegl-0.4-0 (<< 0.4.18), libtirpc1 (<< 0.2.3), locales (<< 2.31), locales-all (<< 2.31), macs (<< 2.2.7.1-3~), nocache (<< 1.1-1~), nscd (<< 2.31), openarena (<< 0.8.8+dfsg-4~), openssh-server (<< 1:8.1p1-5), r-cran-later (<< 0.7.5+dfsg-2), wcc (<< 0.0.2+dfsg-3)
Description-en: GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.
Description-md5: fc3001b0b90a1c8e6690b283a619d57f
Multi-Arch: same
Homepage: https://www.gnu.org/software/libc/libc.html
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/g/glibc/libc6_2.31-13+deb11u11_amd64.deb
Size: 2822708
MD5sum: 22ff981b64d3bb663dd9331507e715f9
SHA256: 05f7264da867b37f4c5ce49266b558ea1e81e05a9464f623152fca70f3550282

Package: libc6
Source: glibc
Version: 2.31-13+deb11u5
Installed-Size: 12837
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: amd64
Replaces: libc6-amd64
Depends: libgcc-s1, libcrypt1
Recommends: libidn2-0 (>= 2.0.5~), libnss-nis, libnss-nisplus
Suggests: glibc-doc, debconf | debconf-2.0, libc-l10n, locales
Breaks: busybox (<< 1.30.1-6), hurd (<< 1:0.9.git20170910-1), ioquake3 (<< 1.36+u20200211.f2c61c1~dfsg-2~), iraf-fitsutil (<< 2018.07.06-4), libgegl-0.4-0 (<< 0.4.18), libtirpc1 (<< 0.2.3), locales (<< 2.31), locales-all (<< 2.31), macs (<< 2.2.7.1-3~), nocache (<< 1.1-1~), nscd (<< 2.31), openarena (<< 0.8.8+dfsg-4~), openssh-server (<< 1:8.1p1-5), r-cran-later (<< 0.7.5+dfsg-2), wcc (<< 0.0.2+dfsg-3)
Description-en: GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.
Description-md5: fc3001b0b90a1c8e6690b283a619d57f
Multi-Arch: same
Homepage: https://www.gnu.org/software/libc/libc.html
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/g/glibc/libc6_2.31-13+deb11u5_amd64.deb
Size: 2825060
SHA256: adf6994e4c000ff5b882db411a23925a5860a10146e27fa08fc08cb4d08e6d85
Eine andere, eigentlich "baugleiche" Maschine löst demgegenüber sauber die Abhängigkeiten auf und wäre bereit, sie herunterzuladen:

 # apt -d install dpkg:amd64 apt:amd64 python3:amd64 python3-apt:amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libdbus-1-3 libglib2.0-0 libmpdec3 libpython3-stdlib libpython3.9-minimal libpython3.9-stdlib python3-debconf
  python3-distro-info
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  gcc-10-base:amd64 libapt-pkg6.0:amd64 libbz2-1.0:amd64 libc6:amd64 libcom-err2:amd64 libcrypt1:amd64 libdb5.3:amd64
  libexpat1:amd64 libffi7:amd64 libgcc-s1:amd64 libgcrypt20:amd64 libgmp10:amd64 libgnutls30:amd64 libgpg-error0:amd64
  libgssapi-krb5-2:amd64 libhogweed6:amd64 libidn2-0:amd64 libk5crypto3:amd64 libkeyutils1:amd64 libkrb5-3:amd64
  libkrb5support0:amd64 liblz4-1:amd64 liblzma5:amd64 libmpdec3:amd64 libncursesw6:amd64 libnettle8:amd64
  libnsl2:amd64 libp11-kit0:amd64 libpcre2-8-0:amd64 libpython3-stdlib:amd64 libpython3.9-minimal:amd64
  libpython3.9-stdlib:amd64 libreadline8:amd64 libseccomp2:amd64 libselinux1:amd64 libsqlite3-0:amd64 libssl1.1:amd64
  libstdc++6:amd64 libsystemd0:amd64 libtasn1-6:amd64 libtinfo6:amd64 libtirpc3:amd64 libudev1:amd64
  libunistring2:amd64 libuuid1:amd64 libxxhash0:amd64 libzstd1:amd64 python3-minimal:amd64 python3.9:amd64
  python3.9-minimal:amd64 zlib1g:amd64
Suggested packages:
  apt-doc:amd64 dpkg-dev:amd64 powermgmt-base:amd64 debsig-verify:amd64 glibc-doc:amd64 locales:amd64 rng-tools:amd64
  gnutls-bin:amd64 krb5-doc:amd64 krb5-user:amd64 python3-doc:amd64 python3-tk:amd64 python3-venv:amd64
  python3-apt-dbg:amd64 python-apt-doc:amd64 python3.9-venv:amd64 python3.9-doc:amd64 binutils:amd64
  binfmt-support:amd64
Recommended packages:
  libnss-nis:amd64 libnss-nisplus:amd64 libgpg-error-l10n:amd64 krb5-locales:amd64 libgpm2:amd64 uuid-runtime:amd64
  iso-codes:amd64
The following packages will be REMOVED:
  apt apt-listchanges apt-utils apticron dpkg python3 python3-apt python3-dbus python3-minimal python3.9
  python3.9-minimal tasksel tasksel-data unattended-upgrades
The following NEW packages will be installed:
  apt:amd64 dpkg:amd64 gcc-10-base:amd64 libapt-pkg6.0:amd64 libbz2-1.0:amd64 libc6:amd64 libcom-err2:amd64
  libcrypt1:amd64 libdb5.3:amd64 libexpat1:amd64 libffi7:amd64 libgcc-s1:amd64 libgcrypt20:amd64 libgmp10:amd64
  libgnutls30:amd64 libgpg-error0:amd64 libgssapi-krb5-2:amd64 libhogweed6:amd64 libidn2-0:amd64 libk5crypto3:amd64
  libkeyutils1:amd64 libkrb5-3:amd64 libkrb5support0:amd64 liblz4-1:amd64 liblzma5:amd64 libmpdec3:amd64
  libncursesw6:amd64 libnettle8:amd64 libnsl2:amd64 libp11-kit0:amd64 libpcre2-8-0:amd64 libpython3-stdlib:amd64
  libpython3.9-minimal:amd64 libpython3.9-stdlib:amd64 libreadline8:amd64 libseccomp2:amd64 libselinux1:amd64
  libsqlite3-0:amd64 libssl1.1:amd64 libstdc++6:amd64 libsystemd0:amd64 libtasn1-6:amd64 libtinfo6:amd64
  libtirpc3:amd64 libudev1:amd64 libunistring2:amd64 libuuid1:amd64 libxxhash0:amd64 libzstd1:amd64 python3:amd64
  python3-apt:amd64 python3-minimal:amd64 python3.9:amd64 python3.9-minimal:amd64 zlib1g:amd64
0 upgraded, 55 newly installed, 14 to remove and 0 not upgraded.
Need to get 24,4 MB of archives.
After this operation, 56,3 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

Hat jemand eine Idee, was da los ist? Welche Infos kann ich liefern?

Identisch auf beiden Servern:
# dpkg --print-architecture
i386
# dpkg --print-foreign-architectures
amd64
# cat /etc/debian_version
11.11
# apt-mark showhold
# aptitude show ~ahold
# dpkg --configure -a
# apt clean && apt update && apt -d full-upgrade
[...]
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# apt update --fix-missing
[...]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
# aptitude search ~ramd64 | grep ^i
i A linux-image-5.10.0-35-amd64:amd64 - Linux 5.10 for 64-bit PCs (signe
i  linux-image-amd64:amd64 - Linux for 64-bit PCs (meta-package)
#


Danke & viele Grüße

Paul

PS: Vgl. anderer Thread, Ziel ist ein sog. Cross-Grade von i386 auf amd64. Die Probleme von - vermeintlich - crossgrader habe ich mittlerweile auf apt(?) bzw. eben das Paketsystem zurückgeführt.


Reply to: