On Fri, Jun 27, 2008 at 09:15:17AM +0100, Mark Hindley wrote:
> On Thu, Jun 26, 2008 at 08:46:31AM +1000, Jon wrote:
> > Package: apt-cacher
> > Version: 1.6.4
> > Severity: normal
> > 
> > Hi,
> > 
> > I have the same problem as described in this post:
> > http://thread.gmane.org/gmane.linux.debian.user/325219
> > 
> > That is, apt-cacher starts twice. Once very early:
> 
> Could you tell me what links to /etc/init.d/apt-cacher there are in
> /etc/rc* there are. ls /etc/rc*.d/*apt-cacher should tell you.
> 
> The 'standard' should be
> 
> 
> lrwxrwxrwx 1 root root 20 Sep  6  2007 /etc/rc0.d/K20apt-cacher -> 
> ../init.d/apt-cacher
> lrwxrwxrwx 1 root root 20 Sep  6  2007 /etc/rc1.d/K20apt-cacher -> 
> ../init.d/apt-cacher
> lrwxrwxrwx 1 root root 20 Sep  6  2007 /etc/rc2.d/S20apt-cacher -> 
> ../init.d/apt-cacher
> lrwxrwxrwx 1 root root 20 Sep  6  2007 /etc/rc3.d/S20apt-cacher -> 
> ../init.d/apt-cacher
> lrwxrwxrwx 1 root root 20 Sep  6  2007 /etc/rc4.d/S20apt-cacher -> 
> ../init.d/apt-cacher
> lrwxrwxrwx 1 root root 20 Sep  6  2007 /etc/rc5.d/S20apt-cacher -> 
> ../init.d/apt-cacher
> lrwxrwxrwx 1 root root 20 Sep  6  2007 /etc/rc6.d/K20apt-cacher -> 
> ../init.d/apt-cacher
> 
> I suspect you have a strange entry in /etc/rcS.d.

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.

Cheers.



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

Reply via email to