[SOLVED] Error installing proxmox mail gateway (ubuntu server 20.04)

stevenseven77

New Member
May 29, 2024
11
0
1
Hi, today I try to install PMG from my vm running with ubuntu server 20.04, i already add repo for non-subscription, i have perl 5.38.2 installed, but i have this error while try to install PMG:
root@smtp2:~# aptitude install proxmox-mailgateway-container
The following NEW packages will be installed:
antiword{a} clamav{a} clamav-base{a} clamav-daemon{a} clamav-freshclam{a} clamdscan{a} docx2txt{a} fetchmail{a}
fontconfig{a} fontconfig-config{a} fonts-dejavu-core{a} fonts-font-awesome{a} fonts-glyphicons-halflings{a}
geoip-database{a} idn{a} javascript-common{a} libanyevent-http-perl{a} libanyevent-perl{a} libappconfig-perl{a}
libapt-pkg-perl{a} libarchive-perl{ab} libarchive-zip-perl{a} libasync-interrupt-perl{a} libauthen-pam-perl{a}
libberkeleydb-perl{a} libcairo2{a} libclamav9{a} libclass-inspector-perl{a} libclass-load-perl{a}
libclass-load-xs-perl{a} libclass-tiny-perl{a} libclone-choose-perl{a} libclone-perl{a} libcompress-bzip2-perl{a}
libconfig-tiny-perl{a} libconvert-binhex-perl{a} libcrypt-openssl-bignum-perl{a} libcrypt-openssl-random-perl{a}
libcrypt-openssl-rsa-perl{a} libdatrie1{a} libdbd-pg-perl{a} libdbd-sqlite3-perl{a} libdbi-perl{a} libdbi1{a}
libdbix-simple-perl{a} libdevel-cycle-perl{a} libdevel-globaldestruction-perl{a} libdevel-overloadinfo-perl{a}
libdevel-partialdump-perl{a} libdigest-bubblebabble-perl{a} libdist-checkconflicts-perl{a}
libemail-abstract-perl{a} libemail-address-xs-perl{a} libemail-date-format-perl{a} libemail-messageid-perl{a}
libemail-mime-contenttype-perl{a} libemail-mime-encodings-perl{a} libemail-mime-perl{a} libemail-sender-perl{a}
libemail-simple-perl{a} libencode-detect-perl{a} libev-perl{a} libeval-closure-perl{a}
libfile-copy-recursive-perl{a} libfile-readbackwards-perl{a} libfile-sharedir-perl{a} libfile-sync-perl{a}
libfilesys-df-perl{a} libfontconfig1{a} libfuse3-3{a} libgeo-ip-perl{a} libgeoip1{a} libgif7{a} libgraphite2-3{a}
libguard-perl{a} libharfbuzz0b{a} libhash-merge-perl{a} libhtml-scrubber-perl{a} libio-multiplex-perl{a}
libjbig0{a} libjpeg-turbo8{a} libjpeg8{a} libjs-bootstrap{a} libjs-extjs{a} libjs-framework7{a} libjs-jquery{a}
libjs-qrcodejs{a} liblcms2-2{a} liblept5{a} liblinux-inotify2-perl{a} liblockfile-simple-perl{a}
liblog-agent-perl{a} libmail-authenticationresults-perl{a} libmail-dkim-perl{a} libmail-dmarc-perl{a}
libmail-spf-perl{a} libmime-base32-perl{a} libmime-tools-perl{a} libmime-types-perl{a}
libmodule-runtime-conflicts-perl{a} libmoose-perl{a} libmoox-types-mooselike-perl{a} libnet-cidr-lite-perl{a}
libnet-cidr-perl{a} libnet-dbus-perl{a} libnet-dns-perl{a} libnet-dns-sec-perl{a} libnet-ident-perl{a}
libnet-imap-simple-perl{a} libnet-ip-perl{a} libnet-libidn2-perl{ab} libnet-server-perl{a} libnet-smtps-perl{a}
libnetaddr-ip-perl{a} libobject-accessor-perl{a} libopenjp2-7{a} libpackage-deprecationmanager-perl{a}
libpango-1.0-0{a} libpangocairo-1.0-0{a} libpangoft2-1.0-0{a} libparse-recdescent-perl{a}
libperl4-corelibs-perl{a} libpixman-1-0{a} libpmg-rs-perl{ab} libpoppler97{a} libpq5{a} libproxmox-acme-perl{a}
libproxmox-acme-plugins{a} libproxmox-rs-perl{a} libpve-apiclient-perl{a} libpve-common-perl{a}
libpve-http-server-perl{a} libqrencode4{a} libregexp-common-perl{a} librrd8{a} librrds-perl{a}
libscope-guard-perl{a} libsql-abstract-perl{a} libstring-shellquote-perl{a} libsys-hostname-long-perl{a}
libtemplate-perl{a} libtesseract4{a} libtest-file-sharedir-perl{a} libtest-output-perl{a} libtext-aligner-perl{a}
libtext-table-perl{a} libtfm1{a} libthai-data{a} libthai0{a} libthrowable-perl{a} libtie-ixhash-perl{a}
libtiff5{a} libwebp6{a} libwebpmux3{a} libxcb-render0{a} libxcb-shm0{a} libxdgmime-perl{ab} libxml-libxml-perl{a}
libxml-twig-perl{a} libxml-xpathengine-perl{a} libxrender1{a} libyaml-libyaml-perl{a} libzip5{a} odt2txt{a}
p7zip{a} p7zip-full{a} pmg-api{ab} pmg-docs{a} pmg-gui{a} pmg-i18n{a} pmg-log-tracker{ab} poppler-data{a}
poppler-utils{a} proxmox-archive-keyring{a} proxmox-backup-client{ab} proxmox-mailgateway-container
proxmox-mini-journalreader{ab} proxmox-offline-mirror-docs{a} proxmox-offline-mirror-helper{ab}
proxmox-spamassassin{ab} proxmox-termproxy{ab} proxmox-widget-toolkit{a} pve-xtermjs{a} qrencode{a} razor{a}
rrdcached{a} spf-tools-perl{a} tesseract-ocr{a} tesseract-ocr-eng{a} tesseract-ocr-osd{a} tnef{a} unrtf{a}
unzip{a}
0 packages upgraded, 193 newly installed, 0 to remove and 19 not upgraded.
Need to get 62.0 MB of archives. After unpacking 206 MB will be used.
The following packages have unmet dependencies:
proxmox-spamassassin : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.15 is installed
proxmox-mini-journalreader : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.15 is installed
proxmox-offline-mirror-helper : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.15 is installed
Depends: libssl3 (>= 3.0.0) which is a virtual package and is not provided by any available package

