2013. január 18., péntek

apt-get install mysql-server ?!

Mostanában két helyen is belefutottam ugyanebbe... Valami nem jó, le akarom pucolni az egészet, de a fura dependencyk miatt se le, se fel..... ubuntu 11.04 és debian 5 dettó. Ezt most már ideírom.
GRRRRRR

apt-get remove mysql-server..
[...]
root@webtarif:/etc# apt-get install mysql-server
[....]
Processing triggers for ureadahead ...
Setting up libnet-daemon-perl (0.43-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.612-1) ...
Setting up libdbd-mysql-perl (4.016-1) ...
Setting up mysql-client-core-5.1 (5.1.63-0ubuntu0.11.04.1) ...
Setting up mysql-client-5.1 (5.1.63-0ubuntu0.11.04.1) ...
Setting up mysql-server-core-5.1 (5.1.63-0ubuntu0.11.04.1) ...
Setting up mysql-server-5.1 (5.1.63-0ubuntu0.11.04.1) ...
130118 13:40:56 [Note] Plugin 'FEDERATED' is disabled.
130118 13:40:56  InnoDB: Initializing buffer pool, size = 8.0M
130118 13:40:56  InnoDB: Completed initialization of buffer pool
130118 13:40:56  InnoDB: Started; log sequence number 0 44233
130118 13:40:56  InnoDB: Starting shutdown...
130118 13:41:01  InnoDB: Shutdown completed; log sequence number 0 44233
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libhtml-template-perl (2.9-2) ...
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.1; however:
  Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 mysql-server-5.1
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@webtarif:/etc# apt-get install libhtml-template-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libhtml-template-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up mysql-server-5.1 (5.1.63-0ubuntu0.11.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.1; however:
  Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 mysql-server-5.1
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@webtarif:/etc# apt-get install mysql-server-5.1 --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server-5.1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up mysql-server-5.1 (5.1.63-0ubuntu0.11.04.1) ...
130118 13:42:59 [Note] Plugin 'FEDERATED' is disabled.
130118 13:42:59  InnoDB: Initializing buffer pool, size = 8.0M
130118 13:42:59  InnoDB: Completed initialization of buffer pool
130118 13:42:59  InnoDB: Started; log sequence number 0 44233
130118 13:42:59  InnoDB: Starting shutdown...
130118 13:43:04  InnoDB: Shutdown completed; log sequence number 0 44233
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.1; however:
  Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 mysql-server-5.1
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@webtarif:/etc# apt-get remove mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  mysql-server
0 upgraded, 0 newly installed, 1 to remove and 76 not upgraded.
2 not fully installed or removed.
After this operation, 94.2 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 58225 files and directories currently installed.)
Removing mysql-server ...
Setting up mysql-server-5.1 (5.1.63-0ubuntu0.11.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.1
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@webtarif:/etc# apt-get remove mysql-server-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  mysql-server-5.1
0 upgraded, 0 newly installed, 1 to remove and 76 not upgraded.
1 not fully installed or removed.
After this operation, 13.5 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 58222 files and directories currently installed.)
Removing mysql-server-5.1 ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...

root@webtarif:/etc# dpkg -l|grep mysql
ii  libdbd-mysql-perl                  4.016-1                            Perl5 database interface to the MySQL database
ii  libmysqlclient-dev                 5.1.63-0ubuntu0.11.04.1            MySQL database development files
ii  libmysqlclient16                   5.1.63-0ubuntu0.11.04.1            MySQL database client library
ii  mysql-admin                        5.0r14+openSUSE-2.2ubuntu1         GUI tool for intuitive MySQL administration
ii  mysql-client-5.1                   5.1.63-0ubuntu0.11.04.1            MySQL database client binaries
ii  mysql-client-core-5.1              5.1.63-0ubuntu0.11.04.1            MySQL database core client binaries
ii  mysql-common                       5.1.63-0ubuntu0.11.04.1            MySQL database common files, e.g. /etc/mysql/my.cnf
ii  mysql-gui-tools-common             5.0r14+openSUSE-2.2ubuntu1         Architecture independent files for MySQL GUI Tools
ii  mysql-query-browser                5.0r14+openSUSE-2.2ubuntu1         Official GUI tool to query MySQL database
rc  mysql-server-5.1                   5.1.63-0ubuntu0.11.04.1            MySQL database server binaries and system database setup
ii  mysql-server-core-5.1              5.1.63-0ubuntu0.11.04.1            MySQL database server binaries

