Ubuntu 14.04 LTS - insserv package questions/conditions

Michael Fox michaelf at heimic.net
Sun May 18 23:30:28 UTC 2014


Hello All,

I've come across an interesting situation and I wanted to know if this
seemed like a couple of legit issues...

root at hotel:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:        14.04
Codename:       trusty

I had a default install on Ubuntu 14.04 in which didn't have insserv
installed, so I installed it, as I wanted to test something however post
the install I noticed that insserv cannot be executed, as it seems to be
outside the root users path.

Below is a list of the files that the package contains;

root at hotel:~# apt-file list insserv
insserv: /etc/bash_completion.d/insserv
insserv: /etc/insserv.conf
insserv: /usr/lib/insserv/insserv
insserv: /usr/share/doc/insserv/README
insserv: /usr/share/doc/insserv/README.Debian
insserv: /usr/share/doc/insserv/changelog.Debian.gz
insserv: /usr/share/doc/insserv/copyright
insserv: /usr/share/insserv/check-archive-initd-scripts
insserv: /usr/share/insserv/check-initd-order
insserv: /usr/share/insserv/make-testsuite
insserv: /usr/share/insserv/seq-changes
insserv: /usr/share/man/man8/insserv.8.gz

Below is the $PATH contents for my root user, which won't of course contain
/usr/lib/insserv, thus we will never see the binary/script needed.

root at hotel:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
root at hotel:~# which insserv
root at hotel:~#

I wonder why the bash completion is not working, and why the packager put
the binary into the path they did?

In addition, if I now wish to remove this package I cannot as I seem to
have a forced dependence for which I cannot avoid.

root at hotel:~# apt-get remove insserv
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 cron : Depends: upstart-job
 sysv-rc : Depends: sysvinit-utils (>= 2.86.ds1-62)
           Depends: insserv (> 1.12.0-10) but it is not going to be
installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused
by held packages.

If I force it;

root at hotel:~# dpkg --force-all --remove insserv
dpkg: insserv: dependency problems, but removing anyway as you requested:
 sysv-rc depends on insserv (>> 1.12.0-10).

(Reading database ... 66047 files and directories currently installed.)
Removing insserv (1.14.0-5ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1) ...
root at hotel:~#

But next use of the apt-get tells me i need to correct an issue..

root at hotel:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 sysv-rc : Depends: insserv (> 1.12.0-10) but it is not installed
E: Unmet dependencies. Try using -f.

Any comment/assistance would be appreciated, as to validity of the
condition/issue here.

Thanks

Michael Fox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140519/46d59a8a/attachment.html>


More information about the ubuntu-users mailing list