Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've got apache-1.3 and thttpd-2 installed on my redhat 9 server.
Now if i do an 'apt-get upgrade' or 'apt-get install ...' i get the following error:
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache: Conflicts: thttpd but 2.23beta1-2.fr is to be installed
Can i let apt-get ignore this by editing /etc/apt/apt.conf ???
apt-get -f doesn't work. It wants to remove thttpd, while i need both apache and thttpd on my server.
[root@lnxsrvr root]# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
thttpd
0 packages upgraded, 0 newly installed, 1 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 1873kB disk space will be freed.
Do you want to continue? [Y/n]
I think that there should be an option in /etc/apt/apt.conf to ignore this, but i'm not sure.
It looks like thttpd and apache aren't playing nice. One option would be to go ahead let thttpd to upgrade like it claims it wants to.
dpkg -i --force-conflicts /var/cache/apt/archives/thttpd-2.23beta1-2.fr.deb
I can't test myself this so some syntax might be off.
It will work since you're using apt-get, and apt-get is just a frontend to dpkg.
<edit>
After googling a bit, I see that a redhat apt-get uses rpm instead of dpkg. I'm afraid I don't know much about rpm, but maybe there is an equivilent option to what I said before. Sorry for the confusion.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.