LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-16-2020, 11:42 AM   #1
banderas20
Member
 
Registered: Aug 2018
Posts: 136

Rep: Reputation: Disabled
Question Postfix install problem with Debian


Hello!

I'm trying to setup a postfix installation in Debian.

In the first attempt, I skipped by mistake the initial configuration screen, and I want to re-run it.

I run

Code:
dpkg-reconfigure postfix
then it shows the initial config screen with the options to choose from. However, I can't move with the keys and can't choose any option.

Then I try to reinstall it. If I make this:

Code:
dpkg -P postfix
It comes with dependency problems:
Code:
 mailutils depends on default-mta | mail-transport-agent; however:
  Package default-mta is not installed.
  Package exim4-daemon-light which provides default-mta is not installed.
  Package mail-transport-agent is not installed.
  Package postfix which provides mail-transport-agent is to be removed.
  Package exim4-daemon-light which provides mail-transport-agent is not installed.
¿how is that these packages where not installed alongside with postfix and the initial setup didn't complain?

¿What am I doing wrong?

Any help will be greatly appreciated.

Thanks!
 
Old 10-19-2020, 06:50 PM   #2
IlyaK
Member
 
Registered: Jun 2017
Location: The Netherlands
Distribution: Debian
Posts: 118

Rep: Reputation: 72
I believe you can't purge (delete) package with

$ dpkg -P

because mailutils depends on it.

You can probably reinstall it with

$ sudo apt-get install --reinstall postfix

but no need do that.

Instead, try to reconfigure it again. If you can't move the keys, you probably have serious problem with terminal emulator. Do you run it in the console or via ssh from another machine?
 
Old 10-20-2020, 04:21 AM   #3
banderas20
Member
 
Registered: Aug 2018
Posts: 136

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by IlyaK View Post
I believe you can't purge (delete) package with

$ dpkg -P

because mailutils depends on it.

You can probably reinstall it with

$ sudo apt-get install --reinstall postfix

but no need do that.

Instead, try to reconfigure it again. If you can't move the keys, you probably have serious problem with terminal emulator. Do you run it in the console or via ssh from another machine?
Done.

I removed mailutils and after that, removed postfix.

Installed postfix again. Then mailutils and it worked!

Thanks a million!
 
  


Reply

Tags
debian 9, postfix



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
Postfix 2.6.6 postfix/cleanup and postfix/master errors Pummelmuffin Linux - Server 2 11-22-2020 12:50 PM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
LXer: Upgrading from Debian 6 Squeeze with ISPConfig and courier/postfix to Debian 7 Wheezy LXer Syndicated Linux News 0 08-16-2016 05:36 PM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:32 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