apt-get install issue

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

apt-get install issue

Post by alex.barylski »

I tried installing websvn on Debian Etch using:

Code: Select all

apt-get install websvn
Simple I thought BUT...I was bombarded with conflicts, mostly misconfigured packages, such as:

Code: Select all

modutils
hotplug
modconf
pppoeconf
Mildly disappointed...I figured "pee on it" and I'd just remove it and install SVN and use that form the command line (I failed at installing Trac for the same reason).

Now when I uninstall via:

Code: Select all

apt-get remove websvn
I am getting a similar error message at the end:

Code: Select all

Errors were encountered while processing

modutils
hotplug
modconf
pppoeconf
Here is the entire screen dump:

Code: Select all

Hockey-Server:/# apt-get remove websvn

Reading package lists... Done
Building dependency tree... Done
Package websvn is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up modutils (2.4.27.0-6) ...
/etc/modutils/0keep: line 9: keep: command not found
Error while executing /etc/modutils/0keep, aborting
Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission
dpkg: error processing modutils (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of hotplug:
 hotplug depends on module-init-tools | modutils (>= 2.4.2); however:
  Package module-init-tools is not installed.
  Package modutils is not configured yet.
dpkg: error processing hotplug (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of modconf:
 modconf depends on modutils | module-init-tools; however:
  Package modutils is not configured yet.
  Package module-init-tools is not installed.
dpkg: error processing modconf (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pppoeconf:
 pppoeconf depends on modconf; however:
  Package modconf is not configured yet.
dpkg: error processing pppoeconf (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 modutils
 hotplug
 modconf
 pppoeconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
From reading the above I can see that the websvn package is no longer on the system (I already called apt-get remove websvn) but these dependencies are bothering me. Did they get installed when I originally installed websvn and somehow not removed when I removed websvn?

I believe I received the same error with the four above packages not being configured when I installed websvn - thus it's failure.

Why am I getting these errors at all? Doesn't APT keep track of packages dependecies and install them/configure them as required?

I'm guessing it's not perfect and occasionally needs manual assistance from admin's - this being one of those cases?

I've quickly read up on those packages and none really sound like I should need them as my system is a screen-less web server (nothing more nothing less).

Any help is appreciated :)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

perhaps

Code: Select all

apt-get --reinstall install modutils module-init-tools hotplug
will solve the problem.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

So, when I receive and error like that, it's usually telling me the package manager cannot install the depedencies and I have to install them manually?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

It's telling you that it can't "imagine" how package X can already be installed while Y,Z are not because X depends on Y,Z so the manager would have installed Y,Z prior to X ...at least I think that's what it's trying to tell you ;)
Post Reply