samba package broken

Tez binary_y2k2 at blueyonder.co.uk
Fri Jul 14 12:35:50 UTC 2006


gabrielle harrison and Paul van den Bergen wrote:
> Hi all,
>
> after upgrading 5.10->6.06, i found samba broken... all attempts to
> fix have failed.
>
> error message (e.g. in synaptic) is...
>
> in terminal view
>
> Preconfiguring packages ...
> (Reading database ... 142911 files and directories currently installed.)
> Preparing to replace samba 3.0.22-1ubuntu3 (using
> .../samba_3.0.22-1ubuntu3.1_i386.deb) ...
> invoke-rc.d: dangling symlink: /etc/rc2.d/S91samba
> dpkg: warning - old pre-removal script returned error exit status 102
> dpkg - trying script from the new package instead ...
> invoke-rc.d: dangling symlink: /etc/rc2.d/S91samba
> dpkg: error processing
> /var/cache/apt/archives/samba_3.0.22-1ubuntu3.1_i386.deb (--unpack):
>  subprocess new pre-removal script returned error exit status 102
> Errors were encountered while processing:
>  /var/cache/apt/archives/samba_3.0.22-1ubuntu3.1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
>
> in pop-up
>
> E: /var/cache/apt/archives/samba_3.0.22-1ubuntu3.1_i386.deb:
> subprocess new pre-removal script returned error exit status 102
>
> apt-get -f install does not help...
>
>
>
> --Dr Paul van den Bergen
> Chance favours the prepared mind
>
> --kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>
>
It sounds like /etc/rc2.d/S91samba is not pointing to anything,
You should just be able to
sudo rm /etc/rc2.d/S91samba
then
sudo apt-get install samba
and it will install all the symlinks, if it's already installed add
"--reinstall" after "apt-get" before "install"

Tez






More information about the kubuntu-users mailing list