Stefan G. Weichinger
2019-Nov-30 17:15 UTC
[Samba] Debian Stretch - > buster: samba packages
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.
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
Stefan G. Weichinger
2019-Nov-30 19:32 UTC
[Samba] Debian Stretch - > buster: samba packages
Am 30.11.19 um 18:30 schrieb Rowland penny via samba:> 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 ?Well, partially. The "dist-upgrade" step is missing.> You should not install 'buster' packages on 'stretch'.I didn't. The stretch package is still there on the now half-done buster system.> I think your easiest and safety way around this is, add a new DC running > buster and the latest Samba from Louis's repo.Can't add another server just because of updates ;-) The other DC is already on buster and samba-4.10
Hai, Sorry for the late reply. Here its just apt-get distupgrade --autoremove --purge Without the autoremove libldb1 is not removed so libldb2 can be installed. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan G. Weichinger via samba > Verzonden: zaterdag 30 november 2019 20:33 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Debian Stretch - > buster: samba packages > > Am 30.11.19 um 18:30 schrieb Rowland penny via samba: > > > 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 ? > > Well, partially. The "dist-upgrade" step is missing. > > > You should not install 'buster' packages on 'stretch'. > > I didn't. The stretch package is still there on the now > half-done buster > system. > > > I think your easiest and safety way around this is, add a > new DC running > > buster and the latest Samba from Louis's repo. > > Can't add another server just because of updates ;-) > > The other DC is already on buster and samba-4.10 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >