You are on page 1of 9

(base) student@student-OptiPlex-3020:~$ sudo apt update

[sudo] password for student:


Get:1 http://repo.mysql.com trusty InRelease [34.0 kB]
Hit http://security.ubuntu.com trusty-security InRelease
Ign http://in.archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Ign http://extras.ubuntu.com trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://repo.mysql.com trusty InRelease
Hit http://in.archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://extras.ubuntu.com trusty Release
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://in.archive.ubuntu.com trusty-backports InRelease
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Ign http://repo.mysql.com trusty/mysql-5.6 Sources/DiffIndex
Hit http://security.ubuntu.com trusty-security/universe Sources
Ign https://ftp.ussg.iu.edu trusty/ InRelease
Ign http://repo.mysql.com trusty/mysql-apt-config amd64
Packages/DiffIndex
Hit http://in.archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty-updates/main Sources
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Ign http://repo.mysql.com trusty/mysql-5.6 amd64 Packages/DiffIndex
Ign https://ftp.ussg.iu.edu trusty/ Release.gpg
Hit http://in.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com trusty-updates/universe Sources
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Ign http://repo.mysql.com trusty/mysql-apt-config i386 Packages/DiffIndex
Ign http://extras.ubuntu.com trusty/main Translation-en_IN
Hit http://in.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Ign http://repo.mysql.com trusty/mysql-5.6 i386 Packages/DiffIndex
Ign https://ftp.ussg.iu.edu trusty/ Release
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://in.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/main Sources
Hit http://in.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://in.archive.ubuntu.com trusty-backports/universe Sources
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://in.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty-backports/restricted amd64
Packages
Hit http://in.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://in.archive.ubuntu.com trusty-backports/multiverse amd64
Packages
Hit http://in.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/restricted i386
Packages
Hit http://in.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/multiverse i386
Packages
Hit http://in.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Translation-
en
Hit http://in.archive.ubuntu.com trusty-backports/restricted Translation-
en
Hit http://in.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://in.archive.ubuntu.com trusty Release
Hit http://in.archive.ubuntu.com trusty/main Sources
Hit http://in.archive.ubuntu.com trusty/restricted Sources
Hit http://in.archive.ubuntu.com trusty/universe Sources
Hit http://in.archive.ubuntu.com trusty/multiverse Sources
Hit http://in.archive.ubuntu.com trusty/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://in.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://in.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com trusty/main i386 Packages
Hit http://in.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty/main Translation-en
Hit http://in.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty/universe Translation-en
Err https://ftp.ussg.iu.edu trusty/ Packages
server certificate verification failed. CAfile: /etc/ssl/certs/ca-
certificates.crt CRLfile: none
Ign http://in.archive.ubuntu.com trusty/main Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/multiverse Translation-en_IN
Ign https://ftp.ussg.iu.edu trusty/ Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/universe Translation-en_IN
Hit http://repo.mysql.com trusty/mysql-5.6 Sources
Hit http://repo.mysql.com trusty/mysql-apt-config amd64 Packages
Ign https://ftp.ussg.iu.edu trusty/ Translation-en
Hit http://repo.mysql.com trusty/mysql-5.6 amd64 Packages
Hit http://repo.mysql.com trusty/mysql-apt-config i386 Packages
Hit http://repo.mysql.com trusty/mysql-5.6 i386 Packages
Ign http://repo.mysql.com trusty/mysql-5.6 Translation-en_IN
Ign http://repo.mysql.com trusty/mysql-5.6 Translation-en
Ign http://repo.mysql.com trusty/mysql-apt-config Translation-en_IN
Ign http://repo.mysql.com trusty/mysql-apt-config Translation-en
Fetched 34.0 kB in 38s (889 B/s)
W: GPG error: http://repo.mysql.com trusty InRelease: The following
signatures couldn't be verified because the public key is not available:
NO_PUBKEY 467B942D3A79BD29
W: Failed to fetch
https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu/trusty/Packages server
certificate verification failed. CAfile: /etc/ssl/certs/ca-
certificates.crt CRLfile: none

E: Some index files failed to download. They have been ignored, or old
ones used instead.
(base) student@student-OptiPlex-3020:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:


mysql-server : Depends: mysql-server-5.5 but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.
(base) student@student-OptiPlex-3020:~$ sudo apt install mysql-server-5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:


mysql-server-5.5 : Depends: mysql-client-5.5 (>= 5.5.62-
0ubuntu0.14.04.1) but it is not going to be installed
Depends: mysql-server-core-5.5 (>= 5.5.62-
0ubuntu0.14.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
(base) student@student-OptiPlex-3020:~$ sudo apt install mysql-server-5.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-server-5.7
E: Couldn't find any package by regex 'mysql-server-5.7'
(base) student@student-OptiPlex-3020:~$ sudo apt install mysql-server-5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server-5.6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
)
(base) student@student-OptiPlex-3020:~$ sudo apt-get remove --purge
mysql*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-apt-config_0.6.0-1_all.deb
E: Couldn't find any package by regex 'mysql-apt-config_0.6.0-1_all.deb'
(base) student@student-OptiPlex-3020:~$ sudo apt-get purge mysql*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-apt-config_0.6.0-1_all.deb
E: Couldn't find any package by regex 'mysql-apt-config_0.6.0-1_all.deb'
(base) student@student-OptiPlex-3020:~$ sudo systemctl stop mysql
sudo: systemctl: command not found
(base) student@student-OptiPlex-3020:~$ sudo apt-get purge mysql-server
mysql-client mysql-common mysql-server-core-* mysql-client-core-*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mysql-server-core-5.0' for regex 'mysql-server-core-*'
Note, selecting 'mysql-server-core-5.1' for regex 'mysql-server-core-*'
Note, selecting 'mysql-server-core-5.5' for regex 'mysql-server-core-*'
Note, selecting 'mysql-server-core-5.6' for regex 'mysql-server-core-*'
Note, selecting 'virtual-mysql-server-core' for regex 'mysql-server-core-
*'
Note, selecting 'mysql-server-core' for regex 'mysql-server-core-*'
Package 'mysql-server-core-5.1' is not installed, so not removed
Package 'mysql-server-core-5.0' is not installed, so not removed
Note, selecting 'mysql-server-core-5.5' instead of 'mysql-server-core'
Note, selecting 'mysql-client-core-5.1' for regex 'mysql-client-core-*'
Note, selecting 'mysql-client-core-5.5' for regex 'mysql-client-core-*'
Note, selecting 'mysql-client-core-5.6' for regex 'mysql-client-core-*'
Note, selecting 'virtual-mysql-client-core' for regex 'mysql-client-core-
*'
Package 'mysql-client-core-5.1' is not installed, so not removed
Package 'mysql-client' is not installed, so not removed
Package 'mysql-client-core-5.5' is not installed, so not removed
Package 'mysql-server' is not installed, so not removed
Package 'mysql-server-core-5.5' is not installed, so not removed
The following packages were automatically installed and are no longer
required:
libaio1 libdbi-perl libterm-readkey-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
libdbd-mysql-perl* libmysqlclient18* mysql-client-5.6*
mysql-client-core-5.6* mysql-common* mysql-common-5.6* mysql-server-
5.6*
mysql-server-core-5.6*
0 upgraded, 0 newly installed, 8 to remove and 5 not upgraded.
After this operation, 164 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 197815 files and directories currently installed.)
Removing mysql-server-5.6 (5.6.33-0ubuntu0.14.04.1) ...
mysql stop/waiting
Purging configuration files for mysql-server-5.6 (5.6.33-
0ubuntu0.14.04.1) ...
Removing mysql-client-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Removing libdbd-mysql-perl (4.025-1ubuntu0.1) ...
Removing libmysqlclient18:amd64 (5.5.62-0ubuntu0.14.04.1) ...
Purging configuration files for libmysqlclient18:amd64 (5.5.62-
0ubuntu0.14.04.1) ...
Removing mysql-client-core-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Removing mysql-common-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Purging configuration files for mysql-common-5.6 (5.6.33-
0ubuntu0.14.04.1) ...
Removing mysql-common (5.5.62-0ubuntu0.14.04.1) ...
Purging configuration files for mysql-common (5.5.62-0ubuntu0.14.04.1)
...
dpkg: warning: while removing mysql-common, directory '/etc/mysql' not
empty so not removed
Removing mysql-server-core-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
(base) student@student-OptiPlex-3020:~$ sudo rm -rf /etc/mysql
/var/lib/mysql
(base) student@student-OptiPlex-3020:~$ sudo apt-get remove --purge
mysql*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-apt-config_0.6.0-1_all.deb
E: Couldn't find any package by regex 'mysql-apt-config_0.6.0-1_all.deb'
(base) student@student-OptiPlex-3020:~$ sudo apt-get update
Get:1 http://repo.mysql.com trusty InRelease [34.0 kB]
Ign http://in.archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Ign http://repo.mysql.com trusty InRelease
Hit http://in.archive.ubuntu.com trusty-updates InRelease
Hit http://in.archive.ubuntu.com trusty-backports InRelease
Hit http://in.archive.ubuntu.com trusty Release.gpg
Hit http://in.archive.ubuntu.com trusty-updates/main Sources
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://in.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://security.ubuntu.com trusty-security/restricted Sources
Ign http://repo.mysql.com trusty/mysql-5.6 Sources/DiffIndex
Hit http://in.archive.ubuntu.com trusty-updates/universe Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://in.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://in.archive.ubuntu.com trusty-updates/main amd64 Packages
Ign http://repo.mysql.com trusty/mysql-apt-config amd64
Packages/DiffIndex
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://in.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Ign http://repo.mysql.com trusty/mysql-5.6 amd64 Packages/DiffIndex
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Ign http://repo.mysql.com trusty/mysql-apt-config i386 Packages/DiffIndex
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign http://repo.mysql.com trusty/mysql-5.6 i386 Packages/DiffIndex
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://extras.ubuntu.com trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Ign https://ftp.ussg.iu.edu trusty/ InRelease
Hit http://extras.ubuntu.com trusty Release
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Ign https://ftp.ussg.iu.edu trusty/ Release.gpg
Ign http://extras.ubuntu.com trusty/main Translation-en_IN
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign https://ftp.ussg.iu.edu trusty/ Release
Err https://ftp.ussg.iu.edu trusty/ Packages
server certificate verification failed. CAfile: /etc/ssl/certs/ca-
certificates.crt CRLfile: none
Ign https://ftp.ussg.iu.edu trusty/ Translation-en_IN
Ign https://ftp.ussg.iu.edu trusty/ Translation-en
Hit http://repo.mysql.com trusty/mysql-5.6 Sources
Hit http://repo.mysql.com trusty/mysql-apt-config amd64 Packages
Hit http://repo.mysql.com trusty/mysql-5.6 amd64 Packages
Hit http://repo.mysql.com trusty/mysql-apt-config i386 Packages
Hit http://repo.mysql.com trusty/mysql-5.6 i386 Packages
Ign http://repo.mysql.com trusty/mysql-5.6 Translation-en_IN
Ign http://repo.mysql.com trusty/mysql-5.6 Translation-en
Ign http://repo.mysql.com trusty/mysql-apt-config Translation-en_IN
Ign http://repo.mysql.com trusty/mysql-apt-config Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/main Sources
Hit http://in.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://in.archive.ubuntu.com trusty-backports/universe Sources
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://in.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty-backports/restricted amd64
Packages
Hit http://in.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://in.archive.ubuntu.com trusty-backports/multiverse amd64
Packages
Hit http://in.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/restricted i386
Packages
Hit http://in.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty-backports/multiverse i386
Packages
Hit http://in.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://in.archive.ubuntu.com trusty-backports/multiverse Translation-
en
Hit http://in.archive.ubuntu.com trusty-backports/restricted Translation-
en
Hit http://in.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://in.archive.ubuntu.com trusty Release
Hit http://in.archive.ubuntu.com trusty/main Sources
Hit http://in.archive.ubuntu.com trusty/restricted Sources
Hit http://in.archive.ubuntu.com trusty/universe Sources
Hit http://in.archive.ubuntu.com trusty/multiverse Sources
Hit http://in.archive.ubuntu.com trusty/main amd64 Packages
Hit http://in.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://in.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://in.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com trusty/main i386 Packages
Hit http://in.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://in.archive.ubuntu.com trusty/universe i386 Packages
Hit http://in.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://in.archive.ubuntu.com trusty/main Translation-en
Hit http://in.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://in.archive.ubuntu.com trusty/restricted Translation-en
Hit http://in.archive.ubuntu.com trusty/universe Translation-en
Ign http://in.archive.ubuntu.com trusty/main Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/universe Translation-en_IN
Fetched 34.0 kB in 2min 18s (244 B/s)
W: GPG error: http://repo.mysql.com trusty InRelease: The following
signatures couldn't be verified because the public key is not available:
NO_PUBKEY 467B942D3A79BD29
W: Failed to fetch
https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu/trusty/Packages server
certificate verification failed. CAfile: /etc/ssl/certs/ca-
certificates.crt CRLfile: none

