package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: samba
Hi,
I haven't investigated fully yet, but this bug report is fairly similar to Bug #546896. However, first, the final error message is different and, second, the platform is 32-bit not 64-bit.
Doug
ProblemType: Package
Architecture: i386
Date: Sat Mar 27 21:28:23 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelMo
Package: samba-common-bin 2:3.4.0-3ubuntu5.6
ProcVersionSign
SourcePackage: samba
Title: package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Uname: Linux 2.6.31-20-generic i686
Hi,
I'm still not completely clear on what the problem is, but (surprisingly) the following fixed the problem for me.
sudo apt-get purge samba-common-bin bin_2%3a3. 4.0-3ubuntu5. 6_i386. deb bin_2%3a3. 4.0-3ubuntu5. 6_i386. deb
sudo aptitude download samba-common-bin
sudo dpkg -i samba-common-
sudo rm -f samba-common-
In other words, installing the samba-common-bin package manually with dpkg worked just fine, whereas installing via apt-get did not. Before finding this work around, I did try the same and similiar approaches with aptitude / apt- get (i.e., for me at least, it definitely is the case that, no matter what I did, installing with apt-get or aptitude failed with the same error, regardless if I was reinstalling or installing after a remove or after a purge).
HTH,
Doug