Bug 45912 - wrong version of gnupg on updates-test
wrong version of gnupg on updates-test
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Philipp Hahn
Felix Botner
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-20 12:39 CET by Felix Botner
Modified: 2018-03-14 14:38 CET (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-12-20 12:39:30 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
Comment 1 Felix Botner univentionstaff 2017-12-21 14:51:33 CET
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
Comment 2 Felix Botner univentionstaff 2017-12-21 17:07:29 CET
This blocks the jenkins test (update fails with univention-samba4)
Comment 3 Arvid Requate univentionstaff 2017-12-21 17:20:55 CET
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...
Comment 4 Felix Botner univentionstaff 2017-12-21 18:12:13 CET
(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
Comment 5 Philipp Hahn univentionstaff 2017-12-22 10:20:53 CET
For some yet unknown reason the newer gnupg2 package is deleted:
> deleting amd64/gnupg_2.1.18-8~deb9u1_amd64.deb
Comment 6 Philipp Hahn univentionstaff 2017-12-22 16:21:15 CET
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
Comment 7 Felix Botner univentionstaff 2018-01-08 12:42:25 CET
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]
Comment 8 Stefan Gohmann univentionstaff 2018-03-14 14:38:23 CET
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".