Help to re install postfix

Zaqen

Active Member
Mar 20, 2018
58
3
28
54
Hi,

I have a problem on Proxmox 7.2-5.
I wanted to testing ssmtp package, i install it but apt desinstall postfix on my Proxmox.
He just desinstall postfix and postifx-sqlite (when i do first install , it's install default)

When i want to reinstall postfix : apt install postfix
System want install lot of package :

root@SVR01:~# apt install postfix
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
bsdmainutils cpp-8 debhelper dh-strip-nondeterminism dwz intltool-debian libarchive-cpio-perl libarchive-zip-perl libasan5 libbind9-161 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-program-options1.67.0 libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcodec2-0.8.1 libcroco3
libcrystalhd3 libdns-export1104 libdns1104 libdns1110 libevent-2.1-6 libevent-core-2.1-6 libevent-pthreads-2.1-6 libfile-stripnondeterminism-perl libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libicu63 libigdgmm5 libipset11 libirs161 libisc-export1100 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19
libjs-sphinxdoc libjs-underscore libjson-c3 libllvm7 liblwres161 libmail-sendmail-perl libmariadb3 libmpx2 libmysofa0 libnftables0 libperl5.28 libpgm-5.2-0 libprocps7 libprotobuf17 libpython3.7 libpython3.7-minimal libpython3.7-stdlib libsnmp30 libsub-override-perl libsys-hostname-long-perl libvpx5
libx264-155 libx265-165 libx86emu2 libzpool4linux mariadb-common mysql-common perl-modules-5.28 po-debconf pve-kernel-4.15 pve-kernel-4.15.18-30-pve pve-kernel-5.4.174-2-pve pve-kernel-5.4.65-1-pve python3-asn1crypto python3.7-minimal
Use 'apt autoremove' to remove them.
Suggested packages:
postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite sasl2-bin | dovecot-common libsasl2-modules | dovecot-common resolvconf postfix-cdb ufw postfix-doc
The following packages will be REMOVED:
ssmtp
The following NEW packages will be installed:
postfix
0 upgraded, 1 newly installed, 1 to remove and 182 not upgraded.
Need to get 1,553 kB of archives.
After this operation, 4,299 kB of additional disk space will be used.
Do you want to continue? [Y/n]


What must i do to no broken proxmox ?

Regards
 
I am a bit unsure, but you may misunderstand the message here. If you read it carefully it actually tells you that only one package will be installed, postfix:
The following NEW packages will be installed:
postfix
The list of long packages is actually the list of packages that apt now deems unnecessary:
The following packages were automatically installed and are no longer required:
bsdmainutils cpp-8 debhelper dh-strip-nondeterminism dwz intltool-debian libarchive-cpio-perl libarchive-zip-perl libasan5 libbind9-161 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-program-options1.67.0 libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcodec2-0.8.1 libcroco3
libcrystalhd3 libdns-export1104 libdns1104 libdns1110 libevent-2.1-6 libevent-core-2.1-6 libevent-pthreads-2.1-6 libfile-stripnondeterminism-perl libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libicu63 libigdgmm5 libipset11 libirs161 libisc-export1100 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19
libjs-sphinxdoc libjs-underscore libjson-c3 libllvm7 liblwres161 libmail-sendmail-perl libmariadb3 libmpx2 libmysofa0 libnftables0 libperl5.28 libpgm-5.2-0 libprocps7 libprotobuf17 libpython3.7 libpython3.7-minimal libpython3.7-stdlib libsnmp30 libsub-override-perl libsys-hostname-long-perl libvpx5
libx264-155 libx265-165 libx86emu2 libzpool4linux mariadb-common mysql-common perl-modules-5.28 po-debconf pve-kernel-4.15 pve-kernel-4.15.18-30-pve pve-kernel-5.4.174-2-pve pve-kernel-5.4.65-1-pve python3-asn1crypto python3.7-minimal
Use 'apt autoremove' to remove them.
But beware, installing postfix also seems to remove ssmtp!
The following packages will be REMOVED:
ssmtp
That's because both packages provide, replace and conflict with mail-transport-agent. So you won't be able to have both installed at the same time. Please be careful with the changes you make to the system. Don't just change the packages that are installed on your system without making sure that you know what you are doing! Proxmox VE uses postfix by default, unless you have a very good reason to change that and have the necessary know-how, we would discourage changing that.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!