[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

2017-08-08 Thread Launchpad Bug Tracker
[Expired for samba (Ubuntu) because there has been no activity for 60
days.]

** Changed in: samba (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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

2017-06-09 Thread Andreas Hasenack
Hello,

sorry for the lack of responses in this bug.

The postinst code in samba-common still doesn't check if the directory
exists before attempting to remove it, so the bug is still there, but it
only kicks in if upgrading from a package older than 4.1.4.

I tried reproducing the problem with a precise-to-trusty do-release-
upgrade, with samba installed, but it didn't happen. Maybe coming from
Lucid something else triggers the bug, but Lucid is EOL. Technically
Precise is EOL too, but there is the possibility of using precise-esm
(https://ubuntu.com/esm), so if this happens when upgrading Precise to
Trusty, we can probably fix it.

I will mark this bug as incomplete pending a confirmation that it
happens when upgrading Precise to Trusty.


** Changed in: samba (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2017-06-09 Thread Andreas Hasenack
Hello,

sorry for the lack of responses in this bug.

The postinst code in samba-common still doesn't check if the directory
exists before attempting to remove it, so the bug is still there, but it
only kicks in if upgrading from a package older than 4.1.4.

I tried reproducing the problem with a precise-to-trusty do-release-
upgrade, with samba installed, but it didn't happen. Maybe coming from
Lucid something else triggers the bug, but Lucid is EOL. Technically
Precise is EOL too, but there is the possibility of using precise-esm
(https://ubuntu.com/esm), so if this happens when upgrading Precise to
Trusty, we can probably fix it.

I will mark this bug as incomplete pending a confirmation that it
happens when upgrading Precise to Trusty.


** Changed in: samba (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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

2015-07-10 Thread Robie Basak
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
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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

2015-07-10 Thread Robie Basak
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
Server Team, 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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2015-07-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: samba (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, 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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2015-07-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: samba (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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

2015-05-03 Thread Norman Henderson
Attempting to recover by: aptitude install smbclient samba-common
Resulted in:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up samba-common (2:4.1.6+dfsg-1ubuntu2.14.04.7) ...
rmdir: failed to remove â/etc/dhcp3/dhclient-enter-hooks.dâ: No such file or 
directory

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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

2015-05-03 Thread Norman Henderson
Attempting to recover by: aptitude install smbclient samba-common
Resulted in:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up samba-common (2:4.1.6+dfsg-1ubuntu2.14.04.7) ...
rmdir: failed to remove â/etc/dhcp3/dhclient-enter-hooks.dâ: No such file or 
directory

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, 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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2015-05-03 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, 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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2015-05-03 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs