"insserv" is not installed, yes it is, no it isn't.

Asked by Sandy Wills

I used "chkconfig -A -l" to see what it told me (still learning about Linux), then tried to use "insserv" to stop a service that I thought was unnecessary. The following was copy-and-pasted from a terminal session:
----------------------------------------
sandy@sandy-linux:~$ insserv -h
The program 'insserv' is currently not installed. You can install it by typing:
sudo apt-get install insserv
sandy@sandy-linux:~$ sudo apt-get install insserv
Reading package lists... Done
Building dependency tree
Reading state information... Done
insserv is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sandy@sandy-linux:~$ insserv
The program 'insserv' is currently not installed. You can install it by typing:
sudo apt-get install insserv
----------------------------------------
The program is not installed. Yes it is. No it is not. "sudo insserv" asked for my password but then still said that insserv was not installed......

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu insserv Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo updatedb; lsb_release -a; uname -a; locate insserv

Thanks

Revision history for this message
Sandy Wills (sandydejax) said :
#2

Thank you for taking the time to help!
uname was the only one I already knew the result of, and sudo updatedb took a long time but appeared to have no effect:

sandy@sandy-linux:~$ uname -a
Linux sandy-linux 2.6.32-45-generic #99-Ubuntu SMP Tue Oct 16 16:31:11 UTC 2012 i686 GNU/Linux
sandy@sandy-linux:~$ sudo updatedb
[sudo] password for sandy:
sandy@sandy-linux:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
sandy@sandy-linux:~$ locate insserv
/etc/insserv
/etc/insserv.conf
/etc/insserv.conf.d
/etc/bash_completion.d/insserv
/etc/insserv/overrides
/usr/lib/insserv
/usr/lib/insserv/insserv
/usr/sbin/update-bootsystem-insserv
/usr/sbin/update-rc.d-insserv
/usr/share/insserv
/usr/share/doc/insserv
/usr/share/doc/insserv/README
/usr/share/doc/insserv/README.Debian
/usr/share/doc/insserv/changelog.Debian.gz
/usr/share/doc/insserv/changelog.gz
/usr/share/doc/insserv/copyright
/usr/share/insserv/check-archive-initd-scripts
/usr/share/insserv/check-initd-order
/usr/share/insserv/make-testsuite
/usr/share/insserv/overrides
/usr/share/insserv/seq-changes
/usr/share/insserv/overrides/devfsd
/usr/share/insserv/overrides/hotplug
/usr/share/insserv/overrides/hotplug-net
/usr/share/insserv/overrides/initrd-tools.sh
/usr/share/insserv/overrides/modutils
/usr/share/lintian/overrides/insserv
/usr/share/man/man8/insserv.8.gz
/usr/share/man/man8/update-rc.d-insserv.8.gz
/var/lib/insserv
/var/lib/dpkg/info/insserv.conffiles
/var/lib/dpkg/info/insserv.list
/var/lib/dpkg/info/insserv.md5sums
/var/lib/dpkg/info/insserv.postinst
sandy@sandy-linux:~$

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

Hi ,

please take the time to read here about package insserv and what this package do
https://launchpad.net/ubuntu/lucid/+package/insserv

Also have a read at this bug : https://bugs.launchpad.net/ubuntu/+source/insserv/+bug/467000

before you attempt to use this program.

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

The updatedb made a database of all your files, for it to be effective you need to update it so that it reflects the current files.

Can you help with this problem?

Provide an answer of your own, or ask Sandy Wills for more information if necessary.

To post a message you must log in.