PFB the log which shows the uninstallation of existing 5.5 and then 5.7 installation:-1:
/usr/bin/aptitude
Hit http://installrepo.kaltura.org/repo/apt/debian mercury InRelease
Ign http://dl.google.com/linux/chrome/deb stable InRelease
Hit http://dl.google.com/linux/chrome/deb stable Release
Hit http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit http://archive.ubuntu.com/ubuntu xenial InRelease
Hit http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit http://archive.canonical.com/ubuntu xenial InRelease
Hit http://repo.percona.com/apt xenial InRelease
Ign http://dell.archive.canonical.com/updates xenial-dell InRelease
Hit http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign http://archive.ubuntu.com/ubuntu trusty InRelease
Hit http://dell.archive.canonical.com/updates xenial-dell Release
Hit http://archive.ubuntu.com/ubuntu trusty Release
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
Building tag database…
lsb-release is already installed at the requested version (9.20160110ubuntu0.2)
software-properties-common is already installed at the requested version (0.96.20.7)
lsb-release is already installed at the requested version (9.20160110ubuntu0.2)
software-properties-common is already installed at the requested version (0.96.20.7)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 45 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Building tag database…
‘multiverse’ distribution component is already enabled for all sources.
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Building tag database…
The following NEW packages will be installed:
mysql-client-5.7{ab} mysql-client-core-5.7{ab} mysql-server
mysql-server-5.7{ab} mysql-server-core-5.7{ab}
0 packages upgraded, 5 newly installed, 0 to remove and 45 not upgraded.
Need to get 0 B/18.4 MB of archives. After unpacking 160 MB will be used.
The following packages have unmet dependencies:
mysql-client-5.7 : Conflicts: virtual-mysql-client which is a virtual package, provided by:
- percona-xtradb-cluster-client-5.7, but it is not going to be installed. - percona-xtradb-cluster-client-5.6, but it is not going to be installed. - percona-server-client-5.7, but it is not going to be installed. - percona-server-client-5.6, but it is not going to be installed. - percona-server-client-5.5, but 5.5.58-rel38.10-1.xenial is installed. - percona-xtradb-cluster-client-5.5, but it is not going to be installed. - mysql-client-5.6, but it is not going to be installed. - mariadb-client-5.5, but it is not going to be installed. - mariadb-client-10.0, but it is not going to be installed. - mysql-client-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed. - mariadb-client-10.0, but it is not going to be installed. - mysql-client-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed.
mysql-server-5.7 : Conflicts: virtual-mysql-server which is a virtual package, provided by:
- percona-xtradb-cluster-server-5.7, but it is not going to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.7, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - percona-server-server-5.5, but 5.5.58-rel38.10-1.xenial is installed. - percona-xtradb-cluster-server-5.5, but it is not going to be installed. - mysql-server-5.6, but it is not going to be installed. - mariadb-server-5.5, but it is not going to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - mariadb-server-10.0, but it is not going to be installed. - mysql-server-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - mariadb-server-10.0, but it is not going to be installed. - mysql-server-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed.
percona-server-server-5.5 : Breaks: virtual-mysql-server which is a virtual package, provided by:
- percona-xtradb-cluster-server-5.7, but it is not going to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.7, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - percona-server-server-5.5, but 5.5.58-rel38.10-1.xenial is installed. - percona-xtradb-cluster-server-5.5, but it is not going to be installed. - mysql-server-5.6, but it is not going to be installed. - mariadb-server-5.5, but it is not going to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - mariadb-server-10.0, but it is not going to be installed. - mysql-server-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - mariadb-server-10.0, but it is not going to be installed. - mysql-server-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed.
Breaks: virtual-mysql-server-core which is a virtual package, provided by:
- percona-xtradb-cluster-server-5.7, but it is not going to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.7, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - percona-server-server-5.5, but 5.5.58-rel38.10-1.xenial is installed. - percona-xtradb-cluster-server-5.5, but it is not going to be installed. - mysql-server-core-5.6, but it is not going to be installed. - mariadb-server-core-5.5, but it is not going to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - mariadb-server-core-10.0, but it is not going to be installed. - mysql-server-core-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - mariadb-server-core-10.0, but it is not going to be installed. - mysql-server-core-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed.
percona-server-client-5.5 : Breaks: virtual-mysql-client which is a virtual package, provided by:
- percona-xtradb-cluster-client-5.7, but it is not going to be installed. - percona-xtradb-cluster-client-5.6, but it is not going to be installed. - percona-server-client-5.7, but it is not going to be installed. - percona-server-client-5.6, but it is not going to be installed. - percona-server-client-5.5, but 5.5.58-rel38.10-1.xenial is installed. - percona-xtradb-cluster-client-5.5, but it is not going to be installed. - mysql-client-5.6, but it is not going to be installed. - mariadb-client-5.5, but it is not going to be installed. - mariadb-client-10.0, but it is not going to be installed. - mysql-client-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed. - mariadb-client-10.0, but it is not going to be installed. - mysql-client-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed.
Breaks: virtual-mysql-client-core which is a virtual package, provided by:
- percona-xtradb-cluster-client-5.7, but it is not going to be installed. - percona-xtradb-cluster-client-5.6, but it is not going to be installed. - percona-server-client-5.7, but it is not going to be installed. - percona-server-client-5.6, but it is not going to be installed. - percona-server-client-5.5, but 5.5.58-rel38.10-1.xenial is installed. - percona-xtradb-cluster-client-5.5, but it is not going to be installed. - mysql-client-core-5.6, but it is not going to be installed. - mariadb-client-core-5.5, but it is not going to be installed. - mariadb-client-core-10.0, but it is not going to be installed. - mysql-client-core-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed. - mariadb-client-core-10.0, but it is not going to be installed. - mysql-client-core-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed.
mysql-client-core-5.7 : Conflicts: virtual-mysql-client-core which is a virtual package, provided by:
- percona-xtradb-cluster-client-5.7, but it is not going to be installed. - percona-xtradb-cluster-client-5.6, but it is not going to be installed. - percona-server-client-5.7, but it is not going to be installed. - percona-server-client-5.6, but it is not going to be installed. - percona-server-client-5.5, but 5.5.58-rel38.10-1.xenial is installed. - percona-xtradb-cluster-client-5.5, but it is not going to be installed. - mysql-client-core-5.6, but it is not going to be installed. - mariadb-client-core-5.5, but it is not going to be installed. - mariadb-client-core-10.0, but it is not going to be installed. - mysql-client-core-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed. - mariadb-client-core-10.0, but it is not going to be installed. - mysql-client-core-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed.
mysql-server-core-5.7 : Conflicts: virtual-mysql-server-core which is a virtual package, provided by:
- percona-xtradb-cluster-server-5.7, but it is not going to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.7, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - percona-server-server-5.5, but 5.5.58-rel38.10-1.xenial is installed. - percona-xtradb-cluster-server-5.5, but it is not going to be installed. - mysql-server-core-5.6, but it is not going to be installed. - mariadb-server-core-5.5, but it is not going to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - mariadb-server-core-10.0, but it is not going to be installed. - mysql-server-core-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed. - percona-xtradb-cluster-server-5.6, but it is not going to be installed. - percona-server-server-5.6, but it is not going to be installed. - mariadb-server-core-10.0, but it is not going to be installed. - mysql-server-core-5.7, but 5.7.20-0ubuntu0.16.04.1 is to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
-
percona-server-client-5.5
-
percona-server-server-5.5
The following NEW packages will be installed:
mysql-client-5.7{a} mysql-client-core-5.7{a} mysql-server
mysql-server-5.7{a} mysql-server-core-5.7{a}
The following packages will be REMOVED:
libdbd-mysql-perl{u} libmysqlclient20{u} libperconaserverclient18{u}
percona-server-client-5.5{a} percona-server-common-5.5{u}
percona-server-server-5.5{a}
0 packages upgraded, 5 newly installed, 6 to remove and 45 not upgraded.
Need to get 0 B/18.4 MB of archives. After unpacking 44.3 MB will be used.
Writing extended state information…
Preconfiguring packages …
(Reading database …
(Reading database … 5%
(Reading database … 10%
(Reading database … 15%
(Reading database … 20%
(Reading database … 25%
(Reading database … 30%
(Reading database … 35%
(Reading database … 40%
(Reading database … 45%
(Reading database … 50%
(Reading database … 55%
(Reading database … 60%
(Reading database … 65%
(Reading database … 70%
(Reading database … 75%
(Reading database … 80%
(Reading database … 85%
(Reading database … 90%
(Reading database … 95%
(Reading database … 100%
(Reading database … 249412 files and directories currently installed.)
Removing percona-server-server-5.5 (5.5.58-rel38.10-1.xenial) …
Removing libdbd-mysql-perl (4.033-1ubuntu0.1) …
Removing libmysqlclient20:amd64 (5.7.20-0ubuntu0.16.04.1) …
Removing percona-server-client-5.5 (5.5.58-rel38.10-1.xenial) …
Removing libperconaserverclient18 (5.5.58-rel38.10-1.xenial) …
Removing percona-server-common-5.5 (5.5.58-rel38.10-1.xenial) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for libc-bin (2.23-0ubuntu9) …
Selecting previously unselected package mysql-client-core-5.7.
(Reading database …
(Reading database … 5%
(Reading database … 10%
(Reading database … 15%
(Reading database … 20%
(Reading database … 25%
(Reading database … 30%
(Reading database … 35%
(Reading database … 40%
(Reading database … 45%
(Reading database … 50%
(Reading database … 55%
(Reading database … 60%
(Reading database … 65%
(Reading database … 70%
(Reading database … 75%
(Reading database … 80%
(Reading database … 85%
(Reading database … 90%
(Reading database … 95%
(Reading database … 100%
(Reading database … 249130 files and directories currently installed.)
Preparing to unpack …/mysql-client-core-5.7_5.7.20-0ubuntu0.16.04.1_amd64.deb …
Unpacking mysql-client-core-5.7 (5.7.20-0ubuntu0.16.04.1) …
Selecting previously unselected package mysql-client-5.7.
Preparing to unpack …/mysql-client-5.7_5.7.20-0ubuntu0.16.04.1_amd64.deb …
Unpacking mysql-client-5.7 (5.7.20-0ubuntu0.16.04.1) …
Selecting previously unselected package mysql-server-core-5.7.
Preparing to unpack …/mysql-server-core-5.7_5.7.20-0ubuntu0.16.04.1_amd64.deb …
Unpacking mysql-server-core-5.7 (5.7.20-0ubuntu0.16.04.1) …
Selecting previously unselected package mysql-server-5.7.
Preparing to unpack …/mysql-server-5.7_5.7.20-0ubuntu0.16.04.1_amd64.deb …
Unpacking mysql-server-5.7 (5.7.20-0ubuntu0.16.04.1) …
Selecting previously unselected package mysql-server.
Preparing to unpack …/mysql-server_5.7.20-0ubuntu0.16.04.1_all.deb …
Unpacking mysql-server (5.7.20-0ubuntu0.16.04.1) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for systemd (229-4ubuntu21) …
Processing triggers for ureadahead (0.100.0-19) …
Setting up mysql-client-core-5.7 (5.7.20-0ubuntu0.16.04.1) …
Setting up mysql-client-5.7 (5.7.20-0ubuntu0.16.04.1) …
Setting up mysql-server-core-5.7 (5.7.20-0ubuntu0.16.04.1) …
Setting up mysql-server-5.7 (5.7.20-0ubuntu0.16.04.1) …
Installing new version of config file /etc/init.d/mysql …
Installing new version of config file /etc/mysql/debian-start …
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)
Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
Checking system database.
mysql.columns_priv OK
mysql.db OK
mysql.engine_cost OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.gtid_executed OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.innodb_index_stats OK
mysql.innodb_table_stats OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.server_cost OK
mysql.servers OK
mysql.slave_master_info OK
mysql.slave_relay_log_info OK
mysql.slave_worker_info OK
mysql.slow_log OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Upgrading the sys schema.
Checking databases.
sys.sys_config OK
Upgrade process completed successfully.
Checking if update is needed.
Setting up mysql-server (5.7.20-0ubuntu0.16.04.1) …
Processing triggers for systemd (229-4ubuntu21) …
Processing triggers for ureadahead (0.100.0-19) …
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
Building tag database…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Building tag database…
The following NEW packages will be installed:
kaltura-postinst libcurses-perl{a} libcurses-ui-perl{a}
libterm-readkey-perl{a} sysv-rc-conf{a}
0 packages upgraded, 5 newly installed, 0 to remove and 45 not upgraded.
Need to get 27.2 kB/423 kB of archives. After unpacking 1,474 kB will be used.
Writing extended state information…
Get: 1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libterm-readkey-perl amd64 2.33-1build1 [27.2 kB]
Fetched 27.2 kB in 1s (25.1 kB/s)
Selecting previously unselected package libcurses-perl.
(Reading database …
(Reading database … 5%
(Reading database … 10%
(Reading database … 15%
(Reading database … 20%
(Reading database … 25%
(Reading database … 30%
(Reading database … 35%
(Reading database … 40%
(Reading database … 45%
(Reading database … 50%
(Reading database … 55%
(Reading database … 60%
(Reading database … 65%
(Reading database … 70%
(Reading database … 75%
(Reading database … 80%
(Reading database … 85%
(Reading database … 90%
(Reading database … 95%
(Reading database … 100%
(Reading database … 249361 files and directories currently installed.)
Preparing to unpack …/libcurses-perl_1.33-1build1_amd64.deb …
Unpacking libcurses-perl (1.33-1build1) …
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack …/libterm-readkey-perl_2.33-1build1_amd64.deb …
Unpacking libterm-readkey-perl (2.33-1build1) …
Selecting previously unselected package libcurses-ui-perl.
Preparing to unpack …/libcurses-ui-perl_0.9609-1_all.deb …
Unpacking libcurses-ui-perl (0.9609-1) …
Preparing to unpack …/sysv-rc-conf_0.99-7_all.deb …
Unpacking sysv-rc-conf (0.99-7) …
Selecting previously unselected package kaltura-postinst.
Preparing to unpack …/kaltura-postinst_1.0.33-3+b7_all.deb …
Unpacking kaltura-postinst (1.0.33-3+b7) …
Processing triggers for man-db (2.7.5-1) …
Setting up libcurses-perl (1.33-1build1) …
Setting up libterm-readkey-perl (2.33-1build1) …
Setting up libcurses-ui-perl (0.9609-1) …
Setting up sysv-rc-conf (0.99-7) …
Setting up kaltura-postinst (1.0.33-3+b7) …
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
Building tag database…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Building tag database…
The following NEW packages will be installed:
kaltura-base mysql-client{a}
0 packages upgraded, 2 newly installed, 0 to remove and 45 not upgraded.
Need to get 0 B/87.2 MB of archives. After unpacking 219 MB will be used.
Writing extended state information…
Preconfiguring packages …
Selecting previously unselected package mysql-client.
(Reading database …
(Reading database … 5%
(Reading database … 10%
(Reading database … 15%
(Reading database … 20%
(Reading database … 25%
(Reading database … 30%
(Reading database … 35%
(Reading database … 40%
(Reading database … 45%
(Reading database … 50%
(Reading database … 55%
(Reading database … 60%
(Reading database … 65%
(Reading database … 70%
(Reading database … 75%
(Reading database … 80%
(Reading database … 85%
(Reading database … 90%
(Reading database … 95%
(Reading database … 100%
(Reading database … 249562 files and directories currently installed.)
Preparing to unpack …/mysql-client_5.7.20-0ubuntu0.16.04.1_all.deb …
Unpacking mysql-client (5.7.20-0ubuntu0.16.04.1) …
Selecting previously unselected package kaltura-base.
Preparing to unpack …/kaltura-base_13.10.0-3_all.deb …
Unpacking kaltura-base (13.10.0-3) …
Setting up mysql-client (5.7.20-0ubuntu0.16.04.1) …
Setting up kaltura-base (13.10.0-3) …