proxmox-backup-client : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.15 is installed
Depends: libssl3 (>= 3.0.0) which is a virtual package and is not provided by any available package

Depends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is installed
libpmg-rs-perl : Depends: perl (>= 5.36.0-7) but 5.30.0-9ubuntu0.5 is installed
Depends: perlapi-5.36.0 which is a virtual package and is not provided by any available package

Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.15 is installed
Depends: libssl3 (>= 3.0.0) which is a virtual package and is not provided by any available package

libarchive-perl : Depends: perl (>= 5.36.0-7) but 5.30.0-9ubuntu0.5 is installed
Depends: perlapi-5.36.0 which is a virtual package and is not provided by any available package

proxmox-termproxy : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.15 is installed
libnet-libidn2-perl : Depends: perlapi-5.32.1 which is a virtual package and is not provided by any available package

libxdgmime-perl : Depends: perl (>= 5.36.0-7) but 5.30.0-9ubuntu0.5 is installed
Depends: perlapi-5.36.0 which is a virtual package and is not provided by any available package

Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.15 is installed
pmg-log-tracker : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.15 is installed
pmg-api : Depends: postfix (>= 3.7.10) but it is not going to be installed
Depends: postgresql-15 which is a virtual package and is not provided by any available package

open: 209; closed: 86; defer: 129; conflict: 222 .The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) libarchive-perl [Not Installed]
2) libnet-libidn2-perl [Not Installed]
3) libpmg-rs-perl [Not Installed]
4) libproxmox-acme-perl [Not Installed]
5) libproxmox-rs-perl [Not Installed]
6) libpve-common-perl [Not Installed]
7) libpve-http-server-perl [Not Installed]
8) libxdgmime-perl [Not Installed]
9) pmg-api [Not Installed]
10) pmg-log-tracker [Not Installed]
11) proxmox-backup-client [Not Installed]
12) proxmox-mailgateway-container [Not Installed]
13) proxmox-mini-journalreader [Not Installed]
14) proxmox-offline-mirror-helper [Not Installed]
15) proxmox-spamassassin [Not Installed]
16) proxmox-termproxy [Not Installed]
17) pve-xtermjs [Not Installed]

Leave the following dependencies unresolved:
18) pmg-api recommends proxmox-offline-mirror-helper
19) proxmox-spamassassin recommends libnet-libidn2-perl

The error also same for installing proxmox-mailgateway

I already try to run apt install pmg-api:

root@smtp2:~# apt install pmg-api
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pmg-api : Depends: libarchive-perl (>= 3.4.0-1) but it is not going to be installed
Depends: libpmg-rs-perl (>= 0.7.5) but it is not going to be installed
Depends: libproxmox-acme-perl (>= 1.0.8) but it is not going to be installed
Depends: libproxmox-rs-perl (>= 0.2.0) but it is not going to be installed
Depends: libpve-common-perl (>= 7.2-4) but it is not going to be installed
Depends: libpve-http-server-perl (>= 4.1-1) but it is not going to be installed
Depends: libxdgmime-perl but it is not going to be installed
Depends: pmg-log-tracker (>= 2.5~) but it is not going to be installed
Depends: postfix (>= 3.7.10) but it is not going to be installed
Depends: postgresql-15 but it is not installable
Depends: proxmox-backup-client (>= 2.2.0) but it is not going to be installed
Depends: proxmox-mini-journalreader (>= 1.3-1) but it is not going to be installed
Depends: proxmox-spamassassin (>= 4.0.0-2) but it is not going to be installed
Depends: pve-xtermjs (>= 1.0-1) but it is not going to be installed
Recommends: antiword but it is not going to be installed
Recommends: docx2txt but it is not going to be installed
Recommends: odt2txt but it is not going to be installed
Recommends: poppler-utils but it is not going to be installed
Recommends: proxmox-offline-mirror-helper but it is not going to be installed
Recommends: tesseract-ocr but it is not going to be installed
Recommends: unrtf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

how to fix this? thanks.
 
Hi, today I try to install PMG from my vm running with ubuntu server 20.04, i already add repo for non-subscription, i have perl 5.38.2 installed, but i have this error while try to install PMG:
All Proxmox products are based on Debian, not Ubuntu - you cannot run PMG on a Ubuntu VM (due to those dependency mismatches that you see)

I hope this helps!
 
  • Like
Reactions: stevenseven77

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!