[Samba] Debian Stretch - > buster: samba packages

Rowland penny rpenny at samba.org
Sat Nov 30 17:30:33 UTC 2019


On 30/11/2019 17:15, Stefan G. Weichinger via samba wrote:
> Upgrading DC1 at site 3 (next site ;-))
>
> I edited sources.list and van-belle.list (s/stretch/buster/g ...)
>
> apt-get update: ok
>
> apt-get upgrade: as well
>
> apt-get dist-upgrade: DANGER
>
> -> it tells me it would remove samba!
>
> Die folgenden Pakete werden ENTFERNT:
>    libcurl3 libkdb5-8 libmariadbclient18 libnss-winbind libpam-winbind
> libsmbclient libuptimed0 python3-ldb python3-samba samba samba-common-bin
>    samba-dsdb-modules samba-libs samba-vfs-modules winbind
>
> Same as on DC2 lately ... this wiped /var/lib/samba etc
>
> I say "no" now ...
>
> -
>
> additional info:
>
> root at adc1:~# apt-cache policy samba
> samba:
>    Installiert:           2:4.10.10+dfsg-0.1~stretch~1
>    Installationskandidat: 2:4.10.10+dfsg-0.1~stretch~1
>    Versionstabelle:
>   *** 2:4.10.10+dfsg-0.1~stretch~1 100
>          100 /var/lib/dpkg/status
>       2:4.10.10+dfsg-0.1~buster~1 500
>          500 http://apt.van-belle.nl/debian buster-samba410/main amd64
> Packages
>       2:4.9.5+dfsg-5+deb10u1 500
>          500 http://security.debian.org buster/updates/main amd64 Packages
>       2:4.9.5+dfsg-5 500
>          500 http://debian.lagis.at/debian buster/main amd64 Packages
>          500 http://deb.debian.org/debian buster/main amd64 Packages
>
>
> So I assume I have to tell apt to somehow "force" the buster-variant
> over the stretch-variant, without removing any config and database files.
>
I 'think' that you remove Samba, then run 'apt-get dist-upgrade' and 
after this you then install the removed packages again.

However, why are you doing this ? Have you actually upgraded 'stretch' 
to 'buster' first ?

You should not install 'buster' packages on 'stretch'.

I think your easiest and safety way around this is, add a new DC running 
buster and the latest Samba from Louis's repo.

Rowland





More information about the samba mailing list