Univention Bugzilla – Bug 36455
Update from UCS 3.2-3 → 4.0 fails with installed gcc package
Last modified: 2014-11-26 06:54:42 CET
> The following packages have unmet dependencies: > libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8.3.201104271833 is to be installed > libgcc1 : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8.3.201104271833 is to be installed > libgomp1 : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8.3.201104271833 is to be installed > E: Broken packages > failed. > ERROR: Failed to upgrade univention-ldap-config. > Error: Update aborted by pre-update script of release 4.0-0 After uninstalling gcc, I could update.
Update worked with unmaintained enabled, and looking at what get's downloaded, I'd say gcc-4.4 just needs to be added to the DVD list (like cpp-4-4 and other packages which are already on that list). Let's see in QA after the new DVD has been built tonight (currently the DVD rebuilt is blocked due to ongoing package builds).
No, i still get Die folgenden Pakete haben unerfüllte Abhängigkeiten: libc6-dev : Beschädigt: gcc-4.4 (< 4.4.6-4) aber 4.4.5-8.3.201104271833 soll installiert werden libgcc1 : Beschädigt: gcc-4.4 (< 4.4.6-4) aber 4.4.5-8.3.201104271833 soll installiert werden libgomp1 : Beschädigt: gcc-4.4 (< 4.4.6-4) aber 4.4.5-8.3.201104271833 soll installiert werden E: Beschädigte Pakete
gcc was installed during the installation of univention-system-setup-boot
Ok, there is a difference between i386 and amd64. In amd64 it works, in i386 not. The current theory is this: Updating univention-ldap-config requires updating univention-ldap-server, as univention-ldap-server has a versioned dependency. univention-ldap-server pulls db5.1-util pulls libdb5.1 which pre-depnds on multiarch-support. And multiarch-support finally declares versioned dependencies on libc6 which are more strict for i386: ===================================================================== Package: multiarch-support Priority: required Section: libs Installed-Size: 181 Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org> Architecture: i386 Source: eglibc Version: 2.13-38.17.201410221243 Depends: libc6 (>= 2.13-5) Package: multiarch-support Priority: required Section: libs Installed-Size: 181 Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org> Architecture: amd64 Source: eglibc Version: 2.13-38.17.201410221243 Depends: libc6 (>= 2.3.6-2) ===================================================================== I added gcc-4.4 to the pre-update list, it only get's updated if it has been installed before. As a result we have two different update paths: Only if gcc-4.4 is installed then libc6 is pre-updated along with it. Alternatively we could pre-update gcc-4.4-base, which seems to be present by default on all standard UCS installations. Then libc6 would always be pre-updated. Trying with gcc-4.4 for now. Changelog entry added.
OK - update i386 with gcc (gcc-4.4) OK - update i386 without gcc (gcc-4.4) OK - update amd64 with gcc (gcc-4.4) OK - update amd64 without gcc (gcc-4.4) OK - Changelog
This still fails (on amd64) when upgrading from UCS 2.4-3: =========================================================================== Starting pre-upgrade of gcc-4.4: Paketlisten werden gelesen... Abhängigkeitsbaum wird aufgebaut... Statusinformationen werden eingelesen... Probieren Sie »apt-get -f install«, um dies zu korrigieren: Die folgenden Pakete haben unerfüllte Abhängigkeiten: clamav-daemon : Hängt ab von: libclamav6 (>= 0.98.1+dfsg) soll aber nicht installiert werden Hängt ab von: clamav-base (= 0.98.1+dfsg-1.128.201406171144) soll aber nicht installiert werden Hängt ab von: clamav-freshclam soll aber nicht installiert werden oder clamav-data gcc-4.4 : Hängt ab von: gcc-4.4-base (= 4.4.7-2.8.201403121445) aber 4.4.5-8.3.201104271833 soll installiert werden Hängt ab von: cpp-4.4 (= 4.4.7-2.8.201403121445) aber 4.4.5-8.3.201104271833 soll installiert werden Hängt ab von: libgcc1 (>= 1:4.4.7-2.8.201403121445) aber 1:4.4.5-8.3.201104271833 soll installiert werden Hängt ab von: libgomp1 (>= 4.4.7-2.8.201403121445) aber 4.4.5-8.3.201104271833 soll installiert werden Empfiehlt: libc6-dev (>= 2.13-5) aber 2.11.3-4.10.201210011626 soll installiert werden E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt-get -f install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an). failed. ERROR: Failed to upgrade gcc-4.4. =========================================================================== Looks loke it works when pre-upgrading gcc-4.4-base instead. I adjusted the preup accordingly.
Still not ok.
Ok, the real issue seems to be a broken clamav-daemon package, this will be handled via Bug #36365 Comment 6.
OK - update amd64/i386 with gcc-4.4-base OK - Changelog
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".