Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: bakedjake
However, some things I just can't figure out. One of the most irritating things is how often I find there are unmet dependencies when I try to install new things. For example, I
tried installing, using apt-get, a number of packages, such as rkhunter, chkrootkit, mod-security. however, i continually get the same kind of errors.
# sudo apt-get install rkhunter chkrootkit
Reading package lists... Done
Building dependency tree... Done
You might want to run ‚apt-get -f install‚ to correct these:
The following packages have unmet dependencies.
libcurl4-gnutls-dev: Depends: libcurl3-gnutls (= 7.18.2-8) but it is not going to be installed
Depends: zlib1g-dev but it is not going to be installed
Depends: libidn11-dev but it is not going to be installed
Depends: libkrb5-dev but it is not going to be installed or hurd but it is not installable
Depends: libldap2-dev but it is not going to be installed
rkhunter: Depends: mailx
E: Unmet dependencies. Try ‚apt-get -f install‚ with no packages (or specify a solution).
Can anyone clarify this at all? Using -f doesn't help, and it seems that each time I try to install any of those dependencies, yet more unmet dependencies are thrown up. Thanks
Have you edited sources.list? Check its OK. There should be ways to clean up everything: I think apt-get clean removes downloaded packages (they might be corrupt).
It should be possible to rebuild the package database: I do not know how.
If you do not get an answer here try your distro's (which one is it?) forums.
its Ubuntu Server 6.06.2 LTS btw... i'll take a look round their forums, too, thanks
Incidentally I assumed that you had tried sudo apt-get -f install, but, as encylo says, it is badly explained and it is the first thing to try.
you two just made my day :P