root@webtarif:/etc# apt-get remove mysql-server-core-5.1 mysql-common mysql-admin mysql-client-5.1 mysql-client-core-5.1 --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  policykit-1-gnome libplist1 aspell-en libgtk2.0-common libatk1.0-0 libtalloc2 libcdio10 libxfixes3 libenchant1c2a libgnomevfs2-0 libatasmart4 libgail18
  libarchive1 libntfs10 libgphoto2-port0 libgnome2-0 gamin aspell usbmuxd libindicator3 obex-data-server indicator-application libvorbisfile3
  libgnome-keyring0 libdbusmenu-glib3 libavahi-common-data udisks glib-networking libproxy0 libtdb1 hunspell-en-us mysql-gui-tools-common gconf2
  libusb-1.0-0 libgvfscommon0 policykit-1 mtools libsoup2.4-1 libgphoto2-2 liblvm2app2.2 hicolor-icon-theme libsmbclient libgamin0 libdatrie1 fontconfig
  libcairomm-1.0-1 libxfont1 libgconf2-4 libglibmm-2.4-1c2a libatkmm-1.6-1 libgnome2-common libcdio-cdda0 libhunspell-1.2-0 libpango1.0-0 libcups2 libgdu0
  libpangomm-1.4-1 libgtk2.0-bin libxft2 libdbusmenu-gtk3 dictionaries-common libxcomposite1 libthai0 libpython2.7 libidl0 libgtkmm-2.4-1c2a
  libimobiledevice2 libgudev-1.0-0 libbonobo2-0 libglade2-0 libbluetooth3 zlib1g-dev libasound2 libatk1.0-data libjson-glib-1.0-0 libwbclient0
  libdevmapper-event1.02.1 libsoup-gnome2.4-1 gconf2-common libappindicator1 libtiff4 libfontenc1 libjasper1 ntfsprogs libjpeg62 libusbmuxd1 xfonts-utils
  libcdio-paranoia0 libcanberra0 libthai-data libgdk-pixbuf2.0-0 gnome-mime-data libavahi-client3 liborbit2 libpolkit-backend-1-0 x11-common
  libbonobo2-common libsgutils2-2 libavahi-glib1 libxdamage1 gvfs gvfs-backends libexif12 dbus-x11 libxi6 libvorbis0a libxcursor1 xfonts-encodings
  libavahi-common3 libxinerama1 defoma libxrandr2 x-ttcidfont-conf libaspell15 libgtk2.0-0 libgtkhtml3.14-19 libpolkit-agent-1-0 libopenobex1
  libgnomevfs2-common libogg0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libdbd-mysql-perl* libmysqlclient-dev* libmysqlclient16* mysql-admin* mysql-client-5.1* mysql-client-core-5.1* mysql-common* mysql-query-browser*
  mysql-server-core-5.1*
0 upgraded, 0 newly installed, 9 to remove and 76 not upgraded.
After this operation, 56.0 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 58155 files and directories currently installed.)
Removing mysql-client-5.1 ...
Removing libdbd-mysql-perl ...
Removing libmysqlclient-dev ...
Removing mysql-server-core-5.1 ...
Removing mysql-client-core-5.1 ...
Removing mysql-query-browser ...
Purging configuration files for mysql-query-browser ...
Removing mysql-admin ...
Purging configuration files for mysql-admin ...
Removing libmysqlclient16 ...
Purging configuration files for libmysqlclient16 ...
Removing mysql-common ...
Purging configuration files for mysql-common ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

