[Samba] Debian Bullseye Samba 4.16.1 is online (amd64/i386/armhf/arm64/sources)

Ingo Asche foren at asche-rz.de
Fri Jun 10 18:45:35 UTC 2022


I had similar messages...

Through a hint in syslog I could fix it with "apt --fix-broken install"...

Still I had to unmask samba-ad-dc.service again. But now already two of 
my DCs are updated and they work, doing now the hird one.

Regards
Ingo
https://github.com/WAdama

spindles seven via samba schrieb am 10.06.2022 um 20:07:
> On 10 June 2022 12:37 L. van Belle wrote:
>> if you get a report that its missing a depend as not installable, add that package to
>> the : apt install -t bullseye-backports samba winbind [extra_missingPackage] Im
>> looking for a way to make this install process more easy, we just have a lot of
>> depends on samba..
>>
> Hi Louis,
>
> Many thanks for all your hard work, much appreciated.
>
> I was running samba-4.15.7 (from Louis repo) on debian bullseye on a raspberrypi.
>
> After updating the /etc/apt/sources.list.d/van-belle.list file with these lines (btw I had to install the lsb-release package first, which hadn't been installed by default) and disabling the samba415 line:
>
> # AptVanBelle repo for Samba 4.16 and up.
> # You need Debian Bullseye Backports also for the depends on Samba.
> deb [arch=arm64 signed-by=/usr/share/keyrings/louis-van-belle.gpg] http://apt.van-belle.nl/debian/ bullseye-samba416 main
> # Adding Debian Bullseye Backports ! without it my packages wont install..
> # We need the Samba dependecies from it.
> deb http://deb.debian.org/debian bullseye-backports main
>
> and running:
>
> $ sudo apt-get update
> $ sudo apt-get dist-upgrade
>
> I get the following failed update:
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> The following NEW packages will be installed:
>    liburing1
> The following packages will be upgraded:
>    cifs-utils dpkg ldb-tools libcups2 libldb2 libnss-winbind libpam-winbind
>    libtalloc2 libtdb1 libtevent0 libwbclient0 python3-ldb python3-samba
>    python3-talloc python3-tdb rsyslog samba samba-common samba-common-bin
>    samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools winbind
> 24 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 16.7 MB/16.7 MB of archives.
> After this operation, 3,130 kB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://security.debian.org/debian-security bullseye-security/main arm64 dpkg arm64 1.20.10 [2,513 kB]
> Get:2 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 libpam-winbind arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [159 kB]
> Get:3 http://deb.debian.org/debian bullseye-backports/main arm64 libtalloc2 arm64 2.3.3-4~bpo11+1 [27.9 kB]
> Get:4 http://deb.debian.org/debian bullseye-backports/main arm64 python3-talloc arm64 2.3.3-4~bpo11+1 [17.6 kB]
> Get:5 http://deb.debian.org/debian bullseye-backports/main arm64 python3-tdb arm64 1.4.6-3~bpo11+1 [21.4 kB]
> Get:6 http://deb.debian.org/debian bullseye-backports/main arm64 libtdb1 arm64 1.4.6-3~bpo11+1 [49.6 kB]
> Get:7 http://deb.debian.org/debian bullseye-backports/main arm64 libtevent0 arm64 0.11.0-1~bpo11+1 [35.9 kB]
> Get:8 http://deb.debian.org/debian bullseye-backports/main arm64 tdb-tools arm64 1.4.6-3~bpo11+1 [31.6 kB]
> Get:9 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 python3-ldb arm64 2:2.5.0+smb4.16.1-8.1nmu1~deb11+1 [147 kB]
> Get:10 http://security.debian.org/debian-security bullseye-security/main arm64 rsyslog arm64 8.2102.0-2+deb11u1 [681 kB]
> Get:11 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 libldb2 arm64 2:2.5.0+smb4.16.1-8.1nmu1~deb11+1 [238 kB]
> Get:12 http://security.debian.org/debian-security bullseye-security/main arm64 libcups2 arm64 2.3.3op2-3+deb11u2 [335 kB]
> Get:13 http://security.debian.org/debian-security bullseye-security/main arm64 cifs-utils arm64 2:6.11-3.1+deb11u1 [87.8 kB]
> Get:14 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 samba-dsdb-modules arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [378 kB]
> Get:15 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 python3-samba arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [2,705 kB]
> Get:16 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 samba-vfs-modules arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [482 kB]
> Get:17 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 libnss-winbind arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [144 kB]
> Get:18 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 winbind arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [461 kB]
> Get:19 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 samba-common all 2:4.16.1+dfsg-8.1nmu1~deb11+1 [169 kB]
> Get:20 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 samba arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [1,812 kB]
> Get:21 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 samba-common-bin arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [673 kB]
> Get:22 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 libwbclient0 arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [140 kB]
> Get:23 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 samba-libs arm64 2:4.16.1+dfsg-8.1nmu1~deb11+1 [5,249 kB]
> Get:24 http://apt.van-belle.nl/debian bullseye-samba416/main arm64 ldb-tools arm64 2:2.5.0+smb4.16.1-8.1nmu1~deb11+1 [143 kB]
> Fetched 16.7 MB in 5s (3,513 kB/s)
> Preconfiguring packages ...
> (Reading database ... 31582 files and directories currently installed.)
> Preparing to unpack .../dpkg_1.20.10_arm64.deb ...
> Unpacking dpkg (1.20.10) over (1.20.9) ...
> Setting up dpkg (1.20.10) ...
> (Reading database ... 31591 files and directories currently installed.)
> Preparing to unpack .../00-rsyslog_8.2102.0-2+deb11u1_arm64.deb ...
> Unpacking rsyslog (8.2102.0-2+deb11u1) over (8.2102.0-2) ...
> Preparing to unpack .../01-libtalloc2_2.3.3-4~bpo11+1_arm64.deb ...
> Unpacking libtalloc2:arm64 (2.3.3-4~bpo11+1) over (2.3.3-0.1bullseye1) ...
> Preparing to unpack .../02-python3-talloc_2.3.3-4~bpo11+1_arm64.deb ...
> Unpacking python3-talloc:arm64 (2.3.3-4~bpo11+1) over (2.3.3-0.1bullseye1) ...
> Preparing to unpack .../03-libpam-winbind_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking libpam-winbind:arm64 (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Preparing to unpack .../04-python3-tdb_1.4.6-3~bpo11+1_arm64.deb ...
> Unpacking python3-tdb (1.4.6-3~bpo11+1) over (1.4.5-0.1bullseye1) ...
> Preparing to unpack .../05-libtdb1_1.4.6-3~bpo11+1_arm64.deb ...
> Unpacking libtdb1:arm64 (1.4.6-3~bpo11+1) over (1.4.5-0.1bullseye1) ...
> Preparing to unpack .../06-libtevent0_0.11.0-1~bpo11+1_arm64.deb ...
> Unpacking libtevent0:arm64 (0.11.0-1~bpo11+1) over (0.11.0-0.1bullseye1) ...
> Preparing to unpack .../07-python3-ldb_2%3a2.5.0+smb4.16.1-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking python3-ldb (2:2.5.0+smb4.16.1-8.1nmu1~deb11+1) over (2:2.4.2-0.1bullseye1) ...
> Preparing to unpack .../08-libldb2_2%3a2.5.0+smb4.16.1-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking libldb2:arm64 (2:2.5.0+smb4.16.1-8.1nmu1~deb11+1) over (2:2.4.2-0.1bullseye1) ...
> Preparing to unpack .../09-samba-dsdb-modules_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking samba-dsdb-modules:arm64 (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Preparing to unpack .../10-python3-samba_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking python3-samba (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Replacing files in old package samba-libs:arm64 (2:4.15.7+dfsg-0.1bullseye1) ...
> Replacing files in old package samba (2:4.15.7+dfsg-0.1bullseye1) ...
> Preparing to unpack .../11-samba-vfs-modules_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking samba-vfs-modules:arm64 (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Preparing to unpack .../12-libnss-winbind_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking libnss-winbind:arm64 (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Preparing to unpack .../13-winbind_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking winbind (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> dpkg: error processing archive /tmp/apt-dpkg-install-BfQSOl/13-winbind_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb (--unpack):
>   trying to overwrite '/usr/lib/aarch64-linux-gnu/samba/krb5/async_dns_krb5_locator.so', which is also in package samba-libs:arm64 2:4.15.7+dfsg-0.1bullseye1
> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> Preparing to unpack .../14-samba-common_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_all.deb ...
> Unpacking samba-common (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Preparing to unpack .../15-samba_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking samba (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> dpkg: error processing archive /tmp/apt-dpkg-install-BfQSOl/15-samba_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb (--unpack):
>   trying to overwrite '/usr/share/man/man8/samba-bgqd.8.gz', which is also in package samba-libs:arm64 2:4.15.7+dfsg-0.1bullseye1
> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
> Please ignore the following error about deb-systemd-helper not finding those services.
> (samba-ad-dc.service already masked)
> Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
> /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
> nmbd.service is a disabled or a static unit not running, not starting it.
> samba-ad-dc.service is a disabled or a static unit not running, not starting it.
> Preparing to unpack .../16-samba-common-bin_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking samba-common-bin (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Preparing to unpack .../17-libwbclient0_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking libwbclient0:arm64 (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Preparing to unpack .../18-samba-libs_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking samba-libs:arm64 (2:4.16.1+dfsg-8.1nmu1~deb11+1) over (2:4.15.7+dfsg-0.1bullseye1) ...
> Selecting previously unselected package liburing1:arm64.
> Preparing to unpack .../19-liburing1_0.7-3_arm64.deb ...
> Unpacking liburing1:arm64 (0.7-3) ...
> Preparing to unpack .../20-tdb-tools_1.4.6-3~bpo11+1_arm64.deb ...
> Unpacking tdb-tools (1.4.6-3~bpo11+1) over (1.4.5-0.1bullseye1) ...
> Preparing to unpack .../21-libcups2_2.3.3op2-3+deb11u2_arm64.deb ...
> Unpacking libcups2:arm64 (2.3.3op2-3+deb11u2) over (2.3.3op2-3+deb11u1) ...
> Preparing to unpack .../22-cifs-utils_2%3a6.11-3.1+deb11u1_arm64.deb ...
> Unpacking cifs-utils (2:6.11-3.1+deb11u1) over (2:6.11-3.1) ...
> Preparing to unpack .../23-ldb-tools_2%3a2.5.0+smb4.16.1-8.1nmu1~deb11+1_arm64.deb ...
> Unpacking ldb-tools (2:2.5.0+smb4.16.1-8.1nmu1~deb11+1) over (2:2.4.2-0.1bullseye1) ...
> Errors were encountered while processing:
>   /tmp/apt-dpkg-install-BfQSOl/13-winbind_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb
>   /tmp/apt-dpkg-install-BfQSOl/15-samba_2%3a4.16.1+dfsg-8.1nmu1~deb11+1_arm64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> roy at pi4b:~$
>
> I have reverted to the previous version for now.   Let me know if you need more info.   What did I do wrong?
>
> best regards,
>
> Roy Eastwood
>
>




More information about the samba mailing list