E: Some index files failed to download. They have been ignored, or old
ones used instead.
(base) student@student-OptiPlex-3020:~$ sudo su
root@student-OptiPlex-3020:/home/student# apt-get install mysql-server-
5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libmysqlclient18 mysql-client-5.6 mysql-client-core-
5.6
mysql-common mysql-common-5.6 mysql-server-core-5.6
Suggested packages:
mailx tinyca
The following NEW packages will be installed:
libdbd-mysql-perl libmysqlclient18 mysql-client-5.6 mysql-client-core-
5.6
mysql-common mysql-common-5.6 mysql-server-5.6 mysql-server-core-5.6
0 upgraded, 8 newly installed, 0 to remove and 5 not upgraded.
Need to get 20.6 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-
common all 5.5.62-0ubuntu0.14.04.1 [12.6 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main
libmysqlclient18 amd64 5.5.62-0ubuntu0.14.04.1 [598 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main libdbd-
mysql-perl amd64 4.025-1ubuntu0.1 [87.6 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-
client-core-5.6 amd64 5.6.33-0ubuntu0.14.04.1 [4,133 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-
client-5.6 amd64 5.6.33-0ubuntu0.14.04.1 [5,555 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-
server-core-5.6 amd64 5.6.33-0ubuntu0.14.04.1 [4,620 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-
server-5.6 amd64 5.6.33-0ubuntu0.14.04.1 [5,602 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-
common-5.6 all 5.6.33-0ubuntu0.14.04.1 [12.0 kB]
Fetched 20.6 MB in 1min 43s (199 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 197529 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.5.62-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-common (5.5.62-0ubuntu0.14.04.1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.5.62-
0ubuntu0.14.04.1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.5.62-0ubuntu0.14.04.1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.025-1ubuntu0.1_amd64.deb ...
Unpacking libdbd-mysql-perl (4.025-1ubuntu0.1) ...
Selecting previously unselected package mysql-client-core-5.6.
Preparing to unpack .../mysql-client-core-5.6_5.6.33-
0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-core-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-client-5.6.
Preparing to unpack .../mysql-client-5.6_5.6.33-
0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-core-5.6.
Preparing to unpack .../mysql-server-core-5.6_5.6.33-
0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-core-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up mysql-common (5.5.62-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-5.6.
(Reading database ... 197729 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.6_5.6.33-
0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-common-5.6.
Preparing to unpack .../mysql-common-5.6_5.6.33-0ubuntu0.14.04.1_all.deb
...
Unpacking mysql-common-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libmysqlclient18:amd64 (5.5.62-0ubuntu0.14.04.1) ...
Setting up libdbd-mysql-perl (4.025-1ubuntu0.1) ...
Setting up mysql-client-core-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Setting up mysql-client-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Setting up mysql-server-core-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.6 (5.6.33-0ubuntu0.14.04.1) ...
2023-02-27 16:11:44 0 [Warning] Using unique option prefix key_buffer
instead of key_buffer_size is deprecated and will be removed in a future
release. Please use the full name instead.
2023-02-27 16:11:44 0 [Warning] TIMESTAMP with implicit DEFAULT value is
deprecated. Please use --explicit_defaults_for_timestamp server option
(see documentation for more details).
2023-02-27 16:11:44 0 [Note] /usr/sbin/mysqld (mysqld 5.6.33-
0ubuntu0.14.04.1) starting as process 9765 ...
mysql start/running, process 9887
Setting up mysql-common-5.6 (5.6.33-0ubuntu0.14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
Processing triggers for ureadahead (0.100.0-16) ...
root@student-OptiPlex-3020:/home/student# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 44
Server version: 5.6.33-0ubuntu0.14.04.1 (Ubuntu)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights
reserved.

Oracle is a registered trademark of Oracle Corporation and/or its


affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.

mysql> Ctrl-C -- exit!


Aborted
root@student-OptiPlex-3020:/home/student# ^C
root@student-OptiPlex-3020:/home/student# ^C
root@student-OptiPlex-3020:/home/student#

You might also like