Hallo,
APT verweigert die Installation von Paket snmp:i386. Dieses wird gebraucht, um die neueste Version von SANE zu installieren.
$ LC_ALL=C apt -s install snmp:i386 NOTE: This is only a simulation! apt needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree 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: ca-certificates-java : Depends: ca-certificates (>= 20121114) but it is not going to be installed dconf-service : Depends: default-dbus-session-bus or dbus-session-bus dictionaries-common : Depends: libtext-iconv-perl but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Das ist merkwürdig, obwohl alle nötigen Abhängigkeiten bereits installiert sind:
$ LC_ALL=C apt depends snmp:i386 snmp:i386 Depends: libc6:i386 (>= 2.7) Depends: libsnmp35:i386 (= 5.8+dfsg-2ubuntu2.3) Depends: libssl1.1:i386 (>= 1.1.0) Depends: <libsnmp-base:i386> (>= 5.7.3+dfsg-5) libsnmp-base Recommends: perl:i386 $ LC_ALL=C apt policy snmp:i386 libc6:i386 libsnmp35:i386 libssl1.1:i386 libssl1.1:i386 libsnmp-base:i386 libsnmp-base snmp:i386: Installiert: (keine) Installationskandidat: 5.8+dfsg-2ubuntu2.3 Versionstabelle: 5.8+dfsg-2ubuntu2.3 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 5.8+dfsg-2ubuntu2 500 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages libc6:i386: Installed: 2.31-0ubuntu9.7 Candidate: 2.31-0ubuntu9.7 Version table: *** 2.31-0ubuntu9.7 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 100 /var/lib/dpkg/status 2.31-0ubuntu9 500 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages libsnmp35:i386: Installed: 5.8+dfsg-2ubuntu2.3 Candidate: 5.8+dfsg-2ubuntu2.3 Version table: *** 5.8+dfsg-2ubuntu2.3 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 100 /var/lib/dpkg/status 5.8+dfsg-2ubuntu2 500 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages libssl1.1:i386: Installed: 1.1.1f-1ubuntu2.10 Candidate: 1.1.1f-1ubuntu2.10 Version table: *** 1.1.1f-1ubuntu2.10 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 100 /var/lib/dpkg/status 1.1.1f-1ubuntu2.8 500 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 1.1.1f-1ubuntu2 500 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages libssl1.1:i386: Installed: 1.1.1f-1ubuntu2.10 Candidate: 1.1.1f-1ubuntu2.10 Version table: *** 1.1.1f-1ubuntu2.10 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 100 /var/lib/dpkg/status 1.1.1f-1ubuntu2.8 500 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 1.1.1f-1ubuntu2 500 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages libsnmp-base:i386: Installed: (none) Candidate: (none) Version table: libsnmp-base: Installed: 5.8+dfsg-2ubuntu2.3 Candidate: 5.8+dfsg-2ubuntu2.3 Version table: *** 5.8+dfsg-2ubuntu2.3 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 100 /var/lib/dpkg/status 5.8+dfsg-2ubuntu2 500 500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages
Hat jemand eine Idee, warum das hier klemmt? Könnte es sich um einen Bug, evtl. in APT, handeln?
Die i386-Pakete werden aufgrund installiertem WineHQ benötigt, näheres hier.
Als Workaround lässt sich das Paket allerdings problemlos mittels dpkg installieren.
Danach wird auch ein Re-install problemlos per APT durchgeführt:
$ LC_ALL=C sudo apt --reinstall install snmp:i386 Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 171 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 snmp i386 5.8+dfsg-2ubuntu2.3 [171 kB] Fetched 171 kB in 0s (488 kB/s) (Reading database ... 412802 files and directories currently installed.) Preparing to unpack .../snmp_5.8+dfsg-2ubuntu2.3_i386.deb ... Unpacking snmp:i386 (5.8+dfsg-2ubuntu2.3) over (5.8+dfsg-2ubuntu2.3) ... Setting up snmp:i386 (5.8+dfsg-2ubuntu2.3) ... Processing triggers for man-db (2.9.1-1) ...