Univention Bugzilla – Bug 45912
wrong version of gnupg on updates-test
Last modified: 2018-03-14 14:38:23 CET
UCS member/slave/backup + samba, not joined, update to 4.3 fails (Reading database ... 82088 files and directories currently installed.) Preparing to unpack .../libicu52_52.1-8+deb8u6A~4.2.0.201712111856_amd64.deb ... Unpacking libicu52:amd64 (52.1-8+deb8u6A~4.2.0.201712111856) over (52.1-8+deb8u4) ... Preparing to unpack .../univention-directory-listener_11.0.1-41A~4.2.0.201712172238_amd64.deb ... Unpacking univention-directory-listener (11.0.1-41A~4.2.0.201712172238) over (11.0.1-27A~4.2.0.201704251445) ... Processing triggers for python-support (1.0.15.18.201403132013) ... Processing triggers for univention-config (13.0.0-2A~4.3.0.201712121144) ... Setting up winbind (2:4.7.3+dfsg-1A~4.3.0.201712181832) ... Job for winbind.service failed because the control process exited with error code. See "systemctl status winbind.service" and "journalctl -xe" for details. invoke-rc.d: initscript winbind, action "restart" failed. ◠winbind.service - Samba Winbind Daemon Loaded: loaded (/lib/systemd/system/winbind.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2017-12-20 05:59:25 EST; 17ms ago Docs: man:winbindd(8) man:samba(7) man:smb.conf(5) Process: 6764 ExecStart=/usr/sbin/winbindd $WINBINDOPTIONS (code=exited, status=1/FAILURE) Main PID: 6764 (code=exited, status=1/FAILURE) Status: "Starting process..." CPU: 108ms Dec 20 05:59:25 member107 systemd[1]: Starting Samba Winbind Daemon... Dec 20 05:59:25 member107 systemd[1]: winbind.service: Supervising process …its. Dec 20 05:59:25 member107 systemd[1]: winbind.service: Main process exited,…LURE Dec 20 05:59:25 member107 systemd[1]: Failed to start Samba Winbind Daemon. Dec 20 05:59:25 member107 systemd[1]: winbind.service: Unit entered failed …ate. Dec 20 05:59:25 member107 systemd[1]: winbind.service: Failed with result '…de'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package winbind (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for systemd (232-25+deb9u1A~4.3.0.201711221833) ... Processing triggers for man-db (2.7.6.1-2) ... dpkg: dependency problems prevent configuration of univention-samba: univention-samba depends on winbind; however: Package winbind is not configured yet. dpkg: error processing package univention-samba (--configure): dependency problems - leaving unconfigured
reason is, samba-dsdb-modules needs gnupg > 2, and on updates-test we have 1.4.18-7+deb8u3, strange thing is, the correct version is on our internal server apt-cache policy gnupg gnupg: Installiert: 2.1.18-8~deb9u1 Installationskandidat: 2.1.18-8~deb9u1 Versionstabelle: *** 2.1.18-8~deb9u1 500 500 http://192.168.0.10/build2 ucs_4.3-0/amd64/ Packages
This blocks the jenkins test (update fails with univention-samba4)
I've now done this: builddir="/var/univention/buildsystem2" srcdir="$builddir/apt/ucs_4.3-0" for target in mirror/testing test_mirror/ftp; do for arch in i386 amd64; do cp "$srcdir/$arch/gnupg_2.1.18-8~deb9u1_$arch.deb" \ "$builddir/$target/4.3/maintained/4.3-0/$arch/"; cd "$builddir/$target/4.3/maintained"; apt-ftparchive packages "4.3-0/$arch" > "4.3-0/$arch/Packages.new" \ && mv "4.3-0/$arch/Packages.new" "4.3-0/$arch/Packages" \ && gzip > "4.3-0/$arch/Packages.gz" < "4.3-0/$arch/Packages"; done done still running due to apt-ftparchive...
(In reply to Arvid Requate from comment #3) > I've now done this: > > builddir="/var/univention/buildsystem2" > srcdir="$builddir/apt/ucs_4.3-0" > for target in mirror/testing test_mirror/ftp; do > for arch in i386 amd64; do > cp "$srcdir/$arch/gnupg_2.1.18-8~deb9u1_$arch.deb" \ > "$builddir/$target/4.3/maintained/4.3-0/$arch/"; > cd "$builddir/$target/4.3/maintained"; > apt-ftparchive packages "4.3-0/$arch" > "4.3-0/$arch/Packages.new" \ > && mv "4.3-0/$arch/Packages.new" "4.3-0/$arch/Packages" \ > && gzip > "4.3-0/$arch/Packages.gz" < "4.3-0/$arch/Packages"; > done > done > > still running due to apt-ftparchive... after "Publish UCS 4 to testing" this change is lost, so we have to fix this in update_ucs4_testing_mirror.sh
For some yet unknown reason the newer gnupg2 package is deleted: > deleting amd64/gnupg_2.1.18-8~deb9u1_amd64.deb
I removed all duplicates manually using toolshed/REPO/repo-rm-dsc I also removed "gnupg" from "apt_4.3-0", as it is no longer part of Debian-Jessie - it got superseeded by "gnupg2" I also removed gnome-media 3.4.0-2+deb8u1 groovy2 2.2.2+dfsg-3+deb8u2 init-select 1.20140921+deb8u1 jasper 1.900.1-debian1-2.4+deb8u3 kedpm 1.0+deb8u1 libspring-ldap-java 1.3.1.RELEASE-5+deb8u1 openchange 2.2-6+deb8u1 polarssl 1.3.9-2.1+deb8u2 postgresql-9.4 9.4.15-0+deb8u1 rt-authen-externalauth 0.25-1+deb8u1 sam2p 0.49.2-3+deb8u1 transfig 3.2.5.e-4+deb8u1 Bug #37204 also caused havoc again. announce_ucs_release.py -r 4.3-0 -t -m -v -k /etc/archive-keys/ucs4.0.txt -K 6B8BFD3C
OK Get:473 http://updates-test.software-univention.de/4.3/maintained/ 4.3-0/amd64/ gnupg 2.1.18-8~deb9u1 [1,124 kB]
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".