[Pkg-samba-maint] Bug#616530: samba: aptitude safe-upgrade post-installation script error

J.M.Roth jmroth+debbug at iip.lu
Sat Mar 5 09:44:41 UTC 2011


Package: samba
Version: 2:3.2.5-4lenny14
Severity: important


Here's the output of aptitude safe-upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be upgraded:
  libapache2-svn libavahi-client3 libavahi-common-data libavahi-common3
  libavahi-glib1 libcups2 libcupsimage2 libsmbclient libsvn1 libwbclient0
  logwatch samba samba-common smbclient smbfs subversion
16 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/19.6MB of archives. After unpacking 264kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Reading changelogs...
Preconfiguring packages ...
(Reading database ... 145224 files and directories currently installed.)
Preparing to replace subversion 1.5.1dfsg1-5 (using .../subversion_1.5.1dfsg1-6_i386.deb) ...
Unpacking replacement subversion ...
Preparing to replace libsvn1 1.5.1dfsg1-5 (using .../libsvn1_1.5.1dfsg1-6_i386.deb) ...
Unpacking replacement libsvn1 ...
Preparing to replace libapache2-svn 1.5.1dfsg1-5 (using .../libapache2-svn_1.5.1dfsg1-6_i386.deb) ...
Unpacking replacement libapache2-svn ...
Preparing to replace libavahi-common-data 0.6.23-3lenny2 (using .../libavahi-common-data_0.6.23-3lenny3_i386.deb) ...
Unpacking replacement libavahi-common-data ...
Preparing to replace libavahi-common3 0.6.23-3lenny2 (using .../libavahi-common3_0.6.23-3lenny3_i386.deb) ...
Unpacking replacement libavahi-common3 ...
Preparing to replace libavahi-client3 0.6.23-3lenny2 (using .../libavahi-client3_0.6.23-3lenny3_i386.deb) ...
Unpacking replacement libavahi-client3 ...
Preparing to replace libavahi-glib1 0.6.23-3lenny2 (using .../libavahi-glib1_0.6.23-3lenny3_i386.deb) ...
Unpacking replacement libavahi-glib1 ...
Preparing to replace libcups2 1.3.8-1+lenny8 (using .../libcups2_1.3.8-1+lenny9_i386.deb) ...
Unpacking replacement libcups2 ...
Preparing to replace libcupsimage2 1.3.8-1+lenny8 (using .../libcupsimage2_1.3.8-1+lenny9_i386.deb) ...
Unpacking replacement libcupsimage2 ...
Preparing to replace libwbclient0 2:3.2.5-4lenny13 (using .../libwbclient0_2%3a3.2.5-4lenny14_i386.deb) ...
Unpacking replacement libwbclient0 ...
Preparing to replace libsmbclient 2:3.2.5-4lenny13 (using .../libsmbclient_2%3a3.2.5-4lenny14_i386.deb) ...
Unpacking replacement libsmbclient ...
Preparing to replace logwatch 7.3.6.cvs20080702-2 (using .../logwatch_7.3.6.cvs20080702-2lenny1_all.deb) ...
Unpacking replacement logwatch ...
Preparing to replace smbfs 2:3.2.5-4lenny13 (using .../smbfs_2%3a3.2.5-4lenny14_i386.deb) ...
Unpacking replacement smbfs ...
Preparing to replace smbclient 2:3.2.5-4lenny13 (using .../smbclient_2%3a3.2.5-4lenny14_i386.deb) ...
Unpacking replacement smbclient ...
Preparing to replace samba 2:3.2.5-4lenny13 (using .../samba_2%3a3.2.5-4lenny14_i386.deb) ...
Stopping Samba daemons: nmbd smbd.
Unpacking replacement samba ...
Preparing to replace samba-common 2:3.2.5-4lenny13 (using .../samba-common_2%3a3.2.5-4lenny14_i386.deb) ...
Unpacking replacement samba-common ...
Processing triggers for man-db ...
Setting up libsvn1 (1.5.1dfsg1-6) ...
Setting up subversion (1.5.1dfsg1-6) ...
Setting up libapache2-svn (1.5.1dfsg1-6) ...
Considering dependency dav for dav_svn:
Module dav already enabled
Module dav_svn already enabled
Setting up libavahi-common-data (0.6.23-3lenny3) ...
Setting up libavahi-common3 (0.6.23-3lenny3) ...
Setting up libavahi-client3 (0.6.23-3lenny3) ...
Setting up libavahi-glib1 (0.6.23-3lenny3) ...
Setting up libcups2 (1.3.8-1+lenny9) ...
Setting up libcupsimage2 (1.3.8-1+lenny9) ...
Setting up libwbclient0 (2:3.2.5-4lenny14) ...
Setting up libsmbclient (2:3.2.5-4lenny14) ...
Setting up logwatch (7.3.6.cvs20080702-2lenny1) ...
Setting up samba-common (2:3.2.5-4lenny14) ...
sed: cannot rename /etc/samba//sedIsdnbk: Operation not permitted
dpkg: error processing samba-common (--configure):
 subprocess post-installation script returned error exit status 4
dpkg: dependency problems prevent configuration of smbfs:
 smbfs depends on samba-common (= 2:3.2.5-4lenny14); however:
  Package samba-common is not configured yet.
dpkg: error processing smbfs (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of smbclient:
 smbclient depends on samba-common (= 2:3.2.5-4lenny14); however:
  Package samba-common is not configured yet.
dpkg: error processing smbclient (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba:
 samba depends on samba-common (= 2:3.2.5-4lenny14); however:
  Package samba-common is not configured yet.
dpkg: error processing samba (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 samba-common
 smbfs
 smbclient
 samba
[ Rootkit Hunter version 1.3.2 ]
File updated: searched for 155 files, found 131
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up samba-common (2:3.2.5-4lenny14) ...
sed: cannot rename /etc/samba//sedBmptCB: Operation not permitted
dpkg: error processing samba-common (--configure):
 subprocess post-installation script returned error exit status 4
dpkg: dependency problems prevent configuration of smbclient:
 smbclient depends on samba-common (= 2:3.2.5-4lenny14); however:
  Package samba-common is not configured yet.
dpkg: error processing smbclient (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba:
 samba depends on samba-common (= 2:3.2.5-4lenny14); however:
  Package samba-common is not configured yet.
dpkg: error processing samba (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of smbfs:
 smbfs depends on samba-common (= 2:3.2.5-4lenny14); however:
  Package samba-common is not configured yet.
dpkg: error processing smbfs (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 samba-common
 smbclient
 samba
 smbfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done

Current status: 1 update [-16].


When I run it again: same thing (for samba, the other packages upgraded correctly).

-- System Information:
Debian Release: 5.0.8
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (50, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser         3.110                    add and remove users and groups
ii  debconf [debcon 1.5.24                   Debian configuration management sy
ii  libacl1         2.2.47-2                 Access control list shared library
ii  libattr1        1:2.4.43-2               Extended attribute shared library
ii  libc6           2.7-18lenny7             GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libcups2        1.3.8-1+lenny9           Common UNIX Printing System(tm) - 
ii  libgnutls26     2.4.2-6+lenny2           the GNU TLS library - runtime libr
ii  libkrb53        1.6.dfsg.4~beta1-5lenny6 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1+lenny2          OpenLDAP libraries
ii  libpam-modules  1.0.1-5+lenny1           Pluggable Authentication Modules f
ii  libpam-runtime  1.0.1-5+lenny1           Runtime support for the PAM librar
ii  libpam0g        1.0.1-5+lenny1           Pluggable Authentication Modules l
ii  libpopt0        1.14-4                   lib for parsing cmdline parameters
ii  libtalloc1      1.2.0~git20080616-1      hierarchical pool based memory all
ii  libwbclient0    2:3.2.5-4lenny14         client library for interfacing wit
ii  logrotate       3.7.1-5                  Log rotation utility
ii  lsb-base        3.2-20                   Linux Standard Base 3.2 init scrip
ii  procps          1:3.2.7-11               /proc file system utilities
pn  samba-common    <none>                   (no description available)
ii  update-inetd    4.31                     inetd configuration file updater
ii  zlib1g          1:1.2.3.3.dfsg-12        compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
pn  smbldap-tools               <none>       (no description available)

-- debconf information:
  samba/tdbsam: false
* samba/generate_smbpasswd: true
* samba/run_mode: daemons





More information about the Pkg-samba-maint mailing list