Upgrading Kolab 16 from Jessie to Stretch (was: Status of GUAM and TLS>1.1 ?)

Christoph Erhardt <[email protected]>
Newsgroups gmane.comp.kde.devel.kroupware
Message-ID <2673385.uuuKei3Tzo__43514.8224387833$1536145667$gmane$org@delle>
Hi Johannes,

glad you got it to work! Now that you mentioned it, I remember these two 
additional pitfalls as well. I upgraded my system back in May and regretfully 
failed to take notes. ;-)

Did the upgrade from PHP 5 to 7, including all PHP packages, work without any 
manual intervention? I definitely had to hand-pick the php-* packages when I 
migrated my system to Stretch.

I agree that some kind of distribution suffix would be helpful in the case of 
the cyrus-imapd package. Unfortunately, I believe it's not trivial to do that 
because all .deb packages are built from the exact same sources:
https://obs.kolabsys.com/package/show/Kolab:16/cyrus-imapd

That said, allow me to argue that upgrading the underlying distro is neither 
officially documented nor officially supported - it's a best-effort thing. We 
try our best not to actively break things, but the faint-hearted are probably 
better off with the "back up -> install cleanly -> restore" routine. :-)

Best regards,
Christoph

On Wednesday, 5 September 2018 12:36:40 CEST Johannes Ranke wrote:
> Dear all,
> 
> I found a solution without having to temporarily remove kolab:
> 
> I had a look at what aptitude dist-upgrade proposed, and then did
> 
> apt-install default-mysql-client default-mysql-server
> 
> which was a step in the right direction. Now aptitude dist-upgrade proposed
> to remove cyrus-imapd. This made me wonder how this could be, so I checked
> 
> root@kolab:~# apt-cache policy cyrus-imapd
> cyrus-imapd:
>  Installed: 2.5.11.41-0~kolab2
>  Candidate: 2.5.11.41-0~kolab2
>  Version table:
>     2.5.11.41-0~kolab2 501
>        501 http://obs.kolabsys.com/repositories/Kolab:/16/Debian_9.0 ./
> Packages
> *** 2.5.11.41-0~kolab2 100
>        100 /var/lib/dpkg/status
>     2.5.10-3 500
>        500 http://mirror.hetzner.de/debian/packages stretch/main amd64
> Packages
>        500 http://http.debian.net/debian stretch/main amd64 Packages
> 
> which made me suspect that two different versions of this package exist that
> have the exact same version string, and in fact there are some subtle
> differences e.g. in the Depends (look for libpci3 for example).
> 
> root@kolab:~# apt-cache show cyrus-imapd
> Package: cyrus-imapd
> Version: 2.5.11.41-0~kolab2
> Architecture: amd64
> Maintainer: Jeroen van Meeuwen (Kolab Systems) <[email protected]>
> Installed-Size: 4591
> Depends: postfix | mail-transport-agent, adduser (>= 3.34), dpkg (>> 1.9.0),
> netbase (>= 4.07), gawk, libc6 (>= 2.14), libcomerr2 (>= 1.01), libdb5.3,
> libjansson4 (>= 2.
> 0.1), libldap-2.4-2 (>= 2.4.7), libpci3 (>= 1:3.5.2-1), libpcre3,
> libsasl2-2, libsensors4 (>= 1:3.0.0), libsnmp30 (>= 5.7.3+dfsg-1.7~dfsg),
> libssl1.1 (>= 1.1.0), libwrap
> 0 (>= 7.6-4~), libzephyr4, perl (>= 5.24.1-3+deb9u4), perlapi-5.24.1
> Suggests: sasl2-bin, apt-listchanges (>= 2.35)
> 
> ...
> 
> standard mail spool. It stores mail in a separate directory in its
> own MH-like format.
> Description-md5: 784eb5fed1d37ab067b173ecc415ee36
> 
> Package: cyrus-imapd
> Status: install ok installed
> Priority: extra
> Section: mail
> Installed-Size: 4371
> Maintainer: Jeroen van Meeuwen (Kolab Systems) <[email protected]>
> Architecture: amd64
> Version: 2.5.11.41-0~kolab2
> Replaces: cyrus-common-2.2, cyrus-common-2.3, cyrus-common-2.4, cyrus-
> imapd-2.2, cyrus-imapd-2.3, cyrus-imapd-2.4, cyrus22-common, cyrus22-imapd,
> cyrus23-common, cyrus23
> -imapd, cyrus24-common, cyrus24-imapd
> Provides: cyrus-common-2.2, cyrus-common-2.3, cyrus-common-2.4, cyrus-
> imapd-2.2, cyrus-imapd-2.3, cyrus-imapd-2.4, cyrus22-common, cyrus23-common,
> cyrus24-common, imap-s
> erver, pop3-server
> Depends: postfix | mail-transport-agent, adduser (>= 3.34), dpkg (>> 1.9.0),
> netbase (>= 4.07), gawk, libasn1-8-heimdal (>= 1.4.0+git20110226), libc6
> (>= 2.14), libcomer
> r2 (>= 1.01), libdb5.3, libgssapi3-heimdal (>= 1.4.0+git20110226),
> libjansson4 (>= 2.0.1), libkrb5-26-heimdal (>= 1.4.0+git20110226),
> libldap-2.4-2 (>= 2.4.7), libpci3 (
> 
> >= 1:3.2.1-1), libpcre3 (>= 1:8.35), libroken18-heimdal (>=
> 
> 1.4.0+git20110226), libsasl2-2, libsensors4 (>= 1:3.0.0), libsnmp30 (>=
> 5.7.2.1+dfsg-1+deb8u1+b1~dfsg), libss
> l1.0.0 (>= 1.0.0), libwrap0 (>= 7.6-4~), libzephyr4, perl (>=
> 5.20.2-3+deb8u11), perlapi-5.20.2
> 
> ...
> 
> standard mail spool. It stores mail in a separate directory in its
> own MH-like format.
> Description-md5: 784eb5fed1d37ab067b173ecc415ee36
> Homepage: http://www.cyrusimap.org/
> 
> So I went ahead and did an apt install cyrus-imapd, which (not sure why)
> updated to the newer version with the same version name. Then some more
> dependency digging told me that I have to downgrade php-sabre-dav-2.1 from
> version 2.1.11-1 (not sure where this came from, I think from kolabsys) to
> version 2.10-1 from Debian stretch:
> 
> apt install php-sabre-dav-2.1/stretch
> 
> and voilá - the dist-upgrade succeeded without removing kolab!
> 
> Cheers,
> 
> Johannes
> 
> P.S.: I do think that this could at least partially have been avoided if the
> version string in the Debian 9 repo would be always different from the
> version string in the Debian 8 repo. For example, for my R backports
> repositories on CRAN, I always append ~stretchcran.0 to the version string
> for backports to stretch, and ~jessiecran.0 for backports to jessie. Here
> ~kolab2 was used for both repositories.

