[SOLVED] Two different versions of PMG in the cluster

Discussion in 'Mail Gateway: Installation and configuration' started by saphirblanc, Nov 9, 2018.

  1. saphirblanc

    saphirblanc New Member

    Joined:
    Jul 4, 2017
    Messages:
    23
    Likes Received:
    0
    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,
     
  2. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,082
    Likes Received:
    342
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. saphirblanc

    saphirblanc New Member

    Joined:
    Jul 4, 2017
    Messages:
    23
    Likes Received:
    0
    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.
     
  4. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,082
    Likes Received:
    342
    This is not a valid entry. Please check the admin docs (see "Help" Button), chapter "3.4. Package Repositories"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    saphirblanc likes this.
  5. saphirblanc

    saphirblanc New Member

    Joined:
    Jul 4, 2017
    Messages:
    23
    Likes Received:
    0
    Thanks fixed!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice