On Fri, Jun 27, 2008 at 08:40:25PM +1000, Jon wrote:
> Looks like it:
> 
> [EMAIL PROTECTED]:~0$ ls /etc/rc*.d/*apt-cacher
> lrwxrwxrwx 1 root root 20 2008-06-27 20:13 /etc/rc0.d/K20apt-cacher -> 
> ../init.d/apt-cacher*
> lrwxrwxrwx 1 root root 20 2008-06-27 20:13 /etc/rc1.d/K20apt-cacher -> 
> ../init.d/apt-cacher*
> lrwxrwxrwx 1 root root 20 2008-06-27 20:13 /etc/rc2.d/S20apt-cacher -> 
> ../init.d/apt-cacher*
> lrwxrwxrwx 1 root root 20 2008-06-27 20:13 /etc/rc3.d/S20apt-cacher -> 
> ../init.d/apt-cacher*
> lrwxrwxrwx 1 root root 20 2008-06-27 20:13 /etc/rc4.d/S20apt-cacher -> 
> ../init.d/apt-cacher*
> lrwxrwxrwx 1 root root 20 2008-06-27 20:13 /etc/rc5.d/S20apt-cacher -> 
> ../init.d/apt-cacher*
> lrwxrwxrwx 1 root root 20 2008-06-27 20:13 /etc/rc6.d/K20apt-cacher -> 
> ../init.d/apt-cacher*
> lrwxrwxrwx 1 root root 20 2008-06-27 20:13 /etc/rcS.d/S20apt-cacher -> 
> ../init.d/apt-cacher*
> 
> On another machine running etch, I updated sources.list to lenny and 
> installed apt-cacher; there was no /etc/rcS.d entry. I then removed 
> apt-cacher, did a dist-upgrade and reinstalled it. Now the /etc/rcS.d 
> entry appeared. Perhaps that helps.

OK, I think I understand this. Do you have the flag file
/etc/update-rc.d-lsbparse? Or are you using lsb (insserv etc)?

If so try this patch against /etc/init.d/apt-cacher
and then reinstall then update the init.d links, or reinstall the
package

Mark


diff --git a/apt-cacher.init b/apt-cacher.init
index a749069..765d8c2 100644
--- a/debian/apt-cacher.init
+++ b/debian/apt-cacher.init
@@ -7,7 +7,7 @@
 # Should-Start:      mountall
 # Required-Stop:     
 # Should-Stop:       
-# Default-Start:     S 2 3 4 5
+# Default-Start:     2 3 4 5
 # Default-Stop:      0 6
 # Short-Description: apt-cacher package caching proxy daemon 
 # Description:       The apt-cacher service is used to cache packages for a 
system or LAN





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to