[SOLVED] Centos 7 Upgrade 8.6.0 -> 8.7.5 fails: Unable to download packages zimbra-memcached from repository

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
beatsandpics
Posts: 1
Joined: Thu Mar 23, 2017 9:02 pm

[SOLVED] Centos 7 Upgrade 8.6.0 -> 8.7.5 fails: Unable to download packages zimbra-memcached from repository

Post by beatsandpics »

Hi,

I'm unable to upgrade to the latest version.

Code: Select all

[root@mail zcs-8.7.5_GA_1764.RHEL7_64.20170314032533]# ./install.sh

Operations logged to /tmp/install.log.cVkVjzfM
Checking for existing installation...
    zimbra-ldap...FOUND zimbra-ldap-8.6.0_GA_1153
    zimbra-logger...FOUND zimbra-logger-8.6.0_GA_1153
    zimbra-mta...FOUND zimbra-mta-8.6.0_GA_1153
    zimbra-dnscache...FOUND zimbra-dnscache-8.6.0_GA_1153
    zimbra-snmp...FOUND zimbra-snmp-8.6.0_GA_1153
    zimbra-store...FOUND zimbra-store-8.6.0_GA_1153
    zimbra-apache...FOUND zimbra-apache-8.6.0_GA_1153
    zimbra-spell...FOUND zimbra-spell-8.6.0_GA_1153
    zimbra-convertd...NOT FOUND
    zimbra-memcached...FOUND zimbra-memcached-8.6.0_GA_1153
    zimbra-proxy...FOUND zimbra-proxy-8.6.0_GA_1153
    zimbra-archiving...NOT FOUND
    zimbra-core...FOUND zimbra-core-8.6.0_GA_1153
ZCS upgrade from 8.6.0 to 8.7.5 will be performed.
Checking for existing proxy service in your environment
Checking for existing memcached service in your environment
Validating ldap configuration
LDAP validation succeeded.  Continuing.


----------------------------------------------------------------------
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for this Zimbra Collaboration Suite Software:
https://www.zimbra.com/license/zimbra-public-eula-2-6.html
----------------------------------------------------------------------



Do you agree with the terms of the software license agreement? [N] y



Checking current number of databases...

Do you want to verify message store database integrity? [Y]
Verifying integrity of message store databases.  This may take a while.
mysqld is alive
No errors found

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-dnscache
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy



Use Zimbra's package repository [Y]
Configuring package repository

The Zimbra Collaboration Server appears to already be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y]

Scanning for any new or additional packages available for installation
Existing packages will be upgraded
    Upgrading zimbra-core
    Upgrading zimbra-ldap
    Upgrading zimbra-logger
    Upgrading zimbra-mta
    Upgrading zimbra-dnscache
    Upgrading zimbra-snmp
    Upgrading zimbra-store
    Upgrading zimbra-apache
    Upgrading zimbra-spell
    Upgrading zimbra-memcached
    Upgrading zimbra-proxy
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.

Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-dnscache
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    zimbra-memcached
    zimbra-proxy

The system will be modified.  Continue? [N] y
Installing packages

zimbra-core will be downloaded.
zimbra-ldap will be downloaded.
zimbra-logger will be downloaded.
zimbra-mta will be downloaded.
zimbra-dnscache will be downloaded.
zimbra-snmp will be downloaded.
zimbra-store will be downloaded.
zimbra-apache will be downloaded.
zimbra-spell will be downloaded.
zimbra-memcached will be downloaded.
zimbra-proxy will be downloaded.
Downloading packages. This will not modify the system. This may take some time.
Downloading Remote package zimbra-memcached version
Unable to download packages zimbra-memcached from repository. System is not modified.
[root@mail zcs-8.7.5_GA_1764.RHEL7_64.20170314032533]#

Taking a closer look

Code: Select all

Downloading Remote package zimbra-memcached version
+ yum downgrade --downloadonly --assumeyes zimbra-memcached-
+ '[' 1 -ne 0 ']'
+ echo 'Unable to download packages zimbra-memcached from repository. System is not modified.'
Unable to download packages zimbra-memcached from repository. System is not modified.
+ exit 1

It seems like the upgrade adds a "-" to the end of the zimbra-memcached

Code: Select all


[root@mail zcs-8.7.5_GA_1764.RHEL7_64.20170314032533]# yum downgrade --downloadonly --assumeyes zimbra-memcached-
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.spreitzer.ch
 * extras: mirror.spreitzer.ch
 * updates: mirror.spreitzer.ch
No package zimbra-memcached- available.


[root@mail zcs-8.7.5_GA_1764.RHEL7_64.20170314032533]# yum search zimbra-memcached
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.spreitzer.ch
 * extras: mirror.spreitzer.ch
 * updates: mirror.spreitzer.ch
========================================================================================== N/S matched: zimbra-memcached ==========================================================================================
zimbra-memcached-debuginfo.x86_64 : Debug information for package zimbra-memcached
zimbra-memcached.x86_64 : Zimbra Memcached
zimbra-memcached-base.x86_64 : Zimbra memcached Base
zimbra-memcached-devel.x86_64 : memcached Development
It looks like the error is here:

Code: Select all

util/modules/packages.sh:				MEMCACHEDVER=`yum --showduplicates list zimbra-memcached | \
util/modules/packages.sh:				echo "Downloading Remote package zimbra-memcached version $MEMCACHEDVER";
util/modules/packages.sh:				yum downgrade --downloadonly --assumeyes zimbra-memcached-$MEMCACHEDVER >> $LOGFILE 2>&1
So I changed it to "yum downgrade --downloadonly --assumeyes zimbra-memcached >> $LOGFILE 2>&1"

and the installer runs trough....
alexandrebarbieri
Posts: 1
Joined: Sat Jun 24, 2017 3:45 am

Re: [SOLVED] Centos 7 Upgrade 8.6.0 -> 8.7.5 fails: Unable to download packages zimbra-memcached from repository

Post by alexandrebarbieri »

Hi!

Thanx for the explanation.

In my case, using Ubuntu Server 14.04 an upgrading from 8.6.0 to 8.7.11, I had to change the information above the yum command:

Code: Select all

$PACKAGEDOWNLOAD zimbra-memcached=$MEMCACHEDVER >> $LOGFILE 2>&1
I just removed the string "=$MEMCACHEDVER". So, the result was:

Code: Select all

$PACKAGEDOWNLOAD zimbra-memcached >> $LOGFILE 2>&1
Then the update was completed successfully!!

Best regards
FredKarno
Posts: 49
Joined: Sat Oct 10, 2015 5:40 am

Re: [SOLVED] Centos 7 Upgrade 8.6.0 -> 8.7.5 fails: Unable to download packages zimbra-memcached from repository

Post by FredKarno »

Hi, I'm looking at updating from 8.6.0 to 8.7.5 myself. I'm on Centos 7 - would you expect me to encounter the same problem?
I'd really appreciate it if you could tell me exactly where you made that edit too... I'm no linux guru!
Thank you,
Fred
Post Reply