broken package prevents upgrade

barry baza at themauvezone.fsnet.co.uk
Wed Oct 6 22:05:48 UTC 2004


On Wed, 2004-10-06 at 14:34 -0700, Matt Zimmerman wrote:
> 
> ls -l /etc/init.d/samba

baza at isis / $ ls -l /etc/init.d/samba
-rwxr-xr-x    1 root     root         1856 2004-09-14
01:37 /etc/init.d/samba

baza at isis / $ ls -l /etc/rc?.d/*samba
lrwxrwxrwx    1 root     root            6 2004-09-23
17:45 /etc/rc2.d/K09samba -> /samba
lrwxrwxrwx    1 root     root            6 2004-09-23
17:45 /etc/rc3.d/K09samba -> /samba
baza at isis / $

I can't really think what might have broke the package. I've only done,
apt-get update and upgrade.

This might be helpful toobaza at isis ~ $ sudo apt-get --purge remove samba
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  samba*
0 upgraded, 0 newly installed, 1 to remove and 187 not upgraded.
42 not fully installed or removed.
Need to get 0B of archives.
After unpacking 5972kB disk space will be freed.
Do you want to continue? [Y/n] y
Setting up bash (2.05b-15ubuntu5) ...
Installing new version of config file /etc/skel/.bashrc ...
Installing new version of config file /etc/skel/.bash_profile ...
Installing new version of config file /etc/bash.bashrc ...
Installing new version of config file /etc/bash_completion ...

(Reading database ... 64051 files and directories currently installed.)
Removing samba ...
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--purge):
 subprocess pre-removal script returned error exit status 102
Errors were encountered while processing:
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)



Barry





More information about the ubuntu-users mailing list