[SOLVED] Two different versions of PMG in the cluster

saphirblanc

Well-Known Member
Jul 4, 2017
49
0
46
Hello,

I've for both servers a license key (enterprise). However, on the master, the version Mail Gateway 5.0-78 is installed and on the slave, version Mail Gateway 5.1-2 is setup.

There is no update available on the master to "upgrade" to the 5.1-2. How should I upgrade to have the same version on both nodes ?

Thank you,
 
As long as you have valid keys, the upgrade should work.

Please run the following and post results on both nodes:

> apt update
> apt dist-upgrade
 
As long as you have valid keys, the upgrade should work.

Please run the following and post results on both nodes:

> apt update
> apt dist-upgrade

Master :

Code:
root@gw1:~# apt update
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://download.proxmox.com/debian/pmg stretch InRelease
Ign:3 http://ftp.ch.debian.org/debian stretch InRelease
Get:4 http://ftp.ch.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:5 http://ftp.ch.debian.org/debian stretch Release
Ign:6 http://packages.elastic.co/beats/apt stable InRelease
Hit:8 http://packages.elastic.co/beats/apt stable Release
Fetched 91.0 kB in 0s (122 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@gw1:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libruby2.3 ruby2.3
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,299 kB of archives.
After this operation, 0 B of additional disk space will be used.

Content of sources.list :

Code:
deb http://ftp.ch.debian.org/debian stretch main contrib

deb http://ftp.ch.debian.org/debian stretch-updates main contrib

# security updates
deb http://security.debian.org stretch/updates main contrib

deb http://download.proxmox.com/debian/pmg stretch pmg-enterprise

Slave :

Code:
root@gw2:~# apt update
Ign:1 http://ftp.ch.debian.org/debian stretch InRelease
Hit:2 http://ftp.ch.debian.org/debian stretch-updates InRelease
Hit:3 http://ftp.ch.debian.org/debian stretch Release
Hit:4 http://security.debian.org stretch/updates InRelease
Hit:5 http://download.proxmox.com/debian/pmg stretch InRelease
Ign:7 http://packages.elastic.co/beats/apt stable InRelease
Hit:8 http://packages.elastic.co/beats/apt stable Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@gw2:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libruby2.3 ruby2.3
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,299 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]

Sources.list :

Code:
deb http://ftp.ch.debian.org/debian stretch main contrib

deb http://ftp.ch.debian.org/debian stretch-updates main contrib

# security updates
deb http://security.debian.org stretch/updates main contrib

deb http://download.proxmox.com/debian/pmg stretch pmg-enterprise

Thanks for your help.