Public bug reported:

Whilst performing an upgrade of packages (via System > Administration >
Update Manager), upgrade of the Samba package failed per the following
crash report.

Attempts to correct using apt-get install -f did not resolve.

All other systems and services working perfectly.

Reviewing the error messages generated by apt-get below, I am unable to
diagnose.

PID file /var/run/mediaserver.pid is definitely not found, and all
services by that name or other possible ones (twonkymedia) are confirmed
stopped and not running.

----

root@grill:/home/michaelh# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  samba
Suggested packages:
  openbsd-inetd inet-superserver smbldap-tools ldb-tools
The following packages will be upgraded:
  samba
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/8,198 kB of archives.
After this operation, 28.7 kB disk space will be freed.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 232593 files and directories currently installed.)
Preparing to replace samba 2:3.5.8~dfsg-1ubuntu2.3 (using 
.../samba_2%3a3.5.8~dfsg-1ubuntu2.4_amd64.deb) ...
PID file /var/run/mediaserver.pid not found, stopping server anyway...
twonkymedia: no process found

invoke-rc.d: initscript nmbd, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 3
dpkg - trying script from the new package instead ...
PID file /var/run/mediaserver.pid not found, stopping server anyway...
twonkymedia: no process found

invoke-rc.d: initscript nmbd, action "stop" failed.
dpkg: error processing 
/var/cache/apt/archives/samba_2%3a3.5.8~dfsg-1ubuntu2.4_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 3
update-alternatives: using /usr/bin/smbstatus.samba3 to provide 
/usr/bin/smbstatus (smbstatus) in auto mode.
TwonkyMedia server not found.

TwonkyMedia server not found.

Errors were encountered while processing:
 /var/cache/apt/archives/samba_2%3a3.5.8~dfsg-1ubuntu2.4_amd64.deb
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)
root@grill:/home/michaelh#

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: samba 2:3.5.8~dfsg-1ubuntu2.4
ProcVersionSignature: Ubuntu 2.6.38-13.57-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Apr 26 04:14:12 2012
ErrorMessage: subprocess new pre-removal script returned error exit status 3
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
NmbdLog:
 
OtherFailedConnect: Yes
SambaServerRegression: Yes
SmbConfIncluded: Yes
SmbLog:
 
SourcePackage: samba
Title: package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: 
subprocess new pre-removal script returned error exit status 3
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package natty

-- 
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/988690

Title:
  package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade:
  subprocess new pre-removal script returned error exit status 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/988690/+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

Reply via email to