[Pkg-samba-maint] Bug#483640: upgrading samba fails if I have the K20samba link

Steve Langasek vorlon at debian.org
Sun Jun 8 05:51:17 UTC 2008


On Sat, May 31, 2008 at 04:20:02PM -0700, obi wrote:
> Hello there,

> my apologies if I'm dense, but moving the link as you suggested, but
> upon upgrade dpkg failed

> Preparing to replace samba 1:3.0.30-1 (using .../samba_2%
> 3a3.0.30-2_amd64.deb) ...
> invoke-rc.d: dangling symlink: /etc/rc2.d/K20samba
> 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/K20samba
> dpkg: error processing /var/cache/apt/archives/samba_2%
> 3a3.0.30-2_amd64.deb (--unpack):

> I then have to remove manually the link, do the upgrade and reinstate
> the link (and stop the daemons). Is this the right way to proceed? It
> seems a bit cumbersome.

What does ls -l /etc/rc2.d/K20samba show?  It probably isn't pointed at
/etc/init.d/samba, which is where it should point.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list