root@webtarif:/etc# dpkg -l|grep mysql
ii  mysql-gui-tools-common             5.0r14+openSUSE-2.2ubuntu1         Architecture independent files for MySQL GUI Tools
rc  mysql-server-5.1                   5.1.63-0ubuntu0.11.04.1            MySQL database server binaries and system database setup
root@webtarif:/etc# apt-get remove mysql-server-5.1 --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  policykit-1-gnome libplist1 aspell-en libgtk2.0-common libatk1.0-0 libtalloc2 libcdio10 libxfixes3 libenchant1c2a libgnomevfs2-0 libatasmart4 libgail18
  libarchive1 libntfs10 libgphoto2-port0 libgnome2-0 gamin aspell usbmuxd libindicator3 obex-data-server indicator-application libvorbisfile3
  libgnome-keyring0 libdbusmenu-glib3 libavahi-common-data udisks glib-networking libproxy0 libtdb1 hunspell-en-us mysql-gui-tools-common gconf2
  libusb-1.0-0 libgvfscommon0 policykit-1 mtools libsoup2.4-1 libgphoto2-2 liblvm2app2.2 hicolor-icon-theme libsmbclient libgamin0 libdatrie1 fontconfig
  libcairomm-1.0-1 libxfont1 libgconf2-4 libglibmm-2.4-1c2a libatkmm-1.6-1 libgnome2-common libcdio-cdda0 libhunspell-1.2-0 libpango1.0-0 libcups2 libgdu0
  libpangomm-1.4-1 libgtk2.0-bin libxft2 libdbusmenu-gtk3 dictionaries-common libxcomposite1 libthai0 libpython2.7 libidl0 libgtkmm-2.4-1c2a
  libimobiledevice2 libgudev-1.0-0 libbonobo2-0 libglade2-0 libbluetooth3 zlib1g-dev libasound2 libatk1.0-data libjson-glib-1.0-0 libwbclient0
  libdevmapper-event1.02.1 libsoup-gnome2.4-1 gconf2-common libappindicator1 libtiff4 libfontenc1 libjasper1 ntfsprogs libjpeg62 libusbmuxd1 xfonts-utils
  libcdio-paranoia0 libcanberra0 libthai-data libgdk-pixbuf2.0-0 gnome-mime-data libavahi-client3 liborbit2 libpolkit-backend-1-0 x11-common
  libbonobo2-common libsgutils2-2 libavahi-glib1 libxdamage1 gvfs gvfs-backends libexif12 dbus-x11 libxi6 libvorbis0a libxcursor1 xfonts-encodings
  libavahi-common3 libxinerama1 defoma libxrandr2 x-ttcidfont-conf libaspell15 libgtk2.0-0 libgtkhtml3.14-19 libpolkit-agent-1-0 libopenobex1
  libgnomevfs2-common libogg0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  mysql-server-5.1*
0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.

root@webtarif:/etc# dpkg -l|grep mysql
ii  mysql-gui-tools-common             5.0r14+openSUSE-2.2ubuntu1         Architecture independent files for MySQL GUI Tools
rc  mysql-server-5.1                   5.1.63-0ubuntu0.11.04.1            MySQL database server binaries and system database setup

