LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 03-01-2004, 04:55 AM   #1
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
apt-get conflicts


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 ???
 
Old 03-01-2004, 11:07 AM   #2
phobox
Member
 
Registered: Dec 2003
Location: Columbus, OH USA
Distribution: Debian Knoppix Kanotix Sidux
Posts: 73

Rep: Reputation: 15
what happens when you type apt-get -f install?
 
Old 03-01-2004, 11:09 AM   #3
phobox
Member
 
Registered: Dec 2003
Location: Columbus, OH USA
Distribution: Debian Knoppix Kanotix Sidux
Posts: 73

Rep: Reputation: 15
I also see you are installing thttpd-2 when you have thttpd already installed. Perhaps apt-get remove thttpd
 
Old 03-01-2004, 12:59 PM   #4
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
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.
 
Old 03-01-2004, 02:41 PM   #5
phobox
Member
 
Registered: Dec 2003
Location: Columbus, OH USA
Distribution: Debian Knoppix Kanotix Sidux
Posts: 73

Rep: Reputation: 15
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.
 
Old 03-03-2004, 09:19 AM   #6
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
does dpkg work if i'm using redhat?
I thought it would only work with debian?
 
Old 03-03-2004, 11:24 AM   #7
phobox
Member
 
Registered: Dec 2003
Location: Columbus, OH USA
Distribution: Debian Knoppix Kanotix Sidux
Posts: 73

Rep: Reputation: 15
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.

Last edited by phobox; 03-03-2004 at 12:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-rpm, SuSE 8.2 upgrade, and package conflicts bigrigdriver Linux - Software 2 05-28-2005 03:23 PM
apt-get dist-upgrade says there are conflicts between attempted installs of ... mikeZig Linux - Software 2 04-25-2004 11:11 PM
up2date conflicts with apt bosewicht Red Hat 1 12-05-2003 12:58 PM
apt-get conflicts jwjody Linux - Software 1 10-25-2003 05:54 PM
Apt rpm conflicts??? thcmwz Linux - Software 6 09-10-2003 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration