[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: missing LSB tags and overrides



On Thu, Jul 24, 2014 at 12:33:42PM +0200, Tony van der Hoff wrote:
> On 23/07/14 15:24, Darac Marjal wrote:
> > On Wed, Jul 23, 2014 at 09:41:08AM +0200, Tony van der Hoff wrote:
> >> Any suggestions on how to fix this please?
> >>
> >>
> >> insserv: warning: script 'K01kerneld' missing LSB tags and overrides
> >> insserv: warning: script 'K01apache' missing LSB tags and overrides
> >> insserv: warning: script 'S15modutils' missing LSB tags and overrides
> >> insserv: warning: script 'S15libdevmapper1.02' missing LSB tags and
> >> overrides
> >> insserv: warning: script 'S15xfree86-common' missing LSB tags and overrides
> >> insserv: warning: script 'xfree86-common' missing LSB tags and overrides
> >> insserv: warning: script 'libdevmapper1.02' missing LSB tags and overrides
> >> insserv: warning: script 'modutils' missing LSB tags and overrides
> >> insserv: warning: script 'iptables' missing LSB tags and overrides
> >> insserv: warning: script 'kerneld' missing LSB tags and overrides
> >> insserv: warning: script 'apache' missing LSB tags and overrides
> > 
> > Step 1. Purge unconfigured packages providing init scripts. That is,
> > init scripts are considers conffiles so removing the package doesn't
> > remove the file. Because the package is removed, it doesn't get updates
> > to fix problems such as above.
> > 
> > Step 2. If you have any init scripts that you developed yourself, add
> > proper headers[1] to the script.
> > 
> > Step 3. If you have any init scripts that are provided by a third party,
> > add the proper headers to a file in /etc/insserv/overrides. The filename
> > must match that of the init script (not the symlinks thereto).
> > 
> 
> Thanks for all the replies, of which this one seems the most comprehensive.
> 
> I have no 3rd party scripts, nor do I have any home-brew scripts.
> 
> >From the warning messages, I'll assume that the packages to purge would
> be xfree86-common, libdevmapper1.02, iptables, kerneld, and apache. Of
> those only iptables appears in the current wheezy list.
> 
> So:
> root@shell2:/etc# apt-get -s purge xfree86-common, libdevmapper1.02,
> iptables, kerneld, apache
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package 'apache' is not installed, so not removed
> E: Unable to locate package xfree86-common,
> E: Unable to locate package libdevmapper1.02,
> E: Couldn't find any package by regex 'libdevmapper1.02,'
> E: Unable to locate package iptables,
> E: Unable to locate package kerneld,

Try "dpkg -l | grep '^rc'" to list the packages that you have which are
removed, but not purged. If that doesn't help, then yes, you should be
fine to just delete them.

> 
> 
> I presume I could just delete those scripts.
> 
> Is that correct?
> 
> 
> -- 
> Tony van der Hoff  | mailto:tony@vanderhoff.org
> Ariège, France     |
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 53D0E106.4040305@vanderhoff.org">https://lists.debian.org/[🔎] 53D0E106.4040305@vanderhoff.org
> 

Attachment: signature.asc
Description: Digital signature


Reply to: