Advertisement
Guest User

Untitled

a guest
Jan 20th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.78 KB | None | 0 0
  1. root@faheem-test:~# apt-get install mysql-server
  2. Reading package lists... Done
  3. Building dependency tree... Done
  4. E: Unable to locate package mysql-server
  5. root@faheem-test:~# apt-get update && apt-get upgrade
  6. Get:1 http://archive.canonical.com vivid InRelease [10.3 kB]
  7. Get:2 http://archive.ubuntu.com vivid InRelease [218 kB]
  8. Get:3 http://security.ubuntu.com vivid-security InRelease [64.4 kB]
  9. Get:4 http://archive.canonical.com vivid/partner amd64 Packages [2964 B]
  10. Get:5 http://security.ubuntu.com vivid-security/main amd64 Packages [187 kB]
  11. Ign http://archive.canonical.com vivid/partner Translation-en
  12. Get:6 http://archive.ubuntu.com vivid-updates InRelease [64.4 kB]
  13. Get:7 http://archive.ubuntu.com vivid/main amd64 Packages [1364 kB]
  14. Get:8 http://security.ubuntu.com vivid-security/restricted amd64 Packages [11.2 kB]
  15. Get:9 http://security.ubuntu.com vivid-security/universe amd64 Packages [74.7 kB]
  16. Get:10 http://security.ubuntu.com vivid-security/multiverse amd64 Packages [6037 B]
  17. Get:11 http://security.ubuntu.com vivid-security/main Translation-en [90.9 kB]
  18. Get:12 http://security.ubuntu.com vivid-security/multiverse Translation-en [2743 B]
  19. Get:13 http://security.ubuntu.com vivid-security/restricted Translation-en [2774 B]
  20. Get:14 http://security.ubuntu.com vivid-security/universe Translation-en [46.7 kB]
  21. Get:15 http://archive.ubuntu.com vivid/restricted amd64 Packages [15.4 kB]
  22. Get:16 http://archive.ubuntu.com vivid/universe amd64 Packages [6485 kB]
  23. Get:17 http://archive.ubuntu.com vivid/main Translation-en [793 kB]
  24. Get:18 http://archive.ubuntu.com vivid/restricted Translation-en [4228 B]
  25. Get:19 http://archive.ubuntu.com vivid/universe Translation-en [4456 kB]
  26. Get:20 http://archive.ubuntu.com vivid-updates/main amd64 Packages [274 kB]
  27. Get:21 http://archive.ubuntu.com vivid-updates/restricted amd64 Packages [13.6 kB]
  28. Get:22 http://archive.ubuntu.com vivid-updates/universe amd64 Packages [135 kB]
  29. Get:23 http://archive.ubuntu.com vivid-updates/main Translation-en [133 kB]
  30. Get:24 http://archive.ubuntu.com vivid-updates/restricted Translation-en [3112 B]
  31. Get:25 http://archive.ubuntu.com vivid-updates/universe Translation-en [80.1 kB]
  32. Fetched 14.5 MB in 5s (2772 kB/s)
  33. Reading package lists... Done
  34. Reading package lists... Done
  35. Building dependency tree... Done
  36. Calculating upgrade... Done
  37. The following packages will be upgraded:
  38. apt coreutils dpkg dselect gcc-5-base iproute2 libapt-pkg4.12 libblkid1
  39. libexpat1 libgcc1 libgnutls-deb0-28 libgnutls-openssl27 libgssapi-krb5-2
  40. libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libmount1 libpcre3
  41. libpng12-0 libsasl2-2 libsasl2-modules-db libsmartcols1 libsqlite3-0
  42. libssl1.0.0 libsystemd0 libtasn1-6 libudev1 libuuid1 login mktemp mount
  43. openssh-client openssh-server openssh-sftp-server passwd systemd
  44. systemd-sysv tzdata udev util-linux
  45. 41 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  46. Need to get 16.6 MB of archives.
  47. After this operation, 25.6 kB of additional disk space will be used.
  48. Do you want to continue? [Y/n] y
  49. Get:1 http://archive.ubuntu.com/ubuntu/ vivid-updates/main coreutils amd64 8.23-3ubuntu1.1 [1138 kB]
  50. Get:2 http://archive.ubuntu.com/ubuntu/ vivid-updates/main dpkg amd64 1.17.25ubuntu1.1 [2218 kB]
  51. Get:3 http://archive.ubuntu.com/ubuntu/ vivid-updates/main login amd64 1:4.1.5.1-1.1ubuntu4.1 [302 kB]
  52. Get:4 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mount amd64 2.25.2-4ubuntu3 [118 kB]
  53. Get:5 http://archive.ubuntu.com/ubuntu/ vivid-updates/main tzdata all 2015g-0ubuntu0.15.04 [170 kB]
  54. Get:6 http://archive.ubuntu.com/ubuntu/ vivid-updates/main util-linux amd64 2.25.2-4ubuntu3 [796 kB]
  55. Get:7 http://archive.ubuntu.com/ubuntu/ vivid-updates/main gcc-5-base amd64 5.1~rc1-0ubuntu1.1 [14.4 kB]
  56. Get:8 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libgcc1 amd64 1:5.1~rc1-0ubuntu1.1 [39.1 kB]
  57. Get:9 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libapt-pkg4.12 amd64 1.0.9.7ubuntu4.2 [682 kB]
  58. Get:10 http://archive.ubuntu.com/ubuntu/ vivid-updates/main apt amd64 1.0.9.7ubuntu4.2 [1005 kB]
  59. Get:11 http://archive.ubuntu.com/ubuntu/ vivid-updates/main passwd amd64 1:4.1.5.1-1.1ubuntu4.1 [759 kB]
  60. Get:12 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libuuid1 amd64 2.25.2-4ubuntu3 [15.3 kB]
  61. Get:13 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libblkid1 amd64 2.25.2-4ubuntu3 [104 kB]
  62. Get:14 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libmount1 amd64 2.25.2-4ubuntu3 [111 kB]
  63. Get:15 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libpcre3 amd64 2:8.35-3.3ubuntu1.1 [222 kB]
  64. Get:16 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsmartcols1 amd64 2.25.2-4ubuntu3 [60.5 kB]
  65. Get:17 http://archive.ubuntu.com/ubuntu/ vivid-updates/main udev amd64 219-7ubuntu6 [929 kB]
  66. Get:18 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libudev1 amd64 219-7ubuntu6 [40.9 kB]
  67. Get:19 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libexpat1 amd64 2.1.0-6ubuntu1.1 [70.8 kB]
  68. Get:20 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libgnutls-openssl27 amd64 3.3.8-3ubuntu3.2 [20.6 kB]
  69. Get:21 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libtasn1-6 amd64 4.2-2ubuntu1.1 [42.4 kB]
  70. Get:22 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libgnutls-deb0-28 amd64 3.3.8-3ubuntu3.2 [516 kB]
  71. Get:23 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsqlite3-0 amd64 3.8.7.4-1ubuntu0.1 [371 kB]
  72. Get:24 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libssl1.0.0 amd64 1.0.1f-1ubuntu11.5 [850 kB]
  73. Get:25 http://archive.ubuntu.com/ubuntu/ vivid-updates/main systemd amd64 219-7ubuntu6 [3530 kB]
  74. Get:26 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsystemd0 amd64 219-7ubuntu6 [73.8 kB]
  75. Get:27 http://archive.ubuntu.com/ubuntu/ vivid-updates/main systemd-sysv amd64 219-7ubuntu6 [14.0 kB]
  76. Get:28 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libgssapi-krb5-2 amd64 1.12.1+dfsg-18ubuntu0.1 [120 kB]
  77. Get:29 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libkrb5-3 amd64 1.12.1+dfsg-18ubuntu0.1 [270 kB]
  78. Get:30 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libkrb5support0 amd64 1.12.1+dfsg-18ubuntu0.1 [30.6 kB]
  79. Get:31 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libk5crypto3 amd64 1.12.1+dfsg-18ubuntu0.1 [83.2 kB]
  80. Get:32 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsasl2-modules-db amd64 2.1.26.dfsg1-13ubuntu0.1 [14.8 kB]
  81. Get:33 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libsasl2-2 amd64 2.1.26.dfsg1-13ubuntu0.1 [49.5 kB]
  82. Get:34 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libldap-2.4-2 amd64 2.4.31-1+nmu2ubuntu12.3 [155 kB]
  83. Get:35 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libpng12-0 amd64 1.2.51-0ubuntu3.15.04.2 [119 kB]
  84. Get:36 http://archive.ubuntu.com/ubuntu/ vivid-updates/universe mktemp all 8.23-3ubuntu1.1 [2840 B]
  85. Get:37 http://archive.ubuntu.com/ubuntu/ vivid-updates/main iproute2 amd64 3.16.0-2ubuntu1.1 [420 kB]
  86. Get:38 http://archive.ubuntu.com/ubuntu/ vivid-updates/main openssh-sftp-server amd64 1:6.7p1-5ubuntu1.4 [38.2 kB]
  87. Get:39 http://archive.ubuntu.com/ubuntu/ vivid-updates/main openssh-server amd64 1:6.7p1-5ubuntu1.4 [334 kB]
  88. Get:40 http://archive.ubuntu.com/ubuntu/ vivid-updates/main openssh-client amd64 1:6.7p1-5ubuntu1.4 [585 kB]
  89. Get:41 http://archive.ubuntu.com/ubuntu/ vivid-updates/main dselect amd64 1.17.25ubuntu1.1 [188 kB]
  90. Fetched 16.6 MB in 1min 7s (246 kB/s)
  91. perl: warning: Setting locale failed.
  92. perl: warning: Please check that your locale settings:
  93. LANGUAGE = (unset),
  94. LC_ALL = (unset),
  95. LANG = "en_US.UTF-8"
  96. are supported and installed on your system.
  97. perl: warning: Falling back to the standard locale ("C").
  98. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  99. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  100. locale: Cannot set LC_ALL to default locale: No such file or directory
  101. debconf: delaying package configuration, since apt-utils is not installed
  102. (Reading database ... 13499 files and directories currently installed.)
  103. Preparing to unpack .../coreutils_8.23-3ubuntu1.1_amd64.deb ...
  104. Unpacking coreutils (8.23-3ubuntu1.1) over (8.23-3ubuntu1) ...
  105. Processing triggers for install-info (5.2.0.dfsg.1-6) ...
  106. Setting up coreutils (8.23-3ubuntu1.1) ...
  107. (Reading database ... 13499 files and directories currently installed.)
  108. Preparing to unpack .../dpkg_1.17.25ubuntu1.1_amd64.deb ...
  109. Unpacking dpkg (1.17.25ubuntu1.1) over (1.17.25ubuntu1) ...
  110. Setting up dpkg (1.17.25ubuntu1.1) ...
  111. (Reading database ... 13499 files and directories currently installed.)
  112. Preparing to unpack .../login_1%3a4.1.5.1-1.1ubuntu4.1_amd64.deb ...
  113. Unpacking login (1:4.1.5.1-1.1ubuntu4.1) over (1:4.1.5.1-1.1ubuntu4) ...
  114. Setting up login (1:4.1.5.1-1.1ubuntu4.1) ...
  115. (Reading database ... 13499 files and directories currently installed.)
  116. Preparing to unpack .../mount_2.25.2-4ubuntu3_amd64.deb ...
  117. Unpacking mount (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
  118. Setting up mount (2.25.2-4ubuntu3) ...
  119. (Reading database ... 13499 files and directories currently installed.)
  120. Preparing to unpack .../tzdata_2015g-0ubuntu0.15.04_all.deb ...
  121. Unpacking tzdata (2015g-0ubuntu0.15.04) over (2015d-0ubuntu0.15.04) ...
  122. Setting up tzdata (2015g-0ubuntu0.15.04) ...
  123. debconf: unable to initialize frontend: Dialog
  124. 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.)
  125. debconf: falling back to frontend: Readline
  126.  
  127. Current default time zone: 'America/New_York'
  128. Local time is now: Thu Jan 21 00:50:45 EST 2016.
  129. Universal Time is now: Thu Jan 21 05:50:45 UTC 2016.
  130. Run 'dpkg-reconfigure tzdata' if you wish to change it.
  131.  
  132. (Reading database ... 13502 files and directories currently installed.)
  133. Preparing to unpack .../util-linux_2.25.2-4ubuntu3_amd64.deb ...
  134. Unpacking util-linux (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
  135. Processing triggers for mime-support (3.58ubuntu1) ...
  136. Processing triggers for systemd (219-7ubuntu4) ...
  137. Setting up util-linux (2.25.2-4ubuntu3) ...
  138. update-initramfs: deferring update (trigger activated)
  139. Processing triggers for initramfs-tools (0.103ubuntu15) ...
  140. (Reading database ... 13502 files and directories currently installed.)
  141. Preparing to unpack .../gcc-5-base_5.1~rc1-0ubuntu1.1_amd64.deb ...
  142. Unpacking gcc-5-base:amd64 (5.1~rc1-0ubuntu1.1) over (5.1~rc1-0ubuntu1) ...
  143. Setting up gcc-5-base:amd64 (5.1~rc1-0ubuntu1.1) ...
  144. (Reading database ... 13502 files and directories currently installed.)
  145. Preparing to unpack .../libgcc1_1%3a5.1~rc1-0ubuntu1.1_amd64.deb ...
  146. Unpacking libgcc1:amd64 (1:5.1~rc1-0ubuntu1.1) over (1:5.1~rc1-0ubuntu1) ...
  147. Setting up libgcc1:amd64 (1:5.1~rc1-0ubuntu1.1) ...
  148. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  149. (Reading database ... 13502 files and directories currently installed.)
  150. Preparing to unpack .../libapt-pkg4.12_1.0.9.7ubuntu4.2_amd64.deb ...
  151. Unpacking libapt-pkg4.12:amd64 (1.0.9.7ubuntu4.2) over (1.0.9.7ubuntu4) ...
  152. Setting up libapt-pkg4.12:amd64 (1.0.9.7ubuntu4.2) ...
  153. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  154. (Reading database ... 13502 files and directories currently installed.)
  155. Preparing to unpack .../apt_1.0.9.7ubuntu4.2_amd64.deb ...
  156. Unpacking apt (1.0.9.7ubuntu4.2) over (1.0.9.7ubuntu4) ...
  157. Setting up apt (1.0.9.7ubuntu4.2) ...
  158. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  159. (Reading database ... 13502 files and directories currently installed.)
  160. Preparing to unpack .../passwd_1%3a4.1.5.1-1.1ubuntu4.1_amd64.deb ...
  161. Unpacking passwd (1:4.1.5.1-1.1ubuntu4.1) over (1:4.1.5.1-1.1ubuntu4) ...
  162. Setting up passwd (1:4.1.5.1-1.1ubuntu4.1) ...
  163. (Reading database ... 13502 files and directories currently installed.)
  164. Preparing to unpack .../libuuid1_2.25.2-4ubuntu3_amd64.deb ...
  165. Unpacking libuuid1:amd64 (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
  166. Setting up libuuid1:amd64 (2.25.2-4ubuntu3) ...
  167. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  168. (Reading database ... 13502 files and directories currently installed.)
  169. Preparing to unpack .../libblkid1_2.25.2-4ubuntu3_amd64.deb ...
  170. Unpacking libblkid1:amd64 (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
  171. Setting up libblkid1:amd64 (2.25.2-4ubuntu3) ...
  172. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  173. (Reading database ... 13502 files and directories currently installed.)
  174. Preparing to unpack .../libmount1_2.25.2-4ubuntu3_amd64.deb ...
  175. Unpacking libmount1:amd64 (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
  176. Setting up libmount1:amd64 (2.25.2-4ubuntu3) ...
  177. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  178. (Reading database ... 13502 files and directories currently installed.)
  179. Preparing to unpack .../libpcre3_2%3a8.35-3.3ubuntu1.1_amd64.deb ...
  180. Unpacking libpcre3:amd64 (2:8.35-3.3ubuntu1.1) over (2:8.35-3.3ubuntu1) ...
  181. Setting up libpcre3:amd64 (2:8.35-3.3ubuntu1.1) ...
  182. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  183. (Reading database ... 13502 files and directories currently installed.)
  184. Preparing to unpack .../libsmartcols1_2.25.2-4ubuntu3_amd64.deb ...
  185. Unpacking libsmartcols1:amd64 (2.25.2-4ubuntu3) over (2.25.2-4ubuntu2) ...
  186. Setting up libsmartcols1:amd64 (2.25.2-4ubuntu3) ...
  187. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  188. (Reading database ... 13502 files and directories currently installed.)
  189. Preparing to unpack .../udev_219-7ubuntu6_amd64.deb ...
  190. Unpacking udev (219-7ubuntu6) over (219-7ubuntu4) ...
  191. Preparing to unpack .../libudev1_219-7ubuntu6_amd64.deb ...
  192. Unpacking libudev1:amd64 (219-7ubuntu6) over (219-7ubuntu4) ...
  193. Processing triggers for systemd (219-7ubuntu4) ...
  194. Setting up libudev1:amd64 (219-7ubuntu6) ...
  195. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  196. (Reading database ... 13502 files and directories currently installed.)
  197. Preparing to unpack .../libexpat1_2.1.0-6ubuntu1.1_amd64.deb ...
  198. Unpacking libexpat1:amd64 (2.1.0-6ubuntu1.1) over (2.1.0-6ubuntu1) ...
  199. Preparing to unpack .../libgnutls-openssl27_3.3.8-3ubuntu3.2_amd64.deb ...
  200. Unpacking libgnutls-openssl27:amd64 (3.3.8-3ubuntu3.2) over (3.3.8-3ubuntu3) ...
  201. Preparing to unpack .../libtasn1-6_4.2-2ubuntu1.1_amd64.deb ...
  202. Unpacking libtasn1-6:amd64 (4.2-2ubuntu1.1) over (4.2-2ubuntu1) ...
  203. Preparing to unpack .../libgnutls-deb0-28_3.3.8-3ubuntu3.2_amd64.deb ...
  204. Unpacking libgnutls-deb0-28:amd64 (3.3.8-3ubuntu3.2) over (3.3.8-3ubuntu3) ...
  205. Preparing to unpack .../libsqlite3-0_3.8.7.4-1ubuntu0.1_amd64.deb ...
  206. Unpacking libsqlite3-0:amd64 (3.8.7.4-1ubuntu0.1) over (3.8.7.4-1) ...
  207. Preparing to unpack .../libssl1.0.0_1.0.1f-1ubuntu11.5_amd64.deb ...
  208. Unpacking libssl1.0.0:amd64 (1.0.1f-1ubuntu11.5) over (1.0.1f-1ubuntu11) ...
  209. Preparing to unpack .../systemd_219-7ubuntu6_amd64.deb ...
  210. Unpacking systemd (219-7ubuntu6) over (219-7ubuntu4) ...
  211. Preparing to unpack .../libsystemd0_219-7ubuntu6_amd64.deb ...
  212. Unpacking libsystemd0:amd64 (219-7ubuntu6) over (219-7ubuntu4) ...
  213. Setting up libsystemd0:amd64 (219-7ubuntu6) ...
  214. Setting up udev (219-7ubuntu6) ...
  215. update-initramfs: deferring update (trigger activated)
  216. Setting up systemd (219-7ubuntu6) ...
  217. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  218. Processing triggers for initramfs-tools (0.103ubuntu15) ...
  219. (Reading database ... 13505 files and directories currently installed.)
  220. Preparing to unpack .../systemd-sysv_219-7ubuntu6_amd64.deb ...
  221. Unpacking systemd-sysv (219-7ubuntu6) over (219-7ubuntu4) ...
  222. Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-18ubuntu0.1_amd64.deb ...
  223. Unpacking libgssapi-krb5-2:amd64 (1.12.1+dfsg-18ubuntu0.1) over (1.12.1+dfsg-18) ...
  224. Preparing to unpack .../libkrb5-3_1.12.1+dfsg-18ubuntu0.1_amd64.deb ...
  225. Unpacking libkrb5-3:amd64 (1.12.1+dfsg-18ubuntu0.1) over (1.12.1+dfsg-18) ...
  226. Preparing to unpack .../libkrb5support0_1.12.1+dfsg-18ubuntu0.1_amd64.deb ...
  227. Unpacking libkrb5support0:amd64 (1.12.1+dfsg-18ubuntu0.1) over (1.12.1+dfsg-18) ...
  228. Preparing to unpack .../libk5crypto3_1.12.1+dfsg-18ubuntu0.1_amd64.deb ...
  229. Unpacking libk5crypto3:amd64 (1.12.1+dfsg-18ubuntu0.1) over (1.12.1+dfsg-18) ...
  230. Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-13ubuntu0.1_amd64.deb ...
  231. Unpacking libsasl2-modules-db:amd64 (2.1.26.dfsg1-13ubuntu0.1) over (2.1.26.dfsg1-13) ...
  232. Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-13ubuntu0.1_amd64.deb ...
  233. Unpacking libsasl2-2:amd64 (2.1.26.dfsg1-13ubuntu0.1) over (2.1.26.dfsg1-13) ...
  234. Preparing to unpack .../libldap-2.4-2_2.4.31-1+nmu2ubuntu12.3_amd64.deb ...
  235. Unpacking libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu12.3) over (2.4.31-1+nmu2ubuntu12) ...
  236. Preparing to unpack .../libpng12-0_1.2.51-0ubuntu3.15.04.2_amd64.deb ...
  237. Unpacking libpng12-0:amd64 (1.2.51-0ubuntu3.15.04.2) over (1.2.51-0ubuntu3) ...
  238. Preparing to unpack .../mktemp_8.23-3ubuntu1.1_all.deb ...
  239. Unpacking mktemp (8.23-3ubuntu1.1) over (8.23-3ubuntu1) ...
  240. Preparing to unpack .../iproute2_3.16.0-2ubuntu1.1_amd64.deb ...
  241. Unpacking iproute2 (3.16.0-2ubuntu1.1) over (3.16.0-2ubuntu1) ...
  242. Preparing to unpack .../openssh-sftp-server_1%3a6.7p1-5ubuntu1.4_amd64.deb ...
  243. Unpacking openssh-sftp-server (1:6.7p1-5ubuntu1.4) over (1:6.7p1-5ubuntu1) ...
  244. Preparing to unpack .../openssh-server_1%3a6.7p1-5ubuntu1.4_amd64.deb ...
  245. Unpacking openssh-server (1:6.7p1-5ubuntu1.4) over (1:6.7p1-5ubuntu1) ...
  246. Preparing to unpack .../openssh-client_1%3a6.7p1-5ubuntu1.4_amd64.deb ...
  247. Unpacking openssh-client (1:6.7p1-5ubuntu1.4) over (1:6.7p1-5ubuntu1) ...
  248. Preparing to unpack .../dselect_1.17.25ubuntu1.1_amd64.deb ...
  249. Unpacking dselect (1.17.25ubuntu1.1) over (1.17.25ubuntu1) ...
  250. Processing triggers for systemd (219-7ubuntu6) ...
  251. Setting up libexpat1:amd64 (2.1.0-6ubuntu1.1) ...
  252. Setting up libtasn1-6:amd64 (4.2-2ubuntu1.1) ...
  253. Setting up libgnutls-deb0-28:amd64 (3.3.8-3ubuntu3.2) ...
  254. Setting up libgnutls-openssl27:amd64 (3.3.8-3ubuntu3.2) ...
  255. Setting up libsqlite3-0:amd64 (3.8.7.4-1ubuntu0.1) ...
  256. Setting up libssl1.0.0:amd64 (1.0.1f-1ubuntu11.5) ...
  257. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  258. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  259. locale: Cannot set LC_ALL to default locale: No such file or directory
  260. debconf: unable to initialize frontend: Dialog
  261. 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.)
  262. debconf: falling back to frontend: Readline
  263. Setting up systemd-sysv (219-7ubuntu6) ...
  264. Setting up libkrb5support0:amd64 (1.12.1+dfsg-18ubuntu0.1) ...
  265. Setting up libk5crypto3:amd64 (1.12.1+dfsg-18ubuntu0.1) ...
  266. Setting up libkrb5-3:amd64 (1.12.1+dfsg-18ubuntu0.1) ...
  267. Setting up libgssapi-krb5-2:amd64 (1.12.1+dfsg-18ubuntu0.1) ...
  268. Setting up libsasl2-modules-db:amd64 (2.1.26.dfsg1-13ubuntu0.1) ...
  269. Setting up libsasl2-2:amd64 (2.1.26.dfsg1-13ubuntu0.1) ...
  270. Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu12.3) ...
  271. Setting up libpng12-0:amd64 (1.2.51-0ubuntu3.15.04.2) ...
  272. Setting up mktemp (8.23-3ubuntu1.1) ...
  273. Setting up iproute2 (3.16.0-2ubuntu1.1) ...
  274. Setting up openssh-client (1:6.7p1-5ubuntu1.4) ...
  275. Setting up openssh-sftp-server (1:6.7p1-5ubuntu1.4) ...
  276. Setting up openssh-server (1:6.7p1-5ubuntu1.4) ...
  277. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  278. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  279. locale: Cannot set LC_ALL to default locale: No such file or directory
  280. debconf: unable to initialize frontend: Dialog
  281. 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.)
  282. debconf: falling back to frontend: Readline
  283. Setting up dselect (1.17.25ubuntu1.1) ...
  284. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  285. root@faheem-test:~# apt-get install mysql-server
  286. Reading package lists... Done
  287. Building dependency tree
  288. Reading state information... Done
  289. The following extra packages will be installed:
  290. libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
  291. libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common
  292. mysql-server-5.6 mysql-server-core-5.6
  293. Suggested packages:
  294. libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
  295. libipc-sharedcache-perl mailx tinyca
  296. The following NEW packages will be installed:
  297. libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
  298. libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common
  299. mysql-server mysql-server-5.6 mysql-server-core-5.6
  300. 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
  301. Need to get 21.6 MB of archives.
  302. After this operation, 155 MB of additional disk space will be used.
  303. Do you want to continue? [Y/n] y
  304. Get:1 http://archive.ubuntu.com/ubuntu/ vivid/main libaio1 amd64 0.3.110-1 [6454 B]
  305. Get:2 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-common all 5.6.27-0ubuntu0.15.04.1 [14.8 kB]
  306. Get:3 http://archive.ubuntu.com/ubuntu/ vivid-updates/main libmysqlclient18 amd64 5.6.27-0ubuntu0.15.04.1 [698 kB]
  307. Get:4 http://archive.ubuntu.com/ubuntu/ vivid/main libdbi-perl amd64 1.631-3build1 [770 kB]
  308. Get:5 http://archive.ubuntu.com/ubuntu/ vivid/main libdbd-mysql-perl amd64 4.028-2 [88.6 kB]
  309. Get:6 http://archive.ubuntu.com/ubuntu/ vivid/main libterm-readkey-perl amd64 2.32-1build1 [25.0 kB]
  310. 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]
  311. Get:8 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-client-5.6 amd64 5.6.27-0ubuntu0.15.04.1 [5354 kB]
  312. 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]
  313. Get:10 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-server-5.6 amd64 5.6.27-0ubuntu0.15.04.1 [5770 kB]
  314. Get:11 http://archive.ubuntu.com/ubuntu/ vivid/main libhtml-template-perl all 2.95-1 [65.5 kB]
  315. Get:12 http://archive.ubuntu.com/ubuntu/ vivid-updates/main mysql-server all 5.6.27-0ubuntu0.15.04.1 [8878 B]
  316. Fetched 21.6 MB in 3s (6078 kB/s)
  317. perl: warning: Setting locale failed.
  318. perl: warning: Please check that your locale settings:
  319. LANGUAGE = (unset),
  320. LC_ALL = (unset),
  321. LANG = "en_US.UTF-8"
  322. are supported and installed on your system.
  323. perl: warning: Falling back to the standard locale ("C").
  324. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  325. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  326. locale: Cannot set LC_ALL to default locale: No such file or directory
  327. debconf: delaying package configuration, since apt-utils is not installed
  328. Selecting previously unselected package libaio1:amd64.
  329. (Reading database ... 13505 files and directories currently installed.)
  330. Preparing to unpack .../libaio1_0.3.110-1_amd64.deb ...
  331. Unpacking libaio1:amd64 (0.3.110-1) ...
  332. Selecting previously unselected package mysql-common.
  333. Preparing to unpack .../mysql-common_5.6.27-0ubuntu0.15.04.1_all.deb ...
  334. Unpacking mysql-common (5.6.27-0ubuntu0.15.04.1) ...
  335. Selecting previously unselected package libmysqlclient18:amd64.
  336. Preparing to unpack .../libmysqlclient18_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
  337. Unpacking libmysqlclient18:amd64 (5.6.27-0ubuntu0.15.04.1) ...
  338. Selecting previously unselected package libdbi-perl.
  339. Preparing to unpack .../libdbi-perl_1.631-3build1_amd64.deb ...
  340. Unpacking libdbi-perl (1.631-3build1) ...
  341. Selecting previously unselected package libdbd-mysql-perl.
  342. Preparing to unpack .../libdbd-mysql-perl_4.028-2_amd64.deb ...
  343. Unpacking libdbd-mysql-perl (4.028-2) ...
  344. Selecting previously unselected package libterm-readkey-perl.
  345. Preparing to unpack .../libterm-readkey-perl_2.32-1build1_amd64.deb ...
  346. Unpacking libterm-readkey-perl (2.32-1build1) ...
  347. Selecting previously unselected package mysql-client-core-5.6.
  348. Preparing to unpack .../mysql-client-core-5.6_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
  349. Unpacking mysql-client-core-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  350. Selecting previously unselected package mysql-client-5.6.
  351. Preparing to unpack .../mysql-client-5.6_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
  352. Unpacking mysql-client-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  353. Selecting previously unselected package mysql-server-core-5.6.
  354. Preparing to unpack .../mysql-server-core-5.6_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
  355. Unpacking mysql-server-core-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  356. Setting up mysql-common (5.6.27-0ubuntu0.15.04.1) ...
  357. update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
  358. Selecting previously unselected package mysql-server-5.6.
  359. (Reading database ... 13875 files and directories currently installed.)
  360. Preparing to unpack .../mysql-server-5.6_5.6.27-0ubuntu0.15.04.1_amd64.deb ...
  361. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  362. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  363. locale: Cannot set LC_ALL to default locale: No such file or directory
  364. debconf: unable to initialize frontend: Dialog
  365. 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.)
  366. debconf: falling back to frontend: Readline
  367. /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
  368. /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  369. /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
  370. Configuring mysql-server-5.6
  371. ----------------------------
  372.  
  373. While not mandatory, it is highly recommended that you set a password for the
  374. MySQL administrative "root" user.
  375.  
  376. If this field is left blank, the password will not be changed.
  377.  
  378. New password for the MySQL "root" user:
  379.  
  380.  
  381.  
  382. Repeat password for the MySQL "root" user:
  383.  
  384.  
  385. Unpacking mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  386. Selecting previously unselected package libhtml-template-perl.
  387. Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
  388. Unpacking libhtml-template-perl (2.95-1) ...
  389. Selecting previously unselected package mysql-server.
  390. Preparing to unpack .../mysql-server_5.6.27-0ubuntu0.15.04.1_all.deb ...
  391. Unpacking mysql-server (5.6.27-0ubuntu0.15.04.1) ...
  392. Processing triggers for systemd (219-7ubuntu6) ...
  393. Setting up libaio1:amd64 (0.3.110-1) ...
  394. Setting up libmysqlclient18:amd64 (5.6.27-0ubuntu0.15.04.1) ...
  395. Setting up libdbi-perl (1.631-3build1) ...
  396. Setting up libdbd-mysql-perl (4.028-2) ...
  397. Setting up libterm-readkey-perl (2.32-1build1) ...
  398. Setting up mysql-client-core-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  399. Setting up mysql-client-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  400. Setting up mysql-server-core-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  401. Setting up mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  402. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  403. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  404. locale: Cannot set LC_ALL to default locale: No such file or directory
  405. debconf: unable to initialize frontend: Dialog
  406. 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.)
  407. debconf: falling back to frontend: Readline
  408. update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
  409. /var/lib/dpkg/info/mysql-server-5.6.postinst: line 132: logger: command not found
  410. 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).
  411. 2016-01-21 00:51:17 0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.15.04.1) starting as process 1877 ...
  412. /var/lib/dpkg/info/mysql-server-5.6.postinst: line 210: logger: command not found
  413. dpkg: error processing package mysql-server-5.6 (--configure):
  414. subprocess installed post-installation script returned error exit status 127
  415. Setting up libhtml-template-perl (2.95-1) ...
  416. dpkg: dependency problems prevent configuration of mysql-server:
  417. mysql-server depends on mysql-server-5.6; however:
  418. Package mysql-server-5.6 is not configured yet.
  419.  
  420. dpkg: error processing package mysql-server (--configure):
  421. dependency problems - leaving unconfigured
  422. Processing triggers for libc-bin (2.21-0ubuntu4) ...
  423. Processing triggers for systemd (219-7ubuntu6) ...
  424. Errors were encountered while processing:
  425. mysql-server-5.6
  426. mysql-server
  427. E: Sub-process /usr/bin/dpkg returned an error code (1)
  428. root@faheem-test:~# apt-get install logger
  429. Reading package lists... Done
  430. Building dependency tree
  431. Reading state information... Done
  432. E: Unable to locate package logger
  433. root@faheem-test:~# apt-get --reinstall install bsdutils
  434. Reading package lists... Done
  435. Building dependency tree
  436. Reading state information... Done
  437. The following extra packages will be installed:
  438. bsdmainutils
  439. Suggested packages:
  440. cpp wamerican wordlist whois vacation
  441. The following NEW packages will be installed:
  442. bsdmainutils bsdutils
  443. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  444. 2 not fully installed or removed.
  445. Need to get 219 kB of archives.
  446. After this operation, 830 kB of additional disk space will be used.
  447. Do you want to continue? [Y/n] y
  448. Get:1 http://archive.ubuntu.com/ubuntu/ vivid-updates/main bsdutils amd64 1:2.25.2-4ubuntu3 [44.7 kB]
  449. Get:2 http://archive.ubuntu.com/ubuntu/ vivid/main bsdmainutils amd64 9.0.6ubuntu1 [175 kB]
  450. Fetched 219 kB in 0s (349 kB/s)
  451. perl: warning: Setting locale failed.
  452. perl: warning: Please check that your locale settings:
  453. LANGUAGE = (unset),
  454. LC_ALL = (unset),
  455. LANG = "en_US.UTF-8"
  456. are supported and installed on your system.
  457. perl: warning: Falling back to the standard locale ("C").
  458. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  459. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  460. locale: Cannot set LC_ALL to default locale: No such file or directory
  461. debconf: delaying package configuration, since apt-utils is not installed
  462. Selecting previously unselected package bsdutils.
  463. (Reading database ... 13981 files and directories currently installed.)
  464. Preparing to unpack .../bsdutils_1%3a2.25.2-4ubuntu3_amd64.deb ...
  465. Unpacking bsdutils (1:2.25.2-4ubuntu3) ...
  466. Setting up bsdutils (1:2.25.2-4ubuntu3) ...
  467. Selecting previously unselected package bsdmainutils.
  468. (Reading database ... 14000 files and directories currently installed.)
  469. Preparing to unpack .../bsdmainutils_9.0.6ubuntu1_amd64.deb ...
  470. Unpacking bsdmainutils (9.0.6ubuntu1) ...
  471. Setting up mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) ...
  472. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  473. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  474. locale: Cannot set LC_ALL to default locale: No such file or directory
  475. debconf: unable to initialize frontend: Dialog
  476. 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.)
  477. debconf: falling back to frontend: Readline
  478.  
  479. Setting up mysql-server (5.6.27-0ubuntu0.15.04.1) ...
  480. Setting up bsdmainutils (9.0.6ubuntu1) ...
  481. update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
  482. update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
  483. root@faheem-test:~# apt-get install mysql-server
  484. Reading package lists... Done
  485. Building dependency tree
  486. Reading state information... Done
  487. mysql-server is already the newest version.
  488. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  489. root@faheem-test:~# /etc/init.d/mysql status
  490. ● mysql.service - MySQL Community Server
  491. Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
  492. Active: active (running) since Thu 2016-01-21 00:52:04 EST; 20s ago
  493. Process: 2191 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)
  494. Process: 2187 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
  495. Main PID: 2190 (mysqld_safe)
  496. CGroup: /system.slice/mysql.service
  497. ├─2190 /bin/sh /usr/bin/mysqld_safe
  498. └─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...
  499.  
  500. Jan 21 00:52:03 faheem-test systemd[1]: Starting MySQL Community Server...
  501. 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.
  502. Jan 21 00:52:03 faheem-test mysqld_safe[2190]: 160121 00:52:03 mysqld_safe Logging to '/var/log/mysql/error.log'.
  503. 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
  504. Jan 21 00:52:04 faheem-test systemd[1]: Started MySQL Community Server.
  505. Hint: Some lines were ellipsized, use -l to show in full.
  506. root@faheem-test:~# /etc/init.d/mysql restart
  507. [ ok ] Restarting mysql (via systemctl): mysql.service.
  508. root@faheem-test:~# mysql -u root -p
  509. Enter password:
  510. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
  511. root@faheem-test:~# cat /var/lib/mysql
  512. mysql/ mysql-upgrade/
  513. root@faheem-test:~# cat /var/lib/mysql/
  514. auto.cnf debian-5.6.flag ib_logfile0 ib_logfile1 ibdata1 mysql/ performance_schema/
  515. root@faheem-test:~# cat /var/lib/mysql/
  516. auto.cnf debian-5.6.flag ib_logfile0 ib_logfile1 ibdata1 mysql/ performance_schema/
  517. root@faheem-test:~# sudo locale-gen en_US en_US.UTF-8 pl_PL pl_PL.UTF-8
  518. -bash: sudo: command not found
  519. root@faheem-test:~# sudo dpkg-reconfigure locales
  520. -bash: sudo: command not found
  521. root@faheem-test:~# locale-gen en_US en_US.UTF-8 pl_PL pl_PL.UTF-8
  522. Generating locales...
  523. en_US.ISO-8859-1... done
  524. en_US.UTF-8... done
  525. pl_PL.ISO-8859-2... done
  526. pl_PL.UTF-8... done
  527. Generation complete.
  528. root@faheem-test:~# dpkg-reconfigure locales
  529. debconf: unable to initialize frontend: Dialog
  530. 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.)
  531. debconf: falling back to frontend: Readline
  532. Generating locales...
  533. en_US.ISO-8859-1... up-to-date
  534. en_US.UTF-8... up-to-date
  535. pl_PL.ISO-8859-2... up-to-date
  536. pl_PL.UTF-8... up-to-date
  537. Generation complete.
  538. root@faheem-test:~# mysql -u root -p
  539. Enter password:
  540. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
  541. root@faheem-test:~# mysql -u root -p
  542. Enter password:
  543. Welcome to the MySQL monitor. Commands end with ; or \g.
  544. Your MySQL connection id is 4
  545. Server version: 5.6.27-0ubuntu0.15.04.1 (Ubuntu)
  546.  
  547. Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
  548.  
  549. Oracle is a registered trademark of Oracle Corporation and/or its
  550. affiliates. Other names may be trademarks of their respective
  551. owners.
  552.  
  553. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  554.  
  555. mysql> ^DBye
  556. root@faheem-test:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement