[Bug 1451322] Re: upgrade 10.04 to 14.04 failed - package samba-common 2:4.1.6+dfsg-1ubuntu2.14.04.7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Robie Basak 1451322 at bugs.launchpad.net
Fri Jul 10 12:50:04 UTC 2015


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

The relevant code from samba-common.postinst is:

# Clean up the now-empty dir which our conffile was previously in,
# since it wasn't empty at the time dpkg could automatically remove it
# for us.
if dpkg --compare-versions "$2" lt-nl 2:4.1.4+dfsg-2~
then
 rmdir -p --ignore-fail-on-non-empty /etc/dhcp3/dhclient-enter-hooks.d
fi

and the postinst error is:

rmdir: failed to remove ‘/etc/dhcp3/dhclient-enter-hooks.d’: No such
file or directory

It seems to me that the postinst is missing a test for the directory
first, and the code is still present in Debian VCS master. This needs a
more detailed look.


** Changed in: samba (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1451322

Title:
  upgrade 10.04 to 14.04 failed - package samba-common 2:4.1.6+dfsg-
  1ubuntu2.14.04.7 failed to install/upgrade: subprocess installed post-
  installation script returned error exit status 1

Status in samba package in Ubuntu:
  Confirmed

Bug description:
  Running do-release-upgrade -  system generated a bug report

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: samba-common 2:4.1.6+dfsg-1ubuntu2.14.04.7
  ProcVersionSignature: Ubuntu 3.2.0-80.116-generic-pae 3.2.68
  Uname: Linux 3.2.0-80-generic-pae i686
  ApportVersion: 2.14.1-0ubuntu3.10
  Architecture: i386
  Date: Mon May  4 04:23:11 2015
  DuplicateSignature: package:samba-common:2:4.1.6+dfsg-1ubuntu2.14.04.7:subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2012-10-24 (921 days ago)
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release i386 (20120424.1)
  PackageArchitecture: all
  SambaClientRegression: Yes
  SourcePackage: samba
  Title: package samba-common 2:4.1.6+dfsg-1ubuntu2.14.04.7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to trusty on 2015-05-04 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1451322/+subscriptions



More information about the foundations-bugs mailing list