[Pkg-samba-maint] Bug#1022776: samba: unable to upgarde to 2:4.16.6+dfsg-2

Patrice Duroux patrice.duroux at gmail.com
Tue Oct 25 18:06:09 BST 2022


Package: samba
Version: 2:4.16.6+dfsg-2
Severity: normal

Dear Maintainer,

Here is the output:

# apt install samba
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  samba-dsdb-modules
Suggested packages:
  bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools ufw
The following NEW packages will be installed:
  samba samba-dsdb-modules
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 1 616 kB of archives.
After this operation, 19,6 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://deb.debian.org/debian sid/main amd64 samba amd64 2:4.16.6+dfsg-2
[1 313 kB]
Get:2 https://deb.debian.org/debian sid/main amd64 samba-dsdb-modules amd64
2:4.16.6+dfsg-2 [303 kB]
Fetched 1 616 kB in 0s (7 991 kB/s)
Selecting previously unselected package samba.
(Reading database ... 571037 files and directories currently installed.)
Preparing to unpack .../samba_2%3a4.16.6+dfsg-2_amd64.deb ...
Unpacking samba (2:4.16.6+dfsg-2) ...
dpkg: error processing archive
/var/cache/apt/archives/samba_2%3a4.16.6+dfsg-2_amd64.deb (--unpack):
 trying to overwrite '/etc/pam.d/samba', which is also in package samba-common
2:4.16.6+dfsg-2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package samba-dsdb-modules:amd64.
Preparing to unpack .../samba-dsdb-modules_2%3a4.16.6+dfsg-2_amd64.deb ...
Unpacking samba-dsdb-modules:amd64 (2:4.16.6+dfsg-2) ...
Errors were encountered while processing:
 /var/cache/apt/archives/samba_2%3a4.16.6+dfsg-2_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)


Thanks,
Patrice


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages samba depends on:
ii  adduser                    3.129
ii  init-system-helpers        1.65.2
ii  libbsd0                    0.11.7-1
ii  libc6                      2.35-4
ii  libcups2                   2.4.2-1+b2
ii  libgnutls30                3.7.8-2
ii  libldap-2.5-0              2.5.13+dfsg-2+b1
ii  libldb2                    2:2.5.2+samba4.16.6-2
ii  libpam-modules             1.5.2-5
ii  libpam-runtime             1.5.2-5
ii  libpopt0                   1.19+dfsg-1
ii  libtalloc2                 2.3.4-1
ii  libtasn1-6                 4.19.0-2
ii  libtdb1                    1.4.7-1
ii  libtevent0                 0.13.0-1
ii  procps                     2:3.3.17-7.1
ii  python3                    3.10.6-1
ii  python3-dnspython          2.2.1-2
ii  python3-samba              2:4.16.6+dfsg-2
ii  samba-common               2:4.16.6+dfsg-2
ii  samba-common-bin           2:4.16.6+dfsg-2
ii  samba-libs                 2:4.16.6+dfsg-2
ii  sysvinit-utils [lsb-base]  3.05-6
ii  tdb-tools                  1.4.7-1

Versions of packages samba recommends:
ii  attr                1:2.5.1-1
ii  logrotate           3.20.1-1+b1
ii  python3-markdown    3.4.1-2
iu  samba-dsdb-modules  2:4.16.6+dfsg-2
ii  samba-vfs-modules   2:4.16.6+dfsg-2

Versions of packages samba suggests:
pn  bind9          <none>
pn  bind9utils     <none>
pn  ctdb           <none>
pn  ldb-tools      <none>
pn  ntp | chrony   <none>
pn  smbldap-tools  <none>
pn  ufw            <none>
ii  winbind        2:4.16.6+dfsg-2


More information about the Pkg-samba-maint mailing list