LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-20-2003, 10:55 AM   #1
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
remove exim install sendmail


Hi, I have a debian 3.0 linux box. Exim is my default MTA. I would like to switch over to sendmail. When I run the command:

apt-get install sendmail

I this error message:

Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
exim
The following NEW packages will be installed:
sendmail
0 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/918kB of archives. After unpacking 1778kB will be used.
Do you want to continue? [Y/n] y
dpkg: exim: dependency problems, but removing anyway as you request:
mutt depends on exim | mail-transport-agent; however:
Package exim is to be removed.
Package mail-transport-agent is not installed.
Package exim which provides mail-transport-agent is to be removed.
mutt depends on exim | mail-transport-agent; however:
Package exim is to be removed.
Package mail-transport-agent is not installed.
Package exim which provides mail-transport-agent is to be removed.
mailx depends on mail-transport-agent; however:
Package mail-transport-agent is not installed.
Package exim which provides mail-transport-agent is to be removed.
(Reading database ... 16596 files and directories currently installed.)
Removing exim ...
/var/lib/dpkg/info/exim.prerm: /etc/init.d/exim: No such file or directory
dpkg: error processing exim (--remove):
subprocess pre-removal script returned error exit status 1
/var/lib/dpkg/info/exim.postinst: /etc/init.d/exim: No such file or directory
Errors were encountered while processing:
exim
E: Sub-process /usr/bin/dpkg returned an error code (1)


I have look into dselect a bit but WOW! that is kind of heavy.

Is there a simple way to remove exim and install sendmail?

Bill

Last edited by waffe; 10-20-2003 at 11:24 AM.
 
Old 10-20-2003, 12:30 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Why do you want to install sendmail at all? Sendmail has a pretty bad security history and I suggest you stay away from it.

You should give postfix a try!
 
Old 10-20-2003, 01:08 PM   #3
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
I get the same error when I try to install postfix, smail, qmail ect.....
 
Old 10-20-2003, 03:55 PM   #4
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
Wow that was bad!!

Sorry I cannot explain really how this problem was fixed. I hired a friend to do it and all was good after that.

All I can say is what i did. I removed exim with dpkg --purge --force- exim

Danger!! This removed exim but it also removed my dpkg, samba, apache and a few more; which from that point I was beat.

My friend went to apt-get.org and read up on how to install dpkg and an hour later all was good again.
 
Old 10-22-2003, 01:15 PM   #5
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
okay. i hope you do not have installed sendmail :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Replacing Sendmail with Exim jademan83 *BSD 0 06-13-2005 04:10 PM
exim is failed !!! error:package exim is not installed apache Linux - Software 0 06-24-2004 05:55 AM
Remove sendmail... how? mikkol Linux - Newbie 1 05-05-2004 10:55 PM
how to remove exim alone freelinuxcpp Debian 1 01-12-2004 02:49 AM
replacing sendmail with exim pbaumgar Linux - Software 1 08-15-2003 03:37 AM


All times are GMT -5. The time now is 07:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration