Bug 107149 - upgrade from ubuntu 12.04 to 14.04 will remove all zimbra packages
upgrade from ubuntu 12.04 to 14.04 will remove all zimbra packages
Details
Bug#: 107149 with 1 vote (vote) Client: All Browsers
Product: ZCS OS: All
Component: Install & Upgrade 8.7.1_ZCS_JudasPriest
Status: IN_PROGRESS Priority: P5
Resolution: Severity: normal
: ---

User Stories:
Test Stories:
Feature Notes:
 
People
Reported: 2016-11-02 15:02 UTC by bulletxt
Modified: 2017-04-04 11:40 UTC (History)
Assigned To: Bug Owner
Varsha Pillay
5 users (show)

Dependencies, Duplicates, and Blocks
See Also:
Depends on:
Blocks:
  Show dependency treegraph


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bulletxt 2016-11-02 15:02:42 UTC
Hi,
if you are on Ubuntu 12.04 and with Zimbra 8.7.1 , it becomes impossibile to upgrade to Ubuntu 14.04 because when doing do-release-upgrade Ubuntu wants to automatically remove all Zimbra packages.

Before proceeding to the upgrade this is the details of packages it wants to remove:

Not supported anymore: libdb5.1 


Removes: libperl5.14 xz-lzma zimbra-apache zimbra-core 
  zimbra-core-components zimbra-ldap zimbra-logger zimbra-mta 
  zimbra-mta-components zimbra-proxy zimbra-snmp zimbra-spell 
  zimbra-store 

Remove apache2.2-common zimbra-cluebringer zimbra-os-requirements 
  zimbra-perl zimbra-perl-archive-zip zimbra-perl-berkeleydb 
  zimbra-perl-bit-vector zimbra-perl-cache-fastmmap 
  zimbra-perl-compress-raw-bzip2 zimbra-perl-compress-raw-zlib 
  zimbra-perl-config-inifiles zimbra-perl-convert-uulib 
  zimbra-perl-crypt-openssl-random zimbra-perl-crypt-openssl-rsa 
  zimbra-perl-data-uuid zimbra-perl-date-calc zimbra-perl-db-file 
  zimbra-perl-dbd-mysql zimbra-perl-dbd-sqlite zimbra-perl-dbi 
  zimbra-perl-digest-hmac zimbra-perl-digest-sha1 
  zimbra-perl-encode-detect zimbra-perl-file-libmagic 
  zimbra-perl-filesys-df zimbra-perl-html-parser 
  zimbra-perl-http-cookies zimbra-perl-http-daemon 
  zimbra-perl-http-message zimbra-perl-http-negotiate 
  zimbra-perl-innotop zimbra-perl-io-compress 
  zimbra-perl-io-socket-inet6 zimbra-perl-io-socket-ip 
  zimbra-perl-io-socket-ssl zimbra-perl-libwww 
  zimbra-perl-list-moreutils zimbra-perl-lwp-protocol-https 
  zimbra-perl-mail-dkim zimbra-perl-mail-spamassassin 
  zimbra-perl-mail-spf zimbra-perl-net-dns 
  zimbra-perl-net-dns-resolver-programmable zimbra-perl-net-http 
  zimbra-perl-net-ldap zimbra-perl-net-ldapapi zimbra-perl-net-libidn 
  zimbra-perl-net-ssleay zimbra-perl-netaddr-ip 
  zimbra-perl-proc-processtable zimbra-perl-soap-lite 
  zimbra-perl-socket zimbra-perl-socket-linux zimbra-perl-swatchdog 
  zimbra-perl-term-readkey zimbra-perl-unix-getrusage 
  zimbra-perl-unix-syslog zimbra-perl-xml-parser 
  zimbra-perl-xml-sax-expat zimbra-perl-xml-simple 
  zimbra-perl-zmq-libzmq3 zimbra-pflogsumm zimbra-prepflog 
  zimbra-spamassassin-rules (installato automaticamente) 


If you go ahead and upgrade it then of course becomes impossibile to reinstall 8.7.1 on ubuntu 14.04 as it will complain of a lot of errors (ex. ldap not running)
Comment 1 bulletxt 2016-11-02 15:39:24 UTC
I might be wrong but from what I can see the major problem is that Ubuntu removes libperl5.14 since that no longer exists on 14.04 and Zimbra packages rely on it...
maybe we can remove this dependency and just be sure Zimbra packages depend on  "perl-base" as this is the real perl library package?
Comment 3 Jorge de la Cruz 2016-11-23 16:55:42 UTC
I've tried today, with a clean install of ZCS 8.7.1 over Ubuntu 12.04, then upgrade to Ubuntu 14.04 with the command:
do-release-upgrade -d

No errors found

Logs:
https://www.dropbox.com/s/vjenu48zpegcq0v/46.101.87.11311231513.log?dl=1
https://www.dropbox.com/s/5qk1o3947vj8klq/46.101.87.11311231640.log?dl=1

So I don't think the packages has any error, not sure what happened to your installation bulletxt, try it again and let us know.

Thank you
Comment 4 bulletxt 2016-11-24 14:14:27 UTC
This is what I'm getting with a new test:

root@mail-01:~/zcs-8.7.1_GA_1670.UBUNTU14_64.20161025045105# ./install.sh 

Operations logged to /tmp/install.log.zoDZinOo
Checking for existing installation...
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-dnscache...NOT FOUND
    zimbra-snmp...NOT FOUND
    zimbra-store...NOT FOUND
    zimbra-apache...NOT FOUND
    zimbra-spell...NOT FOUND
    zimbra-convertd...NOT FOUND
    zimbra-memcached...FOUND zimbra-memcached-1.4.25-1zimbra8.7b1.12.04
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-core...NOT FOUND
./util/utilfunc.sh: riga 796: [: -lt: atteso operatore unario
./util/utilfunc.sh: riga 796: [: troppi argomenti
Validating ldap configuration
Value "--vminor" invalid for option vmajor (number expected)
Value "--umajor" invalid for option vmicro (number expected)
Error: Unable to create a successful TLS connection to the ldap masters.
       Fix cert configuration prior to upgrading.
Comment 5 Jorge de la Cruz 2017-01-03 19:46:02 UTC
Here are some comments and possible workarounds:
https://forums.zimbra.org/viewtopic.php?f=13&t=60980
Comment 6 Jorge de la Cruz 2017-01-19 23:13:16 UTC
Another comment with a few steps, good to have more insight on it:
https://forums.zimbra.org/viewtopic.php?f=8&t=61175#p273888