On 07/08/2023 14:13, Mario via samba wrote:> Hello guys, need help :)
> Got problems with upgrade my samba domain member.
> I use Louis repos for many years with success. My last upgrade was to 4.13
> and now trying to switch to new repo setup
>
> Debian 11.7
>
> I have done everything setup according to:
> http://apt.van-belle.nl/simple-repo-setup.txt
> and upgrade to 4.14 is going with no problem
>
> When I try upgrade to 4.15, changed:
> /etc/apt/sources.list.d\van-belle.list
> deb [arch=amd64 signed-by=/usr/share/keyrings/louis-van-belle.gpg]
> http://apt.van-belle.nl/debian/ bullseye-samba415 main
>
> #apt update and after #apt list --upgradable
> I have this:
>
> #apt update
> Hit:1 http://apt.van-belle.nl/debian bullseye-samba415 InRelease
> Hit:2 http://security.debian.org/debian-security bullseye-security
InRelease
> Hit:3 http://deb.debian.org/debian bullseye InRelease
> Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
> Hit:5 http://deb.debian.org/debian bullseye-backports InRelease
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> 18 packages can be upgraded. Run 'apt list --upgradable' to see
them.
>
> #apt list --upgradable
> Listing... Done
> libldb2/bullseye-backports 2:2.6.2+samba4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:2.3.4-0.1nmu1~deb11]
> libnss-winbind/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> libpam-winbind/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> libtalloc2/bullseye-backports 2.3.4-2~bpo11+1 amd64 [upgradable from:
> 2.3.2-0.1bullseye1]
> libtdb1/bullseye-backports 1.4.7-2~bpo11+1 amd64 [upgradable from:
> 1.4.3-1.1bullseye1]
> libwbclient0/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> python3-ldb/bullseye-backports 2:2.6.2+samba4.17.9+dfsg-0+deb12u3~bpo11+1
> amd64 [upgradable from: 2:2.3.4-0.1nmu1~deb11]
> python3-samba/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> python3-talloc/bullseye-backports 2.3.4-2~bpo11+1 amd64 [upgradable from:
> 2.3.2-0.1bullseye1]
> python3-tdb/bullseye-backports 1.4.7-2~bpo11+1 amd64 [upgradable from:
> 1.4.3-1.1bullseye1]
> samba-common-bin/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> samba-common/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 all
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> samba-dsdb-modules/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> samba-libs/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> samba-vfs-modules/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
> samba/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64 [upgradable
> from: 2:4.14.14+dfsg-0nmu1~deb11]
> tdb-tools/bullseye-backports 1.4.7-2~bpo11+1 amd64 [upgradable from:
> 1.4.3-1.1bullseye1]
> winbind/bullseye-backports 2:4.17.9+dfsg-0+deb12u3~bpo11+1 amd64
> [upgradable from: 2:4.14.14+dfsg-0nmu1~deb11]
>
> it is showing 4.17.9 ( this is strange because i setup
'bullseye-samba415
> main')
>
> So I tried 4.16 and now:
> changed /etc/apt/sources.list.d\van-belle.list
> deb [arch=amd64 signed-by=/usr/share/keyrings/louis-van-belle.gpg]
> http://apt.van-belle.nl/debian/ bullseye-samba416 main
>
> #apt update
> Hit:1 http://deb.debian.org/debian bullseye InRelease
> Hit:2 http://security.debian.org/debian-security bullseye-security
InRelease
> Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
> Hit:4 http://deb.debian.org/debian bullseye-backports InRelease
> Get:5 http://apt.van-belle.nl/debian bullseye-samba416 InRelease [4,735 B]
> Get:6 http://apt.van-belle.nl/debian bullseye-samba416/main amd64 Packages
> [20.7 kB]
> Fetched 25.5 kB in 0s (57.9 kB/s)
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> 18 packages can be upgraded. Run 'apt list --upgradable' to see
them.
>
> #apt list --upgradable
> Listing... Done
> libldb2/unknown 2:2.5.1+samba4.16.2-1nmu1~deb11.1 amd64 [upgradable from:
> 2:2.3.4-0.1nmu1~deb11]
> libnss-winbind/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable from:
> 2:4.14.14+dfsg-0nmu1~deb11]
> libpam-winbind/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable from:
> 2:4.14.14+dfsg-0nmu1~deb11]
> libtalloc2/bullseye-backports 2.3.4-2~bpo11+1 amd64 [upgradable from:
> 2.3.2-0.1bullseye1]
> libtdb1/bullseye-backports 1.4.7-2~bpo11+1 amd64 [upgradable from:
> 1.4.3-1.1bullseye1]
> libwbclient0/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable from:
> 2:4.14.14+dfsg-0nmu1~deb11]
> python3-ldb/unknown 2:2.5.1+samba4.16.2-1nmu1~deb11.1 amd64 [upgradable
> from: 2:2.3.4-0.1nmu1~deb11]
> python3-samba/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable from:
> 2:4.14.14+dfsg-0nmu1~deb11]
> python3-talloc/bullseye-backports 2.3.4-2~bpo11+1 amd64 [upgradable from:
> 2.3.2-0.1bullseye1]
> python3-tdb/bullseye-backports 1.4.7-2~bpo11+1 amd64 [upgradable from:
> 1.4.3-1.1bullseye1]
> samba-common-bin/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable
> from: 2:4.14.14+dfsg-0nmu1~deb11]
> samba-common/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 all [upgradable from:
> 2:4.14.14+dfsg-0nmu1~deb11]
> samba-dsdb-modules/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable
> from: 2:4.14.14+dfsg-0nmu1~deb11]
> samba-libs/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable from:
> 2:4.14.14+dfsg-0nmu1~deb11]
> samba-vfs-modules/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable
> from: 2:4.14.14+dfsg-0nmu1~deb11]
> samba/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable from:
> 2:4.14.14+dfsg-0nmu1~deb11]
> tdb-tools/bullseye-backports 1.4.7-2~bpo11+1 amd64 [upgradable from:
> 1.4.3-1.1bullseye1]
> winbind/unknown 2:4.16.2+dfsg-1nmu1~deb11.1 amd64 [upgradable from:
> 2:4.14.14+dfsg-0nmu1~deb11]
>
> Looks better, so now:
> # apt upgrade
>
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
> libnss-winbind libpam-winbind libwbclient0 samba-common
> The following packages will be upgraded:
> libtalloc2 libtdb1 python3-talloc python3-tdb tdb-tools
> 5 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
> Need to get 153 kB of archives.
> After this operation, 11.3 kB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://deb.debian.org/debian bullseye-backports/main amd64 libtalloc2
> amd64 2.3.4-2~bpo11+1 [29.9 kB]
> Get:2 http://deb.debian.org/debian bullseye-backports/main amd64
> python3-talloc amd64 2.3.4-2~bpo11+1 [18.1 kB]
> Get:3 http://deb.debian.org/debian bullseye-backports/main amd64
> python3-tdb amd64 1.4.7-2~bpo11+1 [21.9 kB]
> Get:4 http://deb.debian.org/debian bullseye-backports/main amd64 libtdb1
> amd64 1.4.7-2~bpo11+1 [50.6 kB]
> Get:5 http://deb.debian.org/debian bullseye-backports/main amd64 tdb-tools
> amd64 1.4.7-2~bpo11+1 [32.2 kB]
> Fetched 153 kB in 0s (659 kB/s)
> Reading changelogs... Done
> (Reading database ... 35729 files and directories currently installed.)
> Preparing to unpack .../libtalloc2_2.3.4-2~bpo11+1_amd64.deb ...
> Unpacking libtalloc2:amd64 (2.3.4-2~bpo11+1) over (2.3.2-0.1bullseye1) ...
> Preparing to unpack .../python3-talloc_2.3.4-2~bpo11+1_amd64.deb ...
> Unpacking python3-talloc:amd64 (2.3.4-2~bpo11+1) over (2.3.2-0.1bullseye1)
> ...
> Preparing to unpack .../python3-tdb_1.4.7-2~bpo11+1_amd64.deb ...
> Unpacking python3-tdb (1.4.7-2~bpo11+1) over (1.4.3-1.1bullseye1) ...
> Preparing to unpack .../libtdb1_1.4.7-2~bpo11+1_amd64.deb ...
> Unpacking libtdb1:amd64 (1.4.7-2~bpo11+1) over (1.4.3-1.1bullseye1) ...
> Preparing to unpack .../tdb-tools_1.4.7-2~bpo11+1_amd64.deb ...
> Unpacking tdb-tools (1.4.7-2~bpo11+1) over (1.4.3-1.1bullseye1) ...
> Setting up libtdb1:amd64 (1.4.7-2~bpo11+1) ...
> Setting up libtalloc2:amd64 (2.3.4-2~bpo11+1) ...
> Setting up python3-tdb (1.4.7-2~bpo11+1) ...
> Setting up tdb-tools (1.4.7-2~bpo11+1) ...
> update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide
> /usr/bin/tdbbackup (tdbbackup) in auto mode
> Setting up python3-talloc:amd64 (2.3.4-2~bpo11+1) ...
> Processing triggers for man-db (2.9.4-2) ...
> Processing triggers for libc-bin (2.31-13+deb11u6) ...
>
> and samba is not upgraded.
> :~# samba -V
> Version 4.14.14-Debian
>
> and after apt full-upgrade
> samba is removed :(
>
> My files: /etc/apt/sources.list
>
> deb http://deb.debian.org/debian/ bullseye main
> deb-src http://deb.debian.org/debian/ bullseye main
>
> deb http://security.debian.org/debian-security bullseye-security main
> deb-src http://security.debian.org/debian-security bullseye-security main
>
> deb http://deb.debian.org/debian/ bullseye-updates main
> deb-src http://deb.debian.org/debian/ bullseye-updates main
>
> deb http://deb.debian.org/debian bullseye-backports main
>
> and
> /etc/apt/sources.list.d\van-belle.list
>
> # AptVanBelle repo for samba.
> deb [arch=amd64 signed-by=/usr/share/keyrings/louis-van-belle.gpg]
> http://apt.van-belle.nl/debian/ bullseye-samba416 main
>
> What am I going wrong ?
Sorry, but the van-belle repo isn't updated any more.
You will have to use the standard Debian repo instead, using
bullseye-backports will get you 4.17.9
Rowland