daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Feb 14th, 2015 327 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@laptop:~# apt-get autoremove
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. The following packages will be REMOVED:
  6.   gambas3-dev gambas3-examples gambas3-gb-cairo gambas3-gb-chart
  7.   gambas3-gb-compress gambas3-gb-compress-bzlib2 gambas3-gb-compress-zlib
  8.   gambas3-gb-crypt gambas3-gb-db gambas3-gb-db-form gambas3-gb-db-odbc
  9.   gambas3-gb-db-postgresql gambas3-gb-db-sqlite3 gambas3-gb-dbus
  10.   gambas3-gb-desktop gambas3-gb-eval-highlight gambas3-gb-form
  11.   gambas3-gb-form-dialog gambas3-gb-form-mdi gambas3-gb-form-stock
  12.   gambas3-gb-gtk gambas3-gb-gui gambas3-gb-image gambas3-gb-image-effect
  13.   gambas3-gb-image-imlib gambas3-gb-image-io gambas3-gb-net
  14.   gambas3-gb-net-curl gambas3-gb-net-smtp gambas3-gb-opengl
  15.   gambas3-gb-opengl-glsl gambas3-gb-opengl-glu gambas3-gb-option
  16.   gambas3-gb-pcre gambas3-gb-pdf gambas3-gb-qt4 gambas3-gb-qt4-ext
  17.   gambas3-gb-qt4-opengl gambas3-gb-qt4-webkit gambas3-gb-report gambas3-gb-sdl
  18.   gambas3-gb-sdl-sound gambas3-gb-settings gambas3-gb-v4l gambas3-gb-vb
  19.   gambas3-gb-web gambas3-gb-xml gambas3-gb-xml-rpc gambas3-gb-xml-xslt
  20.   gambas3-ide libctemplate2 libglew1.10 libgtkmm-2.4-1c2a libid3tag0 libimlib2
  21.   liblua5.1-0 libpq5 libterm-readkey-perl libtinyxml2.6.2 libvsqlitepp3
  22.   mysql-client-core-5.5 mysql-utilities mysql-workbench-data
  23.   python-mysql.connector python-pyodbc python-pysqlite2
  24. 0 upgraded, 0 newly installed, 66 to remove and 15 not upgraded.
  25. After this operation, 40.3 MB disk space will be freed.
  26. Do you want to continue? [Y/n] y
  27. (Reading database ... 263341 files and directories currently installed.)
  28. Removing gambas3-ide (3.1.1-2.2ubuntu4) ...
  29. Removing gambas3-dev (3.1.1-2.2ubuntu4) ...
  30. Removing gambas3-examples (3.1.1-2.2ubuntu4) ...
  31. Removing gambas3-gb-cairo (3.1.1-2.2ubuntu4) ...
  32. Removing gambas3-gb-chart (3.1.1-2.2ubuntu4) ...
  33. Removing gambas3-gb-compress-zlib (3.1.1-2.2ubuntu4) ...
  34. Removing gambas3-gb-compress-bzlib2 (3.1.1-2.2ubuntu4) ...
  35. Removing gambas3-gb-compress (3.1.1-2.2ubuntu4) ...
  36. Removing gambas3-gb-crypt (3.1.1-2.2ubuntu4) ...
  37. Removing gambas3-gb-report (3.1.1-2.2ubuntu4) ...
  38. Removing gambas3-gb-db-sqlite3 (3.1.1-2.2ubuntu4) ...
  39. Removing gambas3-gb-db-form (3.1.1-2.2ubuntu4) ...
  40. Removing gambas3-gb-db-odbc (3.1.1-2.2ubuntu4) ...
  41. Removing gambas3-gb-db-postgresql (3.1.1-2.2ubuntu4) ...
  42. Removing gambas3-gb-dbus (3.1.1-2.2ubuntu4) ...
  43. Removing gambas3-gb-desktop (3.1.1-2.2ubuntu4) ...
  44. Removing gambas3-gb-eval-highlight (3.1.1-2.2ubuntu4) ...
  45. Removing gambas3-gb-form-stock (3.1.1-2.2ubuntu4) ...
  46. Removing gambas3-gb-form-mdi (3.1.1-2.2ubuntu4) ...
  47. Removing gambas3-gb-form-dialog (3.1.1-2.2ubuntu4) ...
  48. Removing gambas3-gb-image-io (3.1.1-2.2ubuntu4) ...
  49. Removing gambas3-gb-image-imlib (3.1.1-2.2ubuntu4) ...
  50. Removing gambas3-gb-image-effect (3.1.1-2.2ubuntu4) ...
  51. Removing gambas3-gb-net-smtp (3.1.1-2.2ubuntu4) ...
  52. Removing gambas3-gb-net-curl (3.1.1-2.2ubuntu4) ...
  53. Removing gambas3-gb-net (3.1.1-2.2ubuntu4) ...
  54. Removing gambas3-gb-opengl-glu (3.1.1-2.2ubuntu4) ...
  55. Removing gambas3-gb-opengl-glsl (3.1.1-2.2ubuntu4) ...
  56. Removing gambas3-gb-opengl (3.1.1-2.2ubuntu4) ...
  57. Removing gambas3-gb-option (3.1.1-2.2ubuntu4) ...
  58. Removing gambas3-gb-pcre (3.1.1-2.2ubuntu4) ...
  59. Removing gambas3-gb-pdf (3.1.1-2.2ubuntu4) ...
  60. Removing gambas3-gb-qt4-webkit (3.1.1-2.2ubuntu4) ...
  61. Removing gambas3-gb-qt4-opengl (3.1.1-2.2ubuntu4) ...
  62. Removing gambas3-gb-sdl-sound (3.1.1-2.2ubuntu4) ...
  63. Removing gambas3-gb-sdl (3.1.1-2.2ubuntu4) ...
  64. Removing gambas3-gb-v4l (3.1.1-2.2ubuntu4) ...
  65. Removing gambas3-gb-vb (3.1.1-2.2ubuntu4) ...
  66. Removing gambas3-gb-web (3.1.1-2.2ubuntu4) ...
  67. Removing gambas3-gb-xml-xslt (3.1.1-2.2ubuntu4) ...
  68. Removing gambas3-gb-xml-rpc (3.1.1-2.2ubuntu4) ...
  69. Removing gambas3-gb-xml (3.1.1-2.2ubuntu4) ...
  70. Removing libctemplate2 (2.2-4ubuntu3) ...
  71. Removing libglew1.10:amd64 (1.10.0-3) ...
  72. Removing libgtkmm-2.4-1c2a:amd64 (1:2.24.4-1ubuntu1) ...
  73. Removing libimlib2 (1.4.6-2) ...
  74. Removing libid3tag0 (0.15.1b-10ubuntu1) ...
  75. Removing liblua5.1-0:amd64 (5.1.5-5ubuntu0.1) ...
  76. Removing libpq5 (9.3.6-0ubuntu0.14.04) ...
  77. Removing libterm-readkey-perl (2.31-1) ...
  78. Removing libtinyxml2.6.2:amd64 (2.6.2-2) ...
  79. Removing libvsqlitepp3:amd64 (0.3.12-1ubuntu1) ...
  80. Removing mysql-client-core-5.5 (5.5.41-0ubuntu0.14.04.1) ...
  81. Removing mysql-utilities (1.3.5-2) ...
  82. Removing mysql-workbench-data (6.0.8+dfsg-2) ...
  83. Removing python-mysql.connector (1.1.6-1) ...
  84. Removing python-pyodbc (3.0.6-2) ...
  85. Removing python-pysqlite2 (2.6.3-3) ...
  86. Removing gambas3-gb-db (3.1.1-2.2ubuntu4) ...
  87. Removing gambas3-gb-form (3.1.1-2.2ubuntu4) ...
  88. Removing gambas3-gb-gui (3.1.1-2.2ubuntu4) ...
  89. Removing gambas3-gb-gtk (3.1.1-2.2ubuntu4) ...
  90. Removing gambas3-gb-image (3.1.1-2.2ubuntu4) ...
  91. Removing gambas3-gb-qt4-ext (3.1.1-2.2ubuntu4) ...
  92. Removing gambas3-gb-settings (3.1.1-2.2ubuntu4) ...
  93. Removing gambas3-gb-qt4 (3.1.1-2.2ubuntu4) ...
  94. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  95. Processing triggers for hicolor-icon-theme (0.13-1) ...
  96. Processing triggers for mime-support (3.54ubuntu1.1) ...
  97. Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
  98. Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
  99. Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
  100. root@laptop:~# dpkg -l | grep mysq
  101. rc  mysql-common-5.6                          5.6.19-0ubuntu0.14.04.1                             all          MySQL 5.6 specific common files, e.g. /etc/mysql/conf.d/my-5.6.cnf
  102. root@laptop:~# apt-get remove mysql-common-5.6
  103. Reading package lists... Done
  104. Building dependency tree      
  105. Reading state information... Done
  106. Package 'mysql-common-5.6' is not installed, so not removed
  107. 0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
  108. root@laptop:~# dpkg -l | grep mysq
  109. rc  mysql-common-5.6                          5.6.19-0ubuntu0.14.04.1                             all          MySQL 5.6 specific common files, e.g. /etc/mysql/conf.d/my-5.6.cnf
  110. root@laptop:~# apt-get purge mysql-common-5.6
  111. Reading package lists... Done
  112. Building dependency tree      
  113. Reading state information... Done
  114. The following packages will be REMOVED:
  115.   mysql-common-5.6*
  116. 0 upgraded, 0 newly installed, 1 to remove and 15 not upgraded.
  117. After this operation, 0 B of additional disk space will be used.
  118. Do you want to continue? [Y/n] y
  119. (Reading database ... 260474 files and directories currently installed.)
  120. Removing mysql-common-5.6 (5.6.19-0ubuntu0.14.04.1) ...
  121. Purging configuration files for mysql-common-5.6 (5.6.19-0ubuntu0.14.04.1) ...
  122. dpkg: warning: while removing mysql-common-5.6, directory '/etc/mysql' not empty so not removed
  123. root@laptop:~# mc /etc
  124.  
  125. root@laptop:~# apt-get purge mysql-common-5.6
  126. Reading package lists... Done
  127. Building dependency tree      
  128. Reading state information... Done
  129. Package 'mysql-common-5.6' is not installed, so not removed
  130. 0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
  131. root@laptop:~# dpkg -l | grep mysq
  132. root@laptop:~# apt-get install mysql-server mysql-client mysql-workbench
  133. Reading package lists... Done
  134. Building dependency tree      
  135. Reading state information... Done
  136. The following extra packages will be installed:
  137.   libctemplate2 libdbd-mysql-perl libgtkmm-2.4-1c2a liblua5.1-0
  138.   libmysqlclient18 libmysqlcppconn7 libterm-readkey-perl libtinyxml2.6.2
  139.   libvsqlitepp3 mysql-client-5.5 mysql-client-core-5.5 mysql-common
  140.   mysql-server-5.5 mysql-server-core-5.5 mysql-utilities mysql-workbench-data
  141.   python-mysql.connector python-pyodbc python-pysqlite2
  142. Suggested packages:
  143.   tinyca mailx python-pysqlite2-doc python-pysqlite2-dbg
  144. The following NEW packages will be installed:
  145.   libctemplate2 libdbd-mysql-perl libgtkmm-2.4-1c2a liblua5.1-0
  146.   libmysqlclient18 libmysqlcppconn7 libterm-readkey-perl libtinyxml2.6.2
  147.   libvsqlitepp3 mysql-client mysql-client-5.5 mysql-client-core-5.5
  148.   mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
  149.   mysql-utilities mysql-workbench mysql-workbench-data python-mysql.connector
  150.   python-pyodbc python-pysqlite2
  151. 0 upgraded, 22 newly installed, 0 to remove and 15 not upgraded.
  152. Need to get 18.3 MB of archives.
  153. After this operation, 180 MB of additional disk space will be used.
  154. Do you want to continue? [Y/n] y
  155. Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libgtkmm-2.4-1c2a amd64 1:2.24.4-1ubuntu1 [655 kB]
  156. Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main liblua5.1-0 amd64 5.1.5-5ubuntu0.1 [99.9 kB]
  157. Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.41-0ubuntu0.14.04.1 [14.1 kB]
  158. Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.41-0ubuntu0.14.04.1 [595 kB]
  159. Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libtinyxml2.6.2 amd64 2.6.2-2 [35.0 kB]
  160. Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libvsqlitepp3 amd64 0.3.12-1ubuntu1 [44.2 kB]
  161. Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/main libdbd-mysql-perl amd64 4.025-1 [99.3 kB]
  162. Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]
  163. Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 amd64 5.5.41-0ubuntu0.14.04.1 [710 kB]
  164. Get:10 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 amd64 5.5.41-0ubuntu0.14.04.1 [1,592 kB]
  165. Get:11 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-core-5.5 amd64 5.5.41-0ubuntu0.14.04.1 [3,207 kB]
  166. Get:12 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-5.5 amd64 5.5.41-0ubuntu0.14.04.1 [1,744 kB]
  167. Get:13 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libctemplate2 amd64 2.2-4ubuntu3 [136 kB]
  168. Get:14 http://us.archive.ubuntu.com/ubuntu/ trusty/main libmysqlcppconn7 amd64 1.1.3-5 [292 kB]
  169. Get:15 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client all 5.5.41-0ubuntu0.14.04.1 [12.3 kB]
  170. Get:16 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server all 5.5.41-0ubuntu0.14.04.1 [12.4 kB]
  171. Get:17 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-mysql.connector all 1.1.6-1 [67.2 kB]
  172. Get:18 http://us.archive.ubuntu.com/ubuntu/ trusty/universe mysql-utilities all 1.3.5-2 [306 kB]
  173. Get:19 http://us.archive.ubuntu.com/ubuntu/ trusty/universe mysql-workbench-data all 6.0.8+dfsg-2 [1,149 kB]
  174. Get:20 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-pyodbc amd64 3.0.6-2 [51.4 kB]
  175. Get:21 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-pysqlite2 amd64 2.6.3-3 [36.4 kB]
  176. Get:22 http://us.archive.ubuntu.com/ubuntu/ trusty/universe mysql-workbench amd64 6.0.8+dfsg-2 [7,449 kB]
  177. Fetched 18.3 MB in 3s (5,184 kB/s)            
  178. Preconfiguring packages ...
  179. Selecting previously unselected package libgtkmm-2.4-1c2a:amd64.
  180. (Reading database ... 260472 files and directories currently installed.)
  181. Preparing to unpack .../libgtkmm-2.4-1c2a_1%3a2.24.4-1ubuntu1_amd64.deb ...
  182. Unpacking libgtkmm-2.4-1c2a:amd64 (1:2.24.4-1ubuntu1) ...
  183. Selecting previously unselected package liblua5.1-0:amd64.
  184. Preparing to unpack .../liblua5.1-0_5.1.5-5ubuntu0.1_amd64.deb ...
  185. Unpacking liblua5.1-0:amd64 (5.1.5-5ubuntu0.1) ...
  186. Selecting previously unselected package mysql-common.
  187. Preparing to unpack .../mysql-common_5.5.41-0ubuntu0.14.04.1_all.deb ...
  188. Unpacking mysql-common (5.5.41-0ubuntu0.14.04.1) ...
  189. Selecting previously unselected package libmysqlclient18:amd64.
  190. Preparing to unpack .../libmysqlclient18_5.5.41-0ubuntu0.14.04.1_amd64.deb ...
  191. Unpacking libmysqlclient18:amd64 (5.5.41-0ubuntu0.14.04.1) ...
  192. Selecting previously unselected package libtinyxml2.6.2:amd64.
  193. Preparing to unpack .../libtinyxml2.6.2_2.6.2-2_amd64.deb ...
  194. Unpacking libtinyxml2.6.2:amd64 (2.6.2-2) ...
  195. Selecting previously unselected package libvsqlitepp3:amd64.
  196. Preparing to unpack .../libvsqlitepp3_0.3.12-1ubuntu1_amd64.deb ...
  197. Unpacking libvsqlitepp3:amd64 (0.3.12-1ubuntu1) ...
  198. Selecting previously unselected package libdbd-mysql-perl.
  199. Preparing to unpack .../libdbd-mysql-perl_4.025-1_amd64.deb ...
  200. Unpacking libdbd-mysql-perl (4.025-1) ...
  201. Selecting previously unselected package libterm-readkey-perl.
  202. Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
  203. Unpacking libterm-readkey-perl (2.31-1) ...
  204. Selecting previously unselected package mysql-client-core-5.5.
  205. Preparing to unpack .../mysql-client-core-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb ...
  206. Unpacking mysql-client-core-5.5 (5.5.41-0ubuntu0.14.04.1) ...
  207. Selecting previously unselected package mysql-client-5.5.
  208. Preparing to unpack .../mysql-client-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb ...
  209. Unpacking mysql-client-5.5 (5.5.41-0ubuntu0.14.04.1) ...
  210. Selecting previously unselected package mysql-server-core-5.5.
  211. Preparing to unpack .../mysql-server-core-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb ...
  212. Unpacking mysql-server-core-5.5 (5.5.41-0ubuntu0.14.04.1) ...
  213. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  214. Setting up mysql-common (5.5.41-0ubuntu0.14.04.1) ...
  215. (Reading database ... 260701 files and directories currently installed.)
  216. Preparing to unpack .../mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb ...
  217. Aborting downgrade from (at least) 5.6 to 5.5.
  218. If are sure you want to downgrade to 5.5, remove the file
  219. /var/lib/mysql/debian-*.flag and try installing again.
  220. dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb (--unpack):
  221.  subprocess new pre-installation script returned error exit status 1
  222. Selecting previously unselected package libctemplate2.
  223. Preparing to unpack .../libctemplate2_2.2-4ubuntu3_amd64.deb ...
  224. Unpacking libctemplate2 (2.2-4ubuntu3) ...
  225. Selecting previously unselected package libmysqlcppconn7.
  226. Preparing to unpack .../libmysqlcppconn7_1.1.3-5_amd64.deb ...
  227. Unpacking libmysqlcppconn7 (1.1.3-5) ...
  228. Selecting previously unselected package mysql-client.
  229. Preparing to unpack .../mysql-client_5.5.41-0ubuntu0.14.04.1_all.deb ...
  230. Unpacking mysql-client (5.5.41-0ubuntu0.14.04.1) ...
  231. Selecting previously unselected package mysql-server.
  232. Preparing to unpack .../mysql-server_5.5.41-0ubuntu0.14.04.1_all.deb ...
  233. Unpacking mysql-server (5.5.41-0ubuntu0.14.04.1) ...
  234. Selecting previously unselected package python-mysql.connector.
  235. Preparing to unpack .../python-mysql.connector_1.1.6-1_all.deb ...
  236. Unpacking python-mysql.connector (1.1.6-1) ...
  237. Selecting previously unselected package mysql-utilities.
  238. Preparing to unpack .../mysql-utilities_1.3.5-2_all.deb ...
  239. Unpacking mysql-utilities (1.3.5-2) ...
  240. Selecting previously unselected package mysql-workbench-data.
  241. Preparing to unpack .../mysql-workbench-data_6.0.8+dfsg-2_all.deb ...
  242. Unpacking mysql-workbench-data (6.0.8+dfsg-2) ...
  243. Selecting previously unselected package python-pyodbc.
  244. Preparing to unpack .../python-pyodbc_3.0.6-2_amd64.deb ...
  245. Unpacking python-pyodbc (3.0.6-2) ...
  246. Selecting previously unselected package python-pysqlite2.
  247. Preparing to unpack .../python-pysqlite2_2.6.3-3_amd64.deb ...
  248. Unpacking python-pysqlite2 (2.6.3-3) ...
  249. Selecting previously unselected package mysql-workbench.
  250. Preparing to unpack .../mysql-workbench_6.0.8+dfsg-2_amd64.deb ...
  251. Unpacking mysql-workbench (6.0.8+dfsg-2) ...
  252. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  253. Processing triggers for hicolor-icon-theme (0.13-1) ...
  254. Processing triggers for mime-support (3.54ubuntu1.1) ...
  255. Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
  256. Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
  257. Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
  258. Unknown media type in type 'all/all'
  259. Unknown media type in type 'all/allfiles'
  260. Unknown media type in type 'uri/mms'
  261. Unknown media type in type 'uri/mmst'
  262. Unknown media type in type 'uri/mmsu'
  263. Unknown media type in type 'uri/pnm'
  264. Unknown media type in type 'uri/rtspt'
  265. Unknown media type in type 'uri/rtspu'
  266. Errors were encountered while processing:
  267.  /var/cache/apt/archives/mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb
  268. E: Sub-process /usr/bin/dpkg returned an error code (1)
  269. root@laptop:~# netstat -naelp |grep :3306
  270. root@laptop:~# dir /etc/init.d
  271. acpid           brltty         ferm               kerneloops  procps      rsync           single             umountfs
  272. anacron         console-setup  friendly-recovery  killprocs   pulseaudio  rsyslog         skeleton           umountnfs.sh
  273. apparmor        cron           gdm                kmod        rc          samba           smbd               umountroot
  274. apport          cups           gdomap             lm-sensors  rc.local    samba-ad-dc     spamassassin       unattended-upgrades
  275. atd             cups-browsed   grub-common        networking  rcS         saned           speech-dispatcher  urandom
  276. avahi-daemon    dbus           halt               nmbd        README      screen-cleanup  ssh                virtualbox
  277. binfmt-support  dns-clean      hddtemp            ondemand    reboot      sendsigs        sudo               winbind
  278. bluetooth       etc-setserial  irqbalance         pppd-dns    resolvconf  setserial       udev               x11-common
  279. root@laptop:~# apt-get install mysql-server mysql-client mysql-workbench^C
  280. root@laptop:~# dpkg -l | grep mysq
  281. iU  libdbd-mysql-perl                         4.025-1                                             amd64        Perl5 database interface to the MySQL database
  282. iU  libmysqlclient18:amd64                    5.5.41-0ubuntu0.14.04.1                             amd64        MySQL database client library
  283. iU  libmysqlcppconn7                          1.1.3-5                                             amd64        MySQL Connector for C++ (library)
  284. iU  mysql-client                              5.5.41-0ubuntu0.14.04.1                             all          MySQL database client (metapackage depending on the latest version)
  285. iU  mysql-client-5.5                          5.5.41-0ubuntu0.14.04.1                             amd64        MySQL database client binaries
  286. iU  mysql-client-core-5.5                     5.5.41-0ubuntu0.14.04.1                             amd64        MySQL database core client binaries
  287. ii  mysql-common                              5.5.41-0ubuntu0.14.04.1                             all          MySQL database common files, e.g. /etc/mysql/my.cnf
  288. iU  mysql-server                              5.5.41-0ubuntu0.14.04.1                             all          MySQL database server (metapackage depending on the latest version)
  289. iU  mysql-server-core-5.5                     5.5.41-0ubuntu0.14.04.1                             amd64        MySQL database server binaries
  290. iU  mysql-utilities                           1.3.5-2                                             all          collection of scripts for managing MySQL servers
  291. iU  mysql-workbench                           6.0.8+dfsg-2                                        amd64        MySQL Workbench - a visual database modeling, administration and queuing tool
  292. iU  mysql-workbench-data                      6.0.8+dfsg-2                                        all          MySQL Workbench -- architecture independent data
  293. iU  python-mysql.connector                    1.1.6-1                                             all          pure Python implementation of MySQL Client/Server protocol
  294. root@laptop:~# mysql
  295. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
  296. root@laptop:~# dir /etc/init.d
  297. acpid           brltty         ferm               kerneloops  procps      rsync           single             umountfs
  298. anacron         console-setup  friendly-recovery  killprocs   pulseaudio  rsyslog         skeleton           umountnfs.sh
  299. apparmor        cron           gdm                kmod        rc          samba           smbd               umountroot
  300. apport          cups           gdomap             lm-sensors  rc.local    samba-ad-dc     spamassassin       unattended-upgrades
  301. atd             cups-browsed   grub-common        networking  rcS         saned           speech-dispatcher  urandom
  302. avahi-daemon    dbus           halt               nmbd        README      screen-cleanup  ssh                virtualbox
  303. binfmt-support  dns-clean      hddtemp            ondemand    reboot      sendsigs        sudo               winbind
  304. bluetooth       etc-setserial  irqbalance         pppd-dns    resolvconf  setserial       udev               x11-common
  305. root@laptop:~# apt-get install mysql-server mysql-client mysql-workbench
  306. Reading package lists... Done
  307. Building dependency tree... 50%
  308.  
  309. Building dependency tree      
  310. Reading state information... Done
  311.  
  312. mysql-workbench is already the newest version.
  313. mysql-client is already the newest version.
  314. mysql-server is already the newest version.
  315. You might want to run 'apt-get -f install' to correct these:
  316. The following packages have unmet dependencies:
  317.  mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
  318.  
  319. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  320. root@laptop:~#
  321. root@laptop:~#
  322. root@laptop:~#
  323. root@laptop:~#
  324. root@laptop:~#
  325. root@laptop:~#
  326. root@laptop:~#
  327. root@laptop:~#
  328. root@laptop:~#
  329. root@laptop:~#
  330. root@laptop:~# apt-get -f install
  331. Reading package lists... Done
  332. Building dependency tree      
  333. Reading state information... Done
  334. Correcting dependencies... Done
  335. The following extra packages will be installed:
  336.   mysql-server-5.5
  337. Suggested packages:
  338.   tinyca mailx
  339. The following NEW packages will be installed:
  340.   mysql-server-5.5
  341. 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
  342. 20 not fully installed or removed.
  343. Need to get 0 B/1,744 kB of archives.
  344. After this operation, 32.7 MB of additional disk space will be used.
  345. Do you want to continue? [Y/n] y
  346. Preconfiguring packages ...
  347. (Reading database ... 261850 files and directories currently installed.)
  348. Preparing to unpack .../mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb ...
  349. Aborting downgrade from (at least) 5.6 to 5.5.
  350. If are sure you want to downgrade to 5.5, remove the file
  351. /var/lib/mysql/debian-*.flag and try installing again.
  352. dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb (--unpack):
  353.  subprocess new pre-installation script returned error exit status 1
  354. Errors were encountered while processing:
  355.  /var/cache/apt/archives/mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb
  356. E: Sub-process /usr/bin/dpkg returned an error code (1)
  357. root@laptop:~#
  358. root@laptop:~#
  359. root@laptop:~#
  360. root@laptop:~#
  361. root@laptop:~#
  362. root@laptop:~#
  363. root@laptop:~#
  364. root@laptop:~#
  365. root@laptop:~#
  366. root@laptop:~#
  367. root@laptop:~#
  368. root@laptop:~#
  369. root@laptop:~#
  370. root@laptop:~# apt-get install mysql-server mysql-client mysql-workbench
  371. Reading package lists... Done
  372. Building dependency tree      
  373. Reading state information... Done
  374. mysql-workbench is already the newest version.
  375. mysql-client is already the newest version.
  376. mysql-server is already the newest version.
  377. You might want to run 'apt-get -f install' to correct these:
  378. The following packages have unmet dependencies:
  379.  mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
  380. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  381. root@laptop:~# apt-get -f remove
  382. Reading package lists... Done
  383. Building dependency tree      
  384. Reading state information... Done
  385. Correcting dependencies... Done
  386. The following extra packages will be installed:
  387.   mysql-server-5.5
  388. Suggested packages:
  389.   tinyca mailx
  390. The following NEW packages will be installed:
  391.   mysql-server-5.5
  392. 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
  393. 20 not fully installed or removed.
  394. Need to get 0 B/1,744 kB of archives.
  395. After this operation, 32.7 MB of additional disk space will be used.
  396. Do you want to continue? [Y/n] y
  397. Preconfiguring packages ...
  398. (Reading database ... 261850 files and directories currently installed.)
  399. Preparing to unpack .../mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb ...
  400. Aborting downgrade from (at least) 5.6 to 5.5.
  401. If are sure you want to downgrade to 5.5, remove the file
  402. /var/lib/mysql/debian-*.flag and try installing again.
  403. dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb (--unpack):
  404.  subprocess new pre-installation script returned error exit status 1
  405. Errors were encountered while processing:
  406.  /var/cache/apt/archives/mysql-server-5.5_5.5.41-0ubuntu0.14.04.1_amd64.deb
  407. E: Sub-process /usr/bin/dpkg returned an error code (1)
  408. root@laptop:~#
  409. root@laptop:~#
  410. root@laptop:~#
  411. root@laptop:~#
  412. root@laptop:~#
  413. root@laptop:~# apt-get update
  414. Ign http://security.ubuntu.com trusty-security InRelease
  415. Ign http://us.archive.ubuntu.com trusty InRelease
  416. Ign http://us.archive.ubuntu.com trusty-updates InRelease
  417. Hit http://security.ubuntu.com trusty-security Release.gpg
  418. Ign http://us.archive.ubuntu.com trusty-backports InRelease
  419. Hit http://security.ubuntu.com trusty-security Release
  420. Hit http://us.archive.ubuntu.com trusty Release.gpg
  421. Get:1 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]
  422. Hit http://security.ubuntu.com trusty-security/main Sources
  423. Hit http://us.archive.ubuntu.com trusty-backports Release.gpg  
  424. Hit http://security.ubuntu.com trusty-security/restricted Sources
  425. Hit http://us.archive.ubuntu.com trusty Release                  
  426. Hit http://security.ubuntu.com trusty-security/universe Sources        
  427. Get:2 http://us.archive.ubuntu.com trusty-updates Release [62.0 kB]
  428. Hit http://security.ubuntu.com trusty-security/multiverse Sources
  429. Hit http://security.ubuntu.com trusty-security/main amd64 Packages
  430. Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages    
  431. Hit http://security.ubuntu.com trusty-security/universe amd64 Packages        
  432. Hit http://us.archive.ubuntu.com trusty-backports Release          
  433. Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages      
  434. Hit http://us.archive.ubuntu.com trusty/main Sources                          
  435. Hit http://security.ubuntu.com trusty-security/main i386 Packages  
  436. Hit http://us.archive.ubuntu.com trusty/restricted Sources        
  437. Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
  438. Hit http://us.archive.ubuntu.com trusty/universe Sources          
  439. Hit http://security.ubuntu.com trusty-security/universe i386 Packages
  440. Hit http://us.archive.ubuntu.com trusty/multiverse Sources        
  441. Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
  442. Hit http://us.archive.ubuntu.com trusty/main amd64 Packages        
  443. Hit http://security.ubuntu.com trusty-security/main Translation-en
  444. Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages  
  445. Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
  446. Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages    
  447. Hit http://security.ubuntu.com trusty-security/restricted Translation-en
  448. Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages  
  449. Hit http://us.archive.ubuntu.com trusty/main i386 Packages          
  450. Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages    
  451. Hit http://security.ubuntu.com trusty-security/universe Translation-en
  452. Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
  453. Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
  454. Hit http://us.archive.ubuntu.com trusty/main Translation-en
  455. Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
  456. Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
  457. Hit http://us.archive.ubuntu.com trusty/universe Translation-en
  458. Get:3 http://us.archive.ubuntu.com trusty-updates/main Sources [179 kB]
  459. Get:4 http://us.archive.ubuntu.com trusty-updates/restricted Sources [2,061 B]
  460. Get:5 http://us.archive.ubuntu.com trusty-updates/universe Sources [103 kB]
  461. Get:6 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [4,463 B]
  462. Get:7 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [439 kB]
  463. Get:8 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [8,875 B]
  464. Get:9 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [251 kB]
  465. Get:10 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [11.2 kB]
  466. Get:11 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [429 kB]
  467. Get:12 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [8,846 B]
  468. Get:13 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [252 kB]
  469. Get:14 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [11.3 kB]
  470. Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en            
  471. Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
  472. Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
  473. Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
  474. Hit http://us.archive.ubuntu.com trusty-backports/main Sources        
  475. Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources        
  476. Hit http://us.archive.ubuntu.com trusty-backports/universe Sources          
  477. Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources        
  478. Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages      
  479. Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages
  480. Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages
  481. Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
  482. Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
  483. Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
  484. Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
  485. Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
  486. Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
  487. Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
  488. Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
  489. Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
  490. Ign http://us.archive.ubuntu.com trusty/main Translation-en_US      
  491. Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
  492. Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
  493. Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
  494. Fetched 1,762 kB in 5s (345 kB/s)
  495. Reading package lists... Done
  496. root@laptop:~#
RAW Paste Data
Top