Further, output when attempting to repair the package repository:
-----
root@grill:/home/michaelh# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
nspluginwrapper
Use 'apt-get autoremove' to remove them.
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 ... 232620 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.
Starting /usr/local/twonkymedia/twonkymedia ... Daemonizing...
TwonkyMedia server seems already be running under PID 7106
(PID file /var/run/mediaserver.pid already exists). Checking for process...
Process IS running. Not started again.
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)
Further, output when attempting to repair the package repository: /home/michaelh# apt-get install -f dfsg-1ubuntu2. 3 (using .../samba_ 2%3a3.5. 8~dfsg- 1ubuntu2. 4_amd64. deb) ... mediaserver. pid not found, stopping server anyway...
-----
root@grill:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
nspluginwrapper
Use 'apt-get autoremove' to remove them.
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 ... 232620 files and directories currently installed.)
Preparing to replace samba 2:3.5.8~
PID file /var/run/
twonkymedia: no process found
invoke-rc.d: initscript nmbd, action "stop" failed. mediaserver. pid not found, stopping server anyway...
dpkg: warning: subprocess old pre-removal script returned error exit status 3
dpkg - trying script from the new package instead ...
PID file /var/run/
twonkymedia: no process found
invoke-rc.d: initscript nmbd, action "stop" failed. apt/archives/ samba_2% 3a3.5.8~ dfsg-1ubuntu2. 4_amd64. deb (--unpack): alternatives: using /usr/bin/ smbstatus. samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode. twonkymedia/ twonkymedia ... Daemonizing...
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 3
update-
Starting /usr/local/
TwonkyMedia server seems already be running under PID 7106 mediaserver. pid already exists). Checking for process... apt/archives/ samba_2% 3a3.5.8~ dfsg-1ubuntu2. 4_amd64. deb gnome/help: 0 KiB doc/kde/ HTML: 0 KiB
(PID file /var/run/
Process IS running. Not started again.
Errors were encountered while processing:
/var/cache/
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/
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/
Total disk space freed by localepurge: 0 KiB
E: Sub-process /usr/bin/dpkg returned an error code (1)