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

Obi graziano at cs.ucsb.edu
Sun Jun 8 07:08:26 UTC 2008


thanks for the quick response: after your email, I searched more for the
debian way to not start daemon and I started to use sysv-rc-conf. So the
link that I have now (that is not K20samba but K19samba) is indeed
correct but it's been put by the script. Thanks for pointing me out in
the right direction.

graziano



On Sat, Jun 07, 2008 at 10:51:17PM -0700, Steve Langasek wrote:
> 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
> 

-- 
+-----------------------+--------------------------+
| Graziano Obertelli    | CS Dept. Rm 102          |
| graziano at cs.ucsb.edu  | University of California |
| (805) 893-5212        | Santa Barbara, CA 93106  |
+-----------------------+--------------------------+





More information about the Pkg-samba-maint mailing list