Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@faheem-test:~# apt-get install mysql-server
- Reading package lists... Done
- Building dependency tree... Done
- E: Unable to locate package mysql-server
- root@faheem-test:~# apt-get update && apt-get upgrade
- Get:1 http://archive.canonical.com vivid InRelease [10.3 kB]
- Get:2 http://archive.ubuntu.com vivid InRelease [218 kB]
- Get:3 http://security.ubuntu.com vivid-security InRelease [64.4 kB]
- Get:4 http://archive.canonical.com vivid/partner amd64 Packages [2964 B]
- Get:5 http://security.ubuntu.com vivid-security/main amd64 Packages [187 kB]
- Ign http://archive.canonical.com vivid/partner Translation-en
- Get:6 http://archive.ubuntu.com vivid-updates InRelease [64.4 kB]
- Get:7 http://archive.ubuntu.com vivid/main amd64 Packages [1364 kB]
- Get:8 http://security.ubuntu.com vivid-security/restricted amd64 Packages [11.2 kB]
- Get:9 http://security.ubuntu.com vivid-security/universe amd64 Packages [74.7 kB]
- Get:10 http://security.ubuntu.com vivid-security/multiverse amd64 Packages [6037 B]
- Get:11 http://security.ubuntu.com vivid-security/main Translation-en [90.9 kB]
- Get:12 http://security.ubuntu.com vivid-security/multiverse Translation-en [2743 B]
- Get:13 http://security.ubuntu.com vivid-security/restricted Translation-en [2774 B]
- Get:14 http://security.ubuntu.com vivid-security/universe Translation-en [46.7 kB]
- Get:15 http://archive.ubuntu.com vivid/restricted amd64 Packages [15.4 kB]
- Get:16 http://archive.ubuntu.com vivid/universe amd64 Packages [6485 kB]
- Get:17 http://archive.ubuntu.com vivid/main Translation-en [793 kB]
- Get:18 http://archive.ubuntu.com vivid/restricted Translation-en [4228 B]
- Get:19 http://archive.ubuntu.com vivid/universe Translation-en [4456 kB]
- Get:20 http://archive.ubuntu.com vivid-updates/main amd64 Packages [274 kB]
- Get:21 http://archive.ubuntu.com vivid-updates/restricted amd64 Packages [13.6 kB]
- Get:22 http://archive.ubuntu.com vivid-updates/universe amd64 Packages [135 kB]
- Get:23 http://archive.ubuntu.com vivid-updates/main Translation-en [133 kB]
- Get:24 http://archive.ubuntu.com vivid-updates/restricted Translation-en [3112 B]
- Get:25 http://archive.ubuntu.com vivid-updates/universe Translation-en [80.1 kB]
- Fetched 14.5 MB in 5s (2772 kB/s)
- Reading package lists... Done
- Reading package lists... Done
- Building dependency tree... Done
- Calculating upgrade... Done
- The following packages will be upgraded:
- apt coreutils dpkg dselect gcc-5-base iproute2 libapt-pkg4.12 libblkid1
- libexpat1 libgcc1 libgnutls-deb0-28 libgnutls-openssl27 libgssapi-krb5-2
- libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libmount1 libpcre3
- libpng12-0 libsasl2-2 libsasl2-modules-db libsmartcols1 libsqlite3-0
- libssl1.0.0 libsystemd0 libtasn1-6 libudev1 libuuid1 login mktemp mount
- openssh-client openssh-server openssh-sftp-server passwd systemd
- systemd-sysv tzdata udev util-linux
- 41 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- Need to get 16.6 MB of archives.
- After this operation, 25.6 kB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://archive.ubuntu.com/ubuntu/ vivid-updates/main coreutils amd64 8.23-3ubuntu1.1 [1138 kB]
- Get:2 http://archive.ubuntu.com/ubuntu/ vivid-updates/main dpkg amd64 1.17.25ubuntu1.1 [2218 kB]
- Get:3 http://archive.ubuntu.com/ubuntu/ vivid-updates/main login amd64 1:4.1.5.1-1.1ubuntu4.1 [302 kB]
- Get:4 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mount amd64 2.25.2-4ubuntu3 [118 kB]
- Get:5 http://archive.ubuntu.com/ubuntu/ vivid-updates/main tzdata all 2015g-0ubuntu0.15.04 [170 kB]
- Get:6 http://archive.ubuntu.com/ubuntu/ vivid-updates/main util-linux amd64 2.25.2-4ubuntu3 [796 kB]
- Get:7 http://archive.ubuntu.com/ubuntu/ vivid-updates/main gcc-5-base amd64 5.1~rc1-0ubuntu1.1 [14.4 kB]
- Get:8 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libgcc1 amd64 1:5.1~rc1-0ubuntu1.1 [39.1 kB]
- Get:9 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libapt-pkg4.12 amd64 1.0.9.7ubuntu4.2 [682 kB]
- Get:10 http://archive.ubuntu.com/ubuntu/ vivid-updates/main apt amd64 1.0.9.7ubuntu4.2 [1005 kB]
- Get:11 http://archive.ubuntu.com/ubuntu/ vivid-updates/main passwd amd64 1:4.1.5.1-1.1ubuntu4.1 [759 kB]
- Get:12 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libuuid1 amd64 2.25.2-4ubuntu3 [15.3 kB]
- Get:13 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libblkid1 amd64 2.25.2-4ubuntu3 [104 kB]
- Get:14 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libmount1 amd64 2.25.2-4ubuntu3 [111 kB]
- Get:15 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libpcre3 amd64 2:8.35-3.3ubuntu1.1 [222 kB]
- Get:16 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsmartcols1 amd64 2.25.2-4ubuntu3 [60.5 kB]
- Get:17 http://archive.ubuntu.com/ubuntu/ vivid-updates/main udev amd64 219-7ubuntu6 [929 kB]
- Get:18 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libudev1 amd64 219-7ubuntu6 [40.9 kB]
- Get:19 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libexpat1 amd64 2.1.0-6ubuntu1.1 [70.8 kB]
- Get:20 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libgnutls-openssl27 amd64 3.3.8-3ubuntu3.2 [20.6 kB]
- Get:21 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libtasn1-6 amd64 4.2-2ubuntu1.1 [42.4 kB]
- Get:22 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libgnutls-deb0-28 amd64 3.3.8-3ubuntu3.2 [516 kB]
- Get:23 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsqlite3-0 amd64 3.8.7.4-1ubuntu0.1 [371 kB]
- Get:24 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libssl1.0.0 amd64 1.0.1f-1ubuntu11.5 [850 kB]
- Get:25 http://archive.ubuntu.com/ubuntu/ vivid-updates/main systemd amd64 219-7ubuntu6 [3530 kB]
- Get:26 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsystemd0 amd64 219-7ubuntu6 [73.8 kB]
- Get:27 http://archive.ubuntu.com/ubuntu/ vivid-updates/main systemd-sysv amd64 219-7ubuntu6 [14.0 kB]
- Get:28 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libgssapi-krb5-2 amd64 1.12.1+dfsg-18ubuntu0.1 [120 kB]
- Get:29 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libkrb5-3 amd64 1.12.1+dfsg-18ubuntu0.1 [270 kB]
- Get:30 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libkrb5support0 amd64 1.12.1+dfsg-18ubuntu0.1 [30.6 kB]
- Get:31 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libk5crypto3 amd64 1.12.1+dfsg-18ubuntu0.1 [83.2 kB]
- Get:32 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsasl2-modules-db amd64 2.1.26.dfsg1-13ubuntu0.1 [14.8 kB]
- Get:33 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsasl2-2 amd64 2.1.26.dfsg1-13ubuntu0.1 [49.5 kB]
- Get:34 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libldap-2.4-2 amd64 2.4.31-1+nmu2ubuntu12.3 [155 kB]
- Get:35 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libpng12-0 amd64 1.2.51-0ubuntu3.15.04.2 [119 kB]
- Get:36 http://archive.ubuntu.com/ubuntu/ vivid-updates/universe mktemp all 8.23-3ubuntu1.1 [2840 B]
- Get:37 http://archive.ubuntu.com/ubuntu/ vivid-updates/main iproute2 amd64 3.16.0-2ubuntu1.1 [420 kB]
- Get:38 http://archive.ubuntu.com/ubuntu/ vivid-updates/main openssh-sftp-server amd64 1:6.7p1-5ubuntu1.4 [38.2 kB]
- Get:39 http://archive.ubuntu.com/ubuntu/ vivid-updates/main openssh-server amd64 1:6.7p1-5ubuntu1.4 [334 kB]
- Get:40 http://archive.ubuntu.com/ubuntu/ vivid-updates/main openssh-client amd64 1:6.7p1-5ubuntu1.4 [585 kB]
- Get:41 http://archive.ubuntu.com/ubuntu/ vivid-updates/main dselect amd64 1.17.25ubuntu1.1 [188 kB]
- Fetched 16.6 MB in 1min 7s (246 kB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LANG = "en_US.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to the standard locale ("C").
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: delaying package configuration, since apt-utils is not installed
- (Reading database ... 13499 files and directories currently installed.)
- Preparing to unpack .../coreutils_8.23-3ubuntu1.1_amd64.deb ...
- Unpacking coreutils (8.23-3ubuntu1.1) over (8.23-3ubuntu1) ...
- Processing triggers for install-info (5.2.0.dfsg.1-6) ...
- Setting up coreutils (8.23-3ubuntu1.1) ...
- (Reading database ... 13499 files and directories currently installed.)
- Preparing to unpack .../dpkg_1.17.25ubuntu1.1_amd64.deb ...
- Unpacking dpkg (1.17.25ubuntu1.1) over (1.17.25ubuntu1) ...
- Setting up dpkg (1.17.25ubuntu1.1) ...
- (Reading database ... 13499 files and directories currently installed.)
- Preparing to unpack .../login_1%3a4.1.5.1-1.1ubuntu4.1_amd64.deb ...
- Unpacking login (1:4.1.5.1-1.1ubuntu4.1) over (1:4.1.5.1-1.1ubuntu4) ...
- Setting up login (1:4.1.5.1-1.1ubuntu4.1) ...
- (Reading database ... 13499 files and directories currently installed.)
- Preparing to unpack .../mount_2.25.2-4ubuntu3_amd64.deb ...
- Unpacking mount (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
- Setting up mount (2.25.2-4ubuntu3) ...
- (Reading database ... 13499 files and directories currently installed.)
- Preparing to unpack .../tzdata_2015g-0ubuntu0.15.04_all.deb ...
- Unpacking tzdata (2015g-0ubuntu0.15.04) over (2015d-0ubuntu0.15.04) ...
- Setting up tzdata (2015g-0ubuntu0.15.04) ...
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- Current default time zone: 'America/New_York'
- Local time is now: Thu Jan 21 00:50:45 EST 2016.
- Universal Time is now: Thu Jan 21 05:50:45 UTC 2016.
- Run 'dpkg-reconfigure tzdata' if you wish to change it.
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../util-linux_2.25.2-4ubuntu3_amd64.deb ...
- Unpacking util-linux (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
- Processing triggers for mime-support (3.58ubuntu1) ...
- Processing triggers for systemd (219-7ubuntu4) ...
- Setting up util-linux (2.25.2-4ubuntu3) ...
- update-initramfs: deferring update (trigger activated)
- Processing triggers for initramfs-tools (0.103ubuntu15) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../gcc-5-base_5.1~rc1-0ubuntu1.1_amd64.deb ...
- Unpacking gcc-5-base:amd64 (5.1~rc1-0ubuntu1.1) over (5.1~rc1-0ubuntu1) ...
- Setting up gcc-5-base:amd64 (5.1~rc1-0ubuntu1.1) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../libgcc1_1%3a5.1~rc1-0ubuntu1.1_amd64.deb ...
- Unpacking libgcc1:amd64 (1:5.1~rc1-0ubuntu1.1) over (1:5.1~rc1-0ubuntu1) ...
- Setting up libgcc1:amd64 (1:5.1~rc1-0ubuntu1.1) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../libapt-pkg4.12_1.0.9.7ubuntu4.2_amd64.deb ...
- Unpacking libapt-pkg4.12:amd64 (1.0.9.7ubuntu4.2) over (1.0.9.7ubuntu4) ...
- Setting up libapt-pkg4.12:amd64 (1.0.9.7ubuntu4.2) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../apt_1.0.9.7ubuntu4.2_amd64.deb ...
- Unpacking apt (1.0.9.7ubuntu4.2) over (1.0.9.7ubuntu4) ...
- Setting up apt (1.0.9.7ubuntu4.2) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../passwd_1%3a4.1.5.1-1.1ubuntu4.1_amd64.deb ...
- Unpacking passwd (1:4.1.5.1-1.1ubuntu4.1) over (1:4.1.5.1-1.1ubuntu4) ...
- Setting up passwd (1:4.1.5.1-1.1ubuntu4.1) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../libuuid1_2.25.2-4ubuntu3_amd64.deb ...
- Unpacking libuuid1:amd64 (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
- Setting up libuuid1:amd64 (2.25.2-4ubuntu3) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../libblkid1_2.25.2-4ubuntu3_amd64.deb ...
- Unpacking libblkid1:amd64 (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
- Setting up libblkid1:amd64 (2.25.2-4ubuntu3) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../libmount1_2.25.2-4ubuntu3_amd64.deb ...
- Unpacking libmount1:amd64 (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
- Setting up libmount1:amd64 (2.25.2-4ubuntu3) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../libpcre3_2%3a8.35-3.3ubuntu1.1_amd64.deb ...
- Unpacking libpcre3:amd64 (2:8.35-3.3ubuntu1.1) over (2:8.35-3.3ubuntu1) ...
- Setting up libpcre3:amd64 (2:8.35-3.3ubuntu1.1) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../libsmartcols1_2.25.2-4ubuntu3_amd64.deb ...
- Unpacking libsmartcols1:amd64 (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
- Setting up libsmartcols1:amd64 (2.25.2-4ubuntu3) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../udev_219-7ubuntu6_amd64.deb ...
- Unpacking udev (219-7ubuntu6) over (219-7ubuntu4) ...
- Preparing to unpack .../libudev1_219-7ubuntu6_amd64.deb ...
- Unpacking libudev1:amd64 (219-7ubuntu6) over (219-7ubuntu4) ...
- Processing triggers for systemd (219-7ubuntu4) ...
- Setting up libudev1:amd64 (219-7ubuntu6) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- (Reading database ... 13502 files and directories currently installed.)
- Preparing to unpack .../libexpat1_2.1.0-6ubuntu1.1_amd64.deb ...
- Unpacking libexpat1:amd64 (2.1.0-6ubuntu1.1) over (2.1.0-6ubuntu1) ...
- Preparing to unpack .../libgnutls-openssl27_3.3.8-3ubuntu3.2_amd64.deb ...
- Unpacking libgnutls-openssl27:amd64 (3.3.8-3ubuntu3.2) over (3.3.8-3ubuntu3) ...
- Preparing to unpack .../libtasn1-6_4.2-2ubuntu1.1_amd64.deb ...
- Unpacking libtasn1-6:amd64 (4.2-2ubuntu1.1) over (4.2-2ubuntu1) ...
- Preparing to unpack .../libgnutls-deb0-28_3.3.8-3ubuntu3.2_amd64.deb ...
- Unpacking libgnutls-deb0-28:amd64 (3.3.8-3ubuntu3.2) over (3.3.8-3ubuntu3) ...
- Preparing to unpack .../libsqlite3-0_3.8.7.4-1ubuntu0.1_amd64.deb ...
- Unpacking libsqlite3-0:amd64 (3.8.7.4-1ubuntu0.1) over (3.8.7.4-1) ...
- Preparing to unpack .../libssl1.0.0_1.0.1f-1ubuntu11.5_amd64.deb ...
- Unpacking libssl1.0.0:amd64 (1.0.1f-1ubuntu11.5) over (1.0.1f-1ubuntu11) ...
- Preparing to unpack .../systemd_219-7ubuntu6_amd64.deb ...
- Unpacking systemd (219-7ubuntu6) over (219-7ubuntu4) ...
- Preparing to unpack .../libsystemd0_219-7ubuntu6_amd64.deb ...
- Unpacking libsystemd0:amd64 (219-7ubuntu6) over (219-7ubuntu4) ...
- Setting up libsystemd0:amd64 (219-7ubuntu6) ...
- Setting up udev (219-7ubuntu6) ...
- update-initramfs: deferring update (trigger activated)
- Setting up systemd (219-7ubuntu6) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- Processing triggers for initramfs-tools (0.103ubuntu15) ...
- (Reading database ... 13505 files and directories currently installed.)
- Preparing to unpack .../systemd-sysv_219-7ubuntu6_amd64.deb ...
- Unpacking systemd-sysv (219-7ubuntu6) over (219-7ubuntu4) ...
- Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-18ubuntu0.1_amd64.deb ...
- Unpacking libgssapi-krb5-2:amd64 (1.12.1+dfsg-18ubuntu0.1) over (1.12.1+dfsg-18) ...
- Preparing to unpack .../libkrb5-3_1.12.1+dfsg-18ubuntu0.1_amd64.deb ...
- Unpacking libkrb5-3:amd64 (1.12.1+dfsg-18ubuntu0.1) over (1.12.1+dfsg-18) ...
- Preparing to unpack .../libkrb5support0_1.12.1+dfsg-18ubuntu0.1_amd64.deb ...
- Unpacking libkrb5support0:amd64 (1.12.1+dfsg-18ubuntu0.1) over (1.12.1+dfsg-18) ...
- Preparing to unpack .../libk5crypto3_1.12.1+dfsg-18ubuntu0.1_amd64.deb ...
- Unpacking libk5crypto3:amd64 (1.12.1+dfsg-18ubuntu0.1) over (1.12.1+dfsg-18) ...
- Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-13ubuntu0.1_amd64.deb ...
- Unpacking libsasl2-modules-db:amd64 (2.1.26.dfsg1-13ubuntu0.1) over (2.1.26.dfsg1-13) ...
- Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-13ubuntu0.1_amd64.deb ...
- Unpacking libsasl2-2:amd64 (2.1.26.dfsg1-13ubuntu0.1) over (2.1.26.dfsg1-13) ...
- Preparing to unpack .../libldap-2.4-2_2.4.31-1+nmu2ubuntu12.3_amd64.deb ...
- Unpacking libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu12.3) over (2.4.31-1+nmu2ubuntu12) ...
- Preparing to unpack .../libpng12-0_1.2.51-0ubuntu3.15.04.2_amd64.deb ...
- Unpacking libpng12-0:amd64 (1.2.51-0ubuntu3.15.04.2) over (1.2.51-0ubuntu3) ...
- Preparing to unpack .../mktemp_8.23-3ubuntu1.1_all.deb ...
- Unpacking mktemp (8.23-3ubuntu1.1) over (8.23-3ubuntu1) ...
- Preparing to unpack .../iproute2_3.16.0-2ubuntu1.1_amd64.deb ...
- Unpacking iproute2 (3.16.0-2ubuntu1.1) over (3.16.0-2ubuntu1) ...
- Preparing to unpack .../openssh-sftp-server_1%3a6.7p1-5ubuntu1.4_amd64.deb ...
- Unpacking openssh-sftp-server (1:6.7p1-5ubuntu1.4) over (1:6.7p1-5ubuntu1) ...
- Preparing to unpack .../openssh-server_1%3a6.7p1-5ubuntu1.4_amd64.deb ...
- Unpacking openssh-server (1:6.7p1-5ubuntu1.4) over (1:6.7p1-5ubuntu1) ...
- Preparing to unpack .../openssh-client_1%3a6.7p1-5ubuntu1.4_amd64.deb ...
- Unpacking openssh-client (1:6.7p1-5ubuntu1.4) over (1:6.7p1-5ubuntu1) ...
- Preparing to unpack .../dselect_1.17.25ubuntu1.1_amd64.deb ...
- Unpacking dselect (1.17.25ubuntu1.1) over (1.17.25ubuntu1) ...
- Processing triggers for systemd (219-7ubuntu6) ...
- Setting up libexpat1:amd64 (2.1.0-6ubuntu1.1) ...
- Setting up libtasn1-6:amd64 (4.2-2ubuntu1.1) ...
- Setting up libgnutls-deb0-28:amd64 (3.3.8-3ubuntu3.2) ...
- Setting up libgnutls-openssl27:amd64 (3.3.8-3ubuntu3.2) ...
- Setting up libsqlite3-0:amd64 (3.8.7.4-1ubuntu0.1) ...
- Setting up libssl1.0.0:amd64 (1.0.1f-1ubuntu11.5) ...
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- Setting up systemd-sysv (219-7ubuntu6) ...
- Setting up libkrb5support0:amd64 (1.12.1+dfsg-18ubuntu0.1) ...
- Setting up libk5crypto3:amd64 (1.12.1+dfsg-18ubuntu0.1) ...
- Setting up libkrb5-3:amd64 (1.12.1+dfsg-18ubuntu0.1) ...
- Setting up libgssapi-krb5-2:amd64 (1.12.1+dfsg-18ubuntu0.1) ...
- Setting up libsasl2-modules-db:amd64 (2.1.26.dfsg1-13ubuntu0.1) ...
- Setting up libsasl2-2:amd64 (2.1.26.dfsg1-13ubuntu0.1) ...
- Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu12.3) ...
- Setting up libpng12-0:amd64 (1.2.51-0ubuntu3.15.04.2) ...
- Setting up mktemp (8.23-3ubuntu1.1) ...
- Setting up iproute2 (3.16.0-2ubuntu1.1) ...
- Setting up openssh-client (1:6.7p1-5ubuntu1.4) ...
- Setting up openssh-sftp-server (1:6.7p1-5ubuntu1.4) ...
- Setting up openssh-server (1:6.7p1-5ubuntu1.4) ...
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- Setting up dselect (1.17.25ubuntu1.1) ...
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- root@faheem-test:~# apt-get install mysql-server
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
- libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common
- mysql-server-5.6 mysql-server-core-5.6
- Suggested packages:
- libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
- libipc-sharedcache-perl mailx tinyca
- The following NEW packages will be installed:
- libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
- libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common
- mysql-server mysql-server-5.6 mysql-server-core-5.6
- 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
- Need to get 21.6 MB of archives.
- After this operation, 155 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://archive.ubuntu.com/ubuntu/ vivid/main libaio1 amd64 0.3.110-1 [6454 B]
- Get:2 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-common all 5.6.27-0ubuntu0.15.04.1 [14.8 kB]
- Get:3 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libmysqlclient18 amd64 5.6.27-0ubuntu0.15.04.1 [698 kB]
- Get:4 http://archive.ubuntu.com/ubuntu/ vivid/main libdbi-perl amd64 1.631-3build1 [770 kB]
- Get:5 http://archive.ubuntu.com/ubuntu/ vivid/main libdbd-mysql-perl amd64 4.028-2 [88.6 kB]
- Get:6 http://archive.ubuntu.com/ubuntu/ vivid/main libterm-readkey-perl amd64 2.32-1build1 [25.0 kB]
- Get:7 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-client-core-5.6 amd64 5.6.27-0ubuntu0.15.04.1 [4100 kB]
- Get:8 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-client-5.6 amd64 5.6.27-0ubuntu0.15.04.1 [5354 kB]
- Get:9 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-server-core-5.6 amd64 5.6.27-0ubuntu0.15.04.1 [4665 kB]
- Get:10 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-server-5.6 amd64 5.6.27-0ubuntu0.15.04.1 [5770 kB]
- Get:11 http://archive.ubuntu.com/ubuntu/ vivid/main libhtml-template-perl all 2.95-1 [65.5 kB]
- Get:12 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-server all 5.6.27-0ubuntu0.15.04.1 [8878 B]
- Fetched 21.6 MB in 3s (6078 kB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LANG = "en_US.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to the standard locale ("C").
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libaio1:amd64.
- (Reading database ... 13505 files and directories currently installed.)
- Preparing to unpack .../libaio1_0.3.110-1_amd64.deb ...
- Unpacking libaio1:amd64 (0.3.110-1) ...
- Selecting previously unselected package mysql-common.
- Preparing to unpack .../mysql-common_5.6.27-0ubuntu0.15.04.1_all.deb ...
- Unpacking mysql-common (5.6.27-0ubuntu0.15.04.1) ...
- Selecting previously unselected package libmysqlclient18:amd64.
- Preparing to unpack .../libmysqlclient18_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
- Unpacking libmysqlclient18:amd64 (5.6.27-0ubuntu0.15.04.1) ...
- Selecting previously unselected package libdbi-perl.
- Preparing to unpack .../libdbi-perl_1.631-3build1_amd64.deb ...
- Unpacking libdbi-perl (1.631-3build1) ...
- Selecting previously unselected package libdbd-mysql-perl.
- Preparing to unpack .../libdbd-mysql-perl_4.028-2_amd64.deb ...
- Unpacking libdbd-mysql-perl (4.028-2) ...
- Selecting previously unselected package libterm-readkey-perl.
- Preparing to unpack .../libterm-readkey-perl_2.32-1build1_amd64.deb ...
- Unpacking libterm-readkey-perl (2.32-1build1) ...
- Selecting previously unselected package mysql-client-core-5.6.
- Preparing to unpack .../mysql-client-core-5.6_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
- Unpacking mysql-client-core-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- Selecting previously unselected package mysql-client-5.6.
- Preparing to unpack .../mysql-client-5.6_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
- Unpacking mysql-client-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- Selecting previously unselected package mysql-server-core-5.6.
- Preparing to unpack .../mysql-server-core-5.6_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
- Unpacking mysql-server-core-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- Setting up mysql-common (5.6.27-0ubuntu0.15.04.1) ...
- update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Selecting previously unselected package mysql-server-5.6.
- (Reading database ... 13875 files and directories currently installed.)
- Preparing to unpack .../mysql-server-5.6_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
- /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
- Configuring mysql-server-5.6
- ----------------------------
- While not mandatory, it is highly recommended that you set a password for the
- MySQL administrative "root" user.
- If this field is left blank, the password will not be changed.
- New password for the MySQL "root" user:
- Repeat password for the MySQL "root" user:
- Unpacking mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- Selecting previously unselected package libhtml-template-perl.
- Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
- Unpacking libhtml-template-perl (2.95-1) ...
- Selecting previously unselected package mysql-server.
- Preparing to unpack .../mysql-server_5.6.27-0ubuntu0.15.04.1_all.deb ...
- Unpacking mysql-server (5.6.27-0ubuntu0.15.04.1) ...
- Processing triggers for systemd (219-7ubuntu6) ...
- Setting up libaio1:amd64 (0.3.110-1) ...
- Setting up libmysqlclient18:amd64 (5.6.27-0ubuntu0.15.04.1) ...
- Setting up libdbi-perl (1.631-3build1) ...
- Setting up libdbd-mysql-perl (4.028-2) ...
- Setting up libterm-readkey-perl (2.32-1build1) ...
- Setting up mysql-client-core-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- Setting up mysql-client-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- Setting up mysql-server-core-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- Setting up mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- /var/lib/dpkg/info/mysql-server-5.6.postinst: line 132: logger: command not found
- 2016-01-21 00:51:17 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
- 2016-01-21 00:51:17 0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.15.04.1) starting as process 1877 ...
- /var/lib/dpkg/info/mysql-server-5.6.postinst: line 210: logger: command not found
- dpkg: error processing package mysql-server-5.6 (--configure):
- subprocess installed post-installation script returned error exit status 127
- Setting up libhtml-template-perl (2.95-1) ...
- dpkg: dependency problems prevent configuration of mysql-server:
- mysql-server depends on mysql-server-5.6; however:
- Package mysql-server-5.6 is not configured yet.
- dpkg: error processing package mysql-server (--configure):
- dependency problems - leaving unconfigured
- Processing triggers for libc-bin (2.21-0ubuntu4) ...
- Processing triggers for systemd (219-7ubuntu6) ...
- Errors were encountered while processing:
- mysql-server-5.6
- mysql-server
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- root@faheem-test:~# apt-get install logger
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- E: Unable to locate package logger
- root@faheem-test:~# apt-get --reinstall install bsdutils
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- bsdmainutils
- Suggested packages:
- cpp wamerican wordlist whois vacation
- The following NEW packages will be installed:
- bsdmainutils bsdutils
- 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
- 2 not fully installed or removed.
- Need to get 219 kB of archives.
- After this operation, 830 kB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://archive.ubuntu.com/ubuntu/ vivid-updates/main bsdutils amd64 1:2.25.2-4ubuntu3 [44.7 kB]
- Get:2 http://archive.ubuntu.com/ubuntu/ vivid/main bsdmainutils amd64 9.0.6ubuntu1 [175 kB]
- Fetched 219 kB in 0s (349 kB/s)
- perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LANG = "en_US.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to the standard locale ("C").
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package bsdutils.
- (Reading database ... 13981 files and directories currently installed.)
- Preparing to unpack .../bsdutils_1%3a2.25.2-4ubuntu3_amd64.deb ...
- Unpacking bsdutils (1:2.25.2-4ubuntu3) ...
- Setting up bsdutils (1:2.25.2-4ubuntu3) ...
- Selecting previously unselected package bsdmainutils.
- (Reading database ... 14000 files and directories currently installed.)
- Preparing to unpack .../bsdmainutils_9.0.6ubuntu1_amd64.deb ...
- Unpacking bsdmainutils (9.0.6ubuntu1) ...
- Setting up mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) ...
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- Setting up mysql-server (5.6.27-0ubuntu0.15.04.1) ...
- Setting up bsdmainutils (9.0.6ubuntu1) ...
- update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
- update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
- root@faheem-test:~# apt-get install mysql-server
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- mysql-server is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- root@faheem-test:~# /etc/init.d/mysql status
- ● mysql.service - MySQL Community Server
- Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
- Active: active (running) since Thu 2016-01-21 00:52:04 EST; 20s ago
- Process: 2191 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)
- Process: 2187 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
- Main PID: 2190 (mysqld_safe)
- CGroup: /system.slice/mysql.service
- ├─2190 /bin/sh /usr/bin/mysqld_safe
- └─2536 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --soc...
- Jan 21 00:52:03 faheem-test systemd[1]: Starting MySQL Community Server...
- Jan 21 00:52:03 faheem-test mysqld_safe[2190]: 160121 00:52:03 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for -...take effect.
- Jan 21 00:52:03 faheem-test mysqld_safe[2190]: 160121 00:52:03 mysqld_safe Logging to '/var/log/mysql/error.log'.
- Jan 21 00:52:03 faheem-test mysqld_safe[2190]: 160121 00:52:03 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
- Jan 21 00:52:04 faheem-test systemd[1]: Started MySQL Community Server.
- Hint: Some lines were ellipsized, use -l to show in full.
- root@faheem-test:~# /etc/init.d/mysql restart
- [ ok ] Restarting mysql (via systemctl): mysql.service.
- root@faheem-test:~# mysql -u root -p
- Enter password:
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- root@faheem-test:~# cat /var/lib/mysql
- mysql/ mysql-upgrade/
- root@faheem-test:~# cat /var/lib/mysql/
- auto.cnf debian-5.6.flag ib_logfile0 ib_logfile1 ibdata1 mysql/ performance_schema/
- root@faheem-test:~# cat /var/lib/mysql/
- auto.cnf debian-5.6.flag ib_logfile0 ib_logfile1 ibdata1 mysql/ performance_schema/
- root@faheem-test:~# sudo locale-gen en_US en_US.UTF-8 pl_PL pl_PL.UTF-8
- -bash: sudo: command not found
- root@faheem-test:~# sudo dpkg-reconfigure locales
- -bash: sudo: command not found
- root@faheem-test:~# locale-gen en_US en_US.UTF-8 pl_PL pl_PL.UTF-8
- Generating locales...
- en_US.ISO-8859-1... done
- en_US.UTF-8... done
- pl_PL.ISO-8859-2... done
- pl_PL.UTF-8... done
- Generation complete.
- root@faheem-test:~# dpkg-reconfigure locales
- debconf: unable to initialize frontend: Dialog
- debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
- debconf: falling back to frontend: Readline
- Generating locales...
- en_US.ISO-8859-1... up-to-date
- en_US.UTF-8... up-to-date
- pl_PL.ISO-8859-2... up-to-date
- pl_PL.UTF-8... up-to-date
- Generation complete.
- root@faheem-test:~# mysql -u root -p
- Enter password:
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- root@faheem-test:~# mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 4
- Server version: 5.6.27-0ubuntu0.15.04.1 (Ubuntu)
- Copyright (c) 2000, 2015, 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> ^DBye
- root@faheem-test:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement