package samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

Bug #773614 reported by Andrew McGillis
This bug report is a duplicate of:  Bug #728864: did not find base dn during startup. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: samba4

Ran the upgrade to Ubuntu 11.04 and went to bed. Woke up and my netbook told me it failed to install Samba4. File downloading was unusually slow too. I don't know why.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
Architecture: i386
Date: Fri Apr 29 02:04:49 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
SourcePackage: samba4
Title: package samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-04-29 (0 days ago)

Revision history for this message
Andrew McGillis (thwapp) wrote :
Revision history for this message
Andrew McGillis (thwapp) wrote :

Additional info:

My netbook is an MSI Wind U100-257CA netbook. It's bone stock with 2 exceptions. I Upped it to 2GB of ram and updated the BIOS to allow a part-time 24% overclock to speed it up a bit. It's running a wired network connection on AC power while I did the 11.04 upgrade, and I did not have it overclocked either. I hope that all this info helps.

I am not all that knowledgable when it comes to problems that occasionally crop up in Linux. In fact, i's classify myself as a wet-behind-the-ears newbie in Linux. I know enough to be dangerous to my installation. After the 11.04 upgrade process failed, this is what I tried...

I rebooted my netbook and the desktop doesn't load up now. Used "CTRL+ALT+F1" to login on a console, ran "sudo bash", then ran "apt-get purge samba4" to completely remove the Samba4 package (thank you man pages!) which completed without issue. Then I rebooted. On reboot, the desktop didn't complete loading again. Switched to text console using "CTRL+ALT+F1" again to login, ran "sudo bash" again, then ran "apt-get clean" (if I understood the man page correctly, that should remove the download from my netbook and force a redownload of the package..) and then "ran apt-get install samba4" to try and manually re-install the package. It failed with the same error. *sigh*. I rebooted again to the desktop which again didn't load the UI, but after about 30 seconds, it popped up with a "Submit Bug" request. Not realizing it was the same error, I submitted it again. Sorry for my blunder!

Thanks for reading...

Revision history for this message
Andrew McGillis (thwapp) wrote :

Called a friend in for help. He noticed that the Samba4 package was reporting a file not found error which was caused by a faulty symbolic link created by the Samba4 package.

The link in question was:

/usr/lib/samba/ldb/modules/samba

which was linked to:

../../../samba/ldb

A workable fix was to manually link it to:

/usr/lib/samba/ldb

And now it works!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.