Univention Bugzilla – Bug 45908
chromedriver installation fails
Last modified: 2018-03-14 14:38:02 CET
[master090] 2017-12-19T19:43:46.767114 Paketlisten werden gelesen... [master090] 2017-12-19T19:43:46.767114 Abhängigkeitsbaum wird aufgebaut.... [master090] 2017-12-19T19:43:47.355790 Statusinformationen werden eingelesen.... [master090] 2017-12-19T19:43:47.652166 Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass [master090] 2017-12-19T19:43:47.652166 Sie eine unmögliche Situation angefordert haben oder, wenn Sie die [master090] 2017-12-19T19:43:47.652166 Unstable-Distribution verwenden, dass einige erforderliche Pakete noch [master090] 2017-12-19T19:43:47.652166 nicht erstellt wurden oder Incoming noch nicht verlassen haben. [master090] 2017-12-19T19:43:47.652166 Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen: [master090] 2017-12-19T19:43:47.652961 Die folgenden Pakete haben unerfüllte Abhängigkeiten: [master090] 2017-12-19T19:43:47.867201 chromedriver : Hängt ab von: chromium-driver (= 62.0.3202.89-1~deb9u1) soll aber nicht installiert werden [master090] 2017-12-19T19:43:47.867201 chromium-browser : Hängt ab von: chromium (>= 10) soll aber nicht installiert werden [master090] 2017-12-19T19:43:47.916898 E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
I don't understand this problem...: root@master120:~# dpkg -l libcups2 libgtk2.0-0 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============================================================-====================================-====================================-================================================================================================================================= ii libcups2:amd64 1.7.5-11+deb8u1A~4.2.0.201703271703 amd64 Common UNIX Printing System(tm) - Core library ii libgtk2.0-0:amd64 2.24.31-2 amd64 GTK+ graphical user interface library root@master120:~# apt install chromium 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: chromium : Depends: libcups2 (>= 1.4.0) but it is not going to be installed Depends: libgtk2.0-0 (>= 2.24.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages. The versions are >= and the dependencies are already installed! # apt policy chromium chromium: Installed: (none) Candidate: 62.0.3202.89-1~deb9u1 Version table: 62.0.3202.89-1~deb9u1 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages 61.0.3163.100-1~deb9u1 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages root@master120:~# root@master120:~# root@master120:~# apt policy chromedriver chromium-driver chromium libcups2 libgtk2.0-0 chromedriver: Installed: (none) Candidate: 62.0.3202.89-1~deb9u1 Version table: 62.0.3202.89-1~deb9u1 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages 61.0.3163.100-1~deb9u1 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages chromium-driver: Installed: (none) Candidate: 62.0.3202.89-1~deb9u1 Version table: 62.0.3202.89-1~deb9u1 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages 61.0.3163.100-1~deb9u1 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages chromium: Installed: (none) Candidate: 62.0.3202.89-1~deb9u1 Version table: 62.0.3202.89-1~deb9u1 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages 61.0.3163.100-1~deb9u1 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages libcups2: Installed: 1.7.5-11+deb8u1A~4.2.0.201703271703 Candidate: 1.7.5-11+deb8u1A~4.2.0.201703271703 Version table: *** 1.7.5-11+deb8u1A~4.2.0.201703271703 500 500 http://apt.knut.univention.de/4.2/maintained 4.2-0/amd64/ Packages 100 /var/lib/dpkg/status 1.5.3-5.99.201510221331 500 500 http://apt.knut.univention.de/4.1/maintained 4.1-0/amd64/ Packages 1.5.3-5.96.201509111033 500 500 http://apt.knut.univention.de/4.0/maintained 4.0-4/amd64/ Packages 1.5.3-5.84.201411010252 500 500 http://apt.knut.univention.de/4.0/maintained 4.0-0/amd64/ Packages libgtk2.0-0: Installed: 2.24.31-2 Candidate: 2.24.31-2 Version table: *** 2.24.31-2 500 500 http://omar.knut.univention.de/build2 ucs_4.3-0/amd64/ Packages 500 http://apt.knut.univention.de/4.3/maintained 4.3-0/amd64/ Packages 100 /var/lib/dpkg/status 2.24.25-3+deb8u1 500 500 http://apt.knut.univention.de/4.2/maintained 4.2-0/amd64/ Packages 2.24.10-2.80.201403161621 500 500 http://apt.knut.univention.de/4.0/maintained 4.0-0/amd64/ Packages
Adding the additional dependencies usually helps to uncover the real issue: # apt-get -s install chromedriver chromium-driver chromium libcups2 -> Die folgenden Pakete haben unerfüllte Abhängigkeiten: chromium : Kollidiert mit: libnettle4 aber 2.7.1-5+deb8u2 soll installiert werden
The package libnettle4 does not exists in stretch anymore. There is libnettle4. They are both installed. Removing it doees not work, it would remove all essential packages. # apt rdepends libnettle4 libnettle4 Reverse Depends: Depends: nettle-dev (= 2.7.1-5+deb8u2) Depends: dnsmasq-base (>= 2.2) Depends: wget Depends: slapd-smbk5pwd Depends: librtmp1 Depends: rtmpdump Depends: squid-cgi Depends: squidclient Depends: squid3 Depends: qemu-utils (>= 2.6) Depends: qemu-system-x86 (>= 2.6) Depends: qemu-system-sparc (>= 2.6) Depends: qemu-system-ppc (>= 2.6) Depends: qemu-system-mips (>= 2.6) Depends: qemu-system-arm (>= 2.6) Depends: qemu-system-misc (>= 2.6) Depends: slapd-smbk5pwd Depends: libhogweed2 (= 2.7.1-5+deb8u2) Depends: nettle-dbg (= 2.7.1-5+deb8u2) Depends: nettle-bin (= 2.7.1-5+deb8u2) Depends: dnsmasq-base (>= 2.2) Depends: gnutls-bin Depends: libgnutls-deb0-28 (>= 2.7) Depends: libarchive13 (>= 2.3) Depends: bsdtar Depends: bsdcpio Depends: libcurl3-gnutls Depends: wget Depends: gstreamer1.0-plugins-bad Depends: rtmpdump Depends: librtmp1 Depends: libarchive12 (>= 2.3) Depends: slapd-smbk5pwd Depends: bsdtar Depends: bsdcpio Depends: libarchive12 (>= 2.3) Depends: slapd-smbk5pwd Conflicts: chromium Conflicts: chromium
libhogweed2 and libgnutls-deb0-28 are the cause as they are installed from UCS 4.2 and not available in UCS 4.3: # apt policy libhogweed2 libgnutls-deb0-28 libhogweed2: Installed: 2.7.1-5+deb8u2 Candidate: 2.7.1-5+deb8u2 Version table: *** 2.7.1-5+deb8u2 500 500 http://apt.knut.univention.de/4.2/maintained 4.2-0/amd64/ Packages 100 /var/lib/dpkg/status libgnutls-deb0-28: Installed: 3.3.8-6+deb8u4 Candidate: 3.3.8-6+deb8u4 Version table: *** 3.3.8-6+deb8u4 500 500 http://apt.knut.univention.de/4.2/maintained 4.2-0/amd64/ Packages 100 /var/lib/dpkg/status
Is there a faster way to debug this? Next candidate in the chain seems one of them: # apt-cache show $(dpkg -l $(apt-cache rdepends libgnutls-deb0-28) 2>/dev/null | grep ^ii | sed 's/:amd64//; s/ \+/ /g; s/^ii //; s/ /=/' | cut -d ' ' -f1) | grep -e Depends -e Package | grep --color=always -B1 -e Depends.*libgnutls-deb0-28 -e Depends.*libh ogweed2 Package: libcups2 Depends: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.14), libgnutls-deb0-28 (>= 3.3.0), libgssapi-krb5-2 (>= 1.10+dfsg~), zlib1g (>= 1:1.2.0) -- Package: libgnutls-deb0-28 Depends: libc6 (>= 2.17), libgmp10 (>= 2:6), libhogweed2 (>= 2.7), libnettle4 (>= 2.7), libp11-kit0 (>= 0.20.7), libtasn1-6 (>= 4.1-0), zlib1g (>= 1:1.1.4)
The reason is that libcups2 is not build for UCS 4.3: # apt-cache policy libcups2 libcups2: Installed: 1.7.5-11+deb8u1A~4.2.0.201703271703 Candidate: 1.7.5-11+deb8u1A~4.2.0.201703271703 Version table: *** 1.7.5-11+deb8u1A~4.2.0.201703271703 500 500 http://apt.knut.univention.de/4.2/maintained 4.2-0/amd64/ Packages 100 /var/lib/dpkg/status 1.5.3-5.99.201510221331 500 500 http://apt.knut.univention.de/4.1/maintained 4.1-0/amd64/ Packages 1.5.3-5.96.201509111033 500 500 http://apt.knut.univention.de/4.0/maintained 4.0-4/amd64/ Packages 1.5.3-5.84.201411010252 500 500 http://apt.knut.univention.de/4.0/maintained 4.0-0/amd64/ Packages It exists in stretch and doesn't have the dependency on libgnutls-deb0-28 anymore: https://packages.debian.org/stretch/libcups2
It seems "cups" has not been build for amd64 but only for i386.
ladda: ~ 14:56:03(0 J0 !32758 #5)$ build-package-architecture-ng -r 4.3 -p cups Latest version: /var/univention/buildsystem2/apt/ucs_4.3-0/source/cups_2.2.1-8A~4.3.0.201712201450.dsc 2.2.1-8A~4.3.0.201712201450 Architecture test passed; this package needs to be built on amd64 dpkg-source: Warnung: unsigniertes Quellpaket wird extrahiert (/var/univention/buildsystem2/apt/ucs_4.3-0/source/cups_2.2.1-8A~4.3.0.201712201450.dsc) dpkg-source: Information: cups wird nach cups-2.2.1 extrahiert dpkg-source: Fehler: unerkannte Datei für ein v2.0-Quellpaket: cups_2.2.1.orig.tar.gz.asc /usr/bin/build-package-architecture-ng: Zeile 259: cd: cups-*/debian/..: Datei oder Verzeichnis nicht gefunden @Philipp: The package cannot be built. There is also no failure email.
Maybe an error in the patch-migration for "cups"? Bug #45709 / Bug #45642.
(In reply to Florian Best from comment #8) > ladda: ~ 14:56:03(0 J0 !32758 #5)$ build-package-architecture-ng -r 4.3 -p > cups > > Latest version: > /var/univention/buildsystem2/apt/ucs_4.3-0/source/cups_2.2.1-8A~4.3.0. > 201712201450.dsc 2.2.1-8A~4.3.0.201712201450 > Architecture test passed; this package needs to be built on amd64 > dpkg-source: Warnung: unsigniertes Quellpaket wird extrahiert > (/var/univention/buildsystem2/apt/ucs_4.3-0/source/cups_2.2.1-8A~4.3.0. > 201712201450.dsc) > dpkg-source: Information: cups wird nach cups-2.2.1 extrahiert > dpkg-source: Fehler: unerkannte Datei für ein v2.0-Quellpaket: > cups_2.2.1.orig.tar.gz.asc > /usr/bin/build-package-architecture-ng: Zeile 259: cd: cups-*/debian/..: > Datei oder Verzeichnis nicht gefunden > > > @Philipp: The package cannot be built. There is also no failure email. See Bug #45804, ask Arvid.
*** This bug has been marked as a duplicate of bug 45804 ***
dpkg-source: Fehler: unerkannte Datei für ein v2.0-Quellpaket: cups_2.2.1.orig.tar.gz.asc english: error: unrecognized file for a v2.0 source package: cups_2.2.1.orig.tar.gz.asc dpkg-dev is too old on the build systems. Already for the i386 build I had to manually remove the .asc signature from the .dsc files (for cups and exim4). But they where added again to the generated source package (how?). I've rebuilt the cups package now on ladda.
Looks better now. I can now install the packages with: univention-install --yes chromium-browser chromedriver chromium If still fails if I only type in: univention-install --yes chromium-browser chromedriver (This is what utils.sh in ucs-test does) Fails: chromedriver : Hängt ab von: chromium-driver (= 62.0.3202.89-1~deb9u1) soll aber nicht installiert werden chromium-browser : Hängt ab von: chromium (>= 10) soll aber nicht installiert werden I adjusted utils.sh, so that it at least works in our nighly jenkins tests. I don't know if this is correct but it works.
(In reply to Arvid Requate from comment #12) > english: error: unrecognized file for a v2.0 source package: > cups_2.2.1.orig.tar.gz.asc > > dpkg-dev is too old on the build systems. Already for the i386 build I had > to manually remove the .asc signature from the .dsc files (for cups and > exim4). But they where added again to the generated source package (how?). 1. The source package is extracted on dimma (UCS-3.2 = Debian 6) using dpkg-1.15.8 2. Our patches get applied on dimma 3. Change into pbuilder of UCS-4.3 = Debian 9, using dpkg-1.18.24 - dpkg-buildpackage generates new source and binary packages - the .asc file is still there! - the new dpkg finds the .asc again and includes it into the .dsc 4. ladda (UCS-3.2 = Debian 6) extracts that new .dsc - fails again with dpkg-1.15.8
Ok, I've removed the asc file too, so it shouldn't happen again.
OK: chromedriver installation succeeds interim version, no changelog required.
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".