LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix install problem with Debian (https://www.linuxquestions.org/questions/linux-server-73/postfix-install-problem-with-debian-4175683750/)

banderas20 10-16-2020 11:42 AM

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!

IlyaK 10-19-2020 06:50 PM

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?

banderas20 10-20-2020 04:21 AM

Quote:

Originally Posted by IlyaK (Post 6176891)
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!


All times are GMT -5. The time now is 08:51 AM.