_______________________________________________
users mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEwp5/nkNlccrQ2UKH4yzDBS9Gs8IFAluPuSYACgkQ4yzDBS9G
s8Kvzw//Rs3LUHo5BnEw2zxJI1/2+tPAjZpbwRdr4itdl5zAJABhXAwFZMMvPUVS
MMY3bOfMUJ287LDEplNmbHCdtXcsaW4c+fz5r0WXNcdMUoZ2dLCACTYrgBavB2FP
7JYK6aQIs4Vx2fJ7B6fRv8NGWl6lQFzOb5c8+4PH/l2mba3VyT5AtruM3nJT8Zzr
vfnaLzciVQniK3HG+dG6sppIJlSRxYGwDOwG4MDDRoynHl10+7ylUvXzWd2SD8Do
LHqkg6JvtdEAQI6lf9+kRYUhG9QJPQqyna6Fo9F32pYJakUf2sywyHuM1xgE3TB4
mas+CwqRyyqadi6C96skydG7ms5Lmof1rb3+J3YMlmhcwFlxD4e65lSc9dDNSADG
Lrx0maM/PLyE4BrqMr/3Fi4RDZV9IYidy03w/Bh6LukHFLt26Kls9z8uLoH8+EW+
jS2kUUKCV26qx9IxqbPTarJXAKz9Xh3O1C4BuT0Bk0prM0H9epenSaf3cn81Fulj
gVofvQMruX6dJTXVZONSS0F5vZAKsMIYgfRb+11nRdpVYk61joSO27bNtjqPbxAY
zc5f46a7dD8hfmCcGwFx5LjA/JCwlNY6juKIF9utSvdIEgFzqDQW9qXZPik6jj6b
4XAKlnki3HdNX0alGzvl03dKtUlfcOreOL8k4d9+a7RYZz4LA48=
=51XV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.