root@webtarif:/etc# apt-get install mysql-server-5.1 mysql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  policykit-1-gnome libplist1 aspell-en libgtk2.0-common libatk1.0-0 libtalloc2 libcdio10 libxfixes3 libenchant1c2a libgnomevfs2-0 libatasmart4 libgail18
  libarchive1 libntfs10 libgphoto2-port0 libgnome2-0 gamin aspell usbmuxd libindicator3 obex-data-server indicator-application libvorbisfile3
  libgnome-keyring0 libdbusmenu-glib3 libavahi-common-data udisks glib-networking libproxy0 libtdb1 hunspell-en-us mysql-gui-tools-common gconf2
  libusb-1.0-0 libgvfscommon0 policykit-1 mtools libsoup2.4-1 libgphoto2-2 liblvm2app2.2 hicolor-icon-theme libsmbclient libgamin0 libdatrie1 fontconfig
  libcairomm-1.0-1 libxfont1 libgconf2-4 libglibmm-2.4-1c2a libatkmm-1.6-1 libgnome2-common libcdio-cdda0 libhunspell-1.2-0 libpango1.0-0 libcups2 libgdu0
  libpangomm-1.4-1 libgtk2.0-bin libxft2 libdbusmenu-gtk3 dictionaries-common libxcomposite1 libthai0 libpython2.7 libidl0 libgtkmm-2.4-1c2a
  libimobiledevice2 libgudev-1.0-0 libbonobo2-0 libglade2-0 libbluetooth3 zlib1g-dev libasound2 libatk1.0-data libjson-glib-1.0-0 libwbclient0
  libdevmapper-event1.02.1 libsoup-gnome2.4-1 gconf2-common libappindicator1 libtiff4 libfontenc1 libjasper1 ntfsprogs libjpeg62 libusbmuxd1 xfonts-utils
  libcdio-paranoia0 libcanberra0 libthai-data libgdk-pixbuf2.0-0 gnome-mime-data libavahi-client3 liborbit2 libpolkit-backend-1-0 x11-common
  libbonobo2-common libsgutils2-2 libavahi-glib1 libxdamage1 gvfs gvfs-backends libexif12 dbus-x11 libxi6 libvorbis0a libxcursor1 xfonts-encodings
  libavahi-common3 libxinerama1 defoma libxrandr2 x-ttcidfont-conf libaspell15 libgtk2.0-0 libgtkhtml3.14-19 libpolkit-agent-1-0 libopenobex1
  libgnomevfs2-common libogg0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libdbd-mysql-perl libmysqlclient16 mysql-client-5.1 mysql-client-core-5.1 mysql-server-core-5.1
Suggested packages:
  tinyca
The following NEW packages will be installed:
  libdbd-mysql-perl libmysqlclient16 mysql-client-5.1 mysql-client-core-5.1 mysql-common mysql-server-5.1 mysql-server-core-5.1
0 upgraded, 7 newly installed, 0 to remove and 76 not upgraded.
Need to get 0 B/21.5 MB of archives.
After this operation, 51.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 57552 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.1.63-0ubuntu0.11.04.1_all.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.63-0ubuntu0.11.04.1_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.016-1_i386.deb) ...
Selecting previously deselected package mysql-client-core-5.1.
Unpacking mysql-client-core-5.1 (from .../mysql-client-core-5.1_5.1.63-0ubuntu0.11.04.1_i386.deb) ...
Selecting previously deselected package mysql-client-5.1.
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.63-0ubuntu0.11.04.1_i386.deb) ...
Selecting previously deselected package mysql-server-core-5.1.
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.63-0ubuntu0.11.04.1_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.1.63-0ubuntu0.11.04.1) ...
Selecting previously deselected package mysql-server-5.1.
(Reading database ... 57747 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.63-0ubuntu0.11.04.1_i386.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up libmysqlclient16 (5.1.63-0ubuntu0.11.04.1) ...
Setting up libdbd-mysql-perl (4.016-1) ...
Setting up mysql-client-core-5.1 (5.1.63-0ubuntu0.11.04.1) ...
Setting up mysql-client-5.1 (5.1.63-0ubuntu0.11.04.1) ...
Setting up mysql-server-core-5.1 (5.1.63-0ubuntu0.11.04.1) ...
Setting up mysql-server-5.1 (5.1.63-0ubuntu0.11.04.1) ...
mysql start/running, process 22006
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place


Ennyi. Hogy b******

Nincsenek megjegyzések:

Megjegyzés küldése