Version 7 (modified by chris, 5 years ago) (diff) |
---|
This page is to document the upgrade of the DevelopmentServer and the NewLiveServer from Denian lenny to squeeze, this upgrade was tracked on ticket:301.
Following http://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en.html to upgrade kiwi.
sudo -i screen script -t 2>~/upgrade-squeeze1.time -a ~/upgrade-squeeze1.script
Existing state of packages was checked with apt and aptitude:
audacity # a dpkg --audit dpkg -l | pager dpkg --get-selections "*" > ~/curr-pkgs.txt
All the backup scripts were run via ninjahelper.
The following edit was done to /etc/apt/sources.list:
:1,$s/lenny/squeeze/
Then:
apt-get update apt-get upgrade ... The following packages have been kept back: apache2 apache2-mpm-prefork apache2.2-common apt apt-utils aptitude autoconf automake bash bind9-host binutils build-essential cpio cpp cpp-4.3 cron dbus debianutils dhcp3-client dhcp3-common diff djvulibre-desktop dnsutils dpkg dpkg-dev e2fsprogs ed findutils g++ g++-4.3 gcc gcc-4.3 gcc-4.3-base gettext ghostscript gnuit gnupg gpgv grep html2text hwinfo imagemagick info iproute iptables jed jed-common libapache2-mod-php5 libapache2-svn libaprutil1 libbluetooth-dev libc6 libc6-dev libcompress-raw-zlib-perl libcompress-zlib-perl libcups2 libcupsimage2 libcurl3 libcurl3-gnutls libdate-manip-perl libdbd-mysql-perl libdbi-perl libdevmapper1.02.1 libdigest-sha1-perl libdjvulibre21 libedit2 libffi-dev libffi5 libgcc1 libgdbm-dev libgdbm3 libglib2.0-0 libglib2.0-data libgomp1 libgs8 libgsf-1-114 libgtk2.0-0 libgtk2.0-bin libhtml-parser-perl libio-compress-base-perl libio-compress-zlib-perl libkrb53 liblocale-gettext-perl libmail-box-perl libneon27-gnutls libpam-modules libpam-runtime libpango1.0-0 libpq5 librrd4 librrds-perl librsvg2-2 libsasl2-2 libsqlite3-0 libstdc++6 libstdc++6-4.3-dev libsvn-perl libsvn1 libthai-data libthai0 libts-0.0-0 libx11-6 libx11-dev libxcb1 libxcb1-dev libxi6 locales lynx lynx-cur m4 man-db memcached munin munin-node mutt mysql-server nano ntp openssh-client openssh-server perl perl-base perl-modules php-apc php-pear php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imagick php5-mcrypt php5-memcache php5-mysql php5-suhosin phpmyadmin postfix python python-minimal python-pysqlite2 python-subversion python2.5 python2.5-minimal rdate readline-common rrdtool screen sed sqlite3 subversion sudo sysv-rc udev update-inetd util-linux util-linux-locales wget x11-utils xterm The following packages will be upgraded: adduser apache2-utils automake1.4 automake1.9 autotools-dev backupninja base-files base-passwd blt blt-dev bsd-mailx bsdmainutils bsdutils bzip2 ca-certificates coreutils curl db4.6-util dbus-x11 debconf debconf-i18n debconf-utils debhelper debian-archive-keyring defoma denyhosts dialog dmidecode e2fslibs esmtp file fontconfig fontconfig-config gawk gettext-base git git-core groff-base gs-common gsfonts gzip hdparm hicolor-icon-theme hostname ifupdown initscripts iputils-ping javascript-common joe less libacl1 libapr1 libatk1.0-0 libatk1.0-data libattr1 libblkid1 libbz2-1.0 libbz2-dev libcairo2 libcap2 libcomerr2 libconfig-inifiles-perl libconsole libcroco3 libcwidget3 libdb4.6 libdbus-1-3 libdigest-hmac-perl libdrm2 libesmtp5 libexpat1 libfile-remove-perl libfontconfig1 libfontenc1 libfreetype6 libgcrypt11 libgd2-xpm libgl1-mesa-glx libgmp3c2 libgnutls26 libgpg-error0 libgpm2 libgsf-1-common libgtk2.0-common libhal1 libhtml-template-perl libhtml-tree-perl libice-dev libice6 libidn11 libilmbase6 libio-multiplex-perl libjasper1 libjpeg62 libjs-jquery libkeyutils1 liblcms1 libldap-2.4-2 liblockfile1 libmagic-dev libmagic1 libmail-sendmail-perl libmailtools-perl libmcrypt4 libmime-lite-perl libmime-types-perl libncurses5 libncurses5-dev libncursesw5 libncursesw5-dev libnet-cidr-perl libnet-daemon-perl libnet-snmp-perl libnewt0.52 libobject-realize-later-perl libopenexr6 libpam0g libpango1.0-common libpaper-utils libpaper1 libpcre3 libpixman-1-0 libplrpc-perl libpng12-0 libpopt0 libpthread-stubs0 libpthread-stubs0-dev libreadline5 libreadline5-dev librsync1 libselinux1 libsepol1 libserf-0-0 libsigc++-2.0-0c2a libslang2 libsm-dev libsm6 libss2 libssh2-1 libssl-dev libssl0.9.8 libsysfs2 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtidy-0.99-0 libtiff4 libtimedate-perl libtool liburi-perl libusb-0.1-4 libuser-identity-perl libuuid1 libwmf0.2-7 libwrap0 libwww-perl libx11-data libxau-dev libxau6 libxaw7 libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1 libxdmcp-dev libxdmcp6 libxext6 libxfixes3 libxfont1 libxft2 libxinerama1 libxml2 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxslt1.1 libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 linux-libc-dev locate login logrotate lsb-base lsb-release make makedev manpages mawk mime-support mktemp module-init-tools mount munin-plugins-extra mysql-common ncftp ncurses-base ncurses-bin net-tools netbase openssl openssl-blacklist passwd patch po-debconf procps psfontmgr psmisc pwgen python-central python-chardet python-dnspython python-genshi python-pkg-resources python-pygments python-pylibacl python-pyxattr python-setuptools python-support python-tz rdiff-backup rsync rsyslog sgml-base shtool ssh ssl-cert subversion-tools sysvinit sysvinit-utils tar tasksel tasksel-data tcl8.4 tcl8.4-dev tcpd tidy tk8.4 tk8.4-dev trac trac-spamfilter traceroute ttf-dejavu ttf-dejavu-core ttf-dejavu-extra tzdata ucf unzip vim vim-common vim-runtime vim-tiny vsftpd whiptail whois wwwconfig-common x-ttcidfont-conf x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev xauth xbitmaps xfonts-encodings xfonts-utils xml-core xsltproc xtrans-dev zlib1g zlib1g-dev 277 upgraded, 0 newly installed, 0 to remove and 160 not upgraded. Need to get 92.0MB of archives. After this operation, 21.6MB of additional disk space will be used. Do you want to continue [Y/n]? Configuration file `/etc/securetty' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** securetty (Y/I/N/O/D/Z) [default=N] ? N Services to restart for PAM library upgrade: │ │ │ │ vsftpd cron Configuration file `/etc/sysctl.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** sysctl.conf (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/mysql/my.cnf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** my.cnf (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/vsftpd.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** vsftpd.conf (Y/I/N/O/D/Z) [default=N] ? N
And then the full upgrade:
apt-get -d dist-upgrade The following packages will be REMOVED libdatrie0 libept0 libgraphviz4 libmagick10 libxcb-xlib0 libxcb-xlib0-dev mysql-server mysql-server-5.0 The following NEW packages will be installed apache2.2-bin apt-xapian-index autopoint cpp-4.4 dash dbconfig-common diffutils dmsetup exiv2 fakeroot g++-4.4 gcc-4.4 gcc-4.4-base geoip-database gnupg-curl insserv install-info isc-dhcp-client isc-dhcp-common iso-codes libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libaprutil1-dbd-sqlite3 libaprutil1-ldap libavahi-client3 libavahi-common-data libavahi-common3 libbind9-60 libbluetooth3 libboost-iostreams1.42.0 libbsd0 libc-bin libc-dev-bin libcdt4 libcompress-raw-bzip2-perl libdatrie1 libdb4.7 libdb4.8 libdbi0 libdjvulibre-text libdns69 libdpkg-perl libept1 libevent-1.4-2 libexiv2-9 libfile-copy-recursive-perl libgeoip1 libgpgme11 libgraph4 libgssapi-krb5-2 libgvc5 libhd16 libio-compress-perl libipc-shareable-perl libisc62 libisccc60 libisccfg62 libjbig2dec0 libjs-mootools libk5crypto3 libkrb5-3 libkrb5support0 liblog-dispatch-perl liblog-log4perl-perl liblqr-1-0 libltdl7 liblwres60 liblzma2 libmagickcore3 libmagickcore3-extra libmagickwand3 libmpfr4 libmysqlclient16 libnetpbm10 libnfnetlink0 libonig2 libopts25 libparams-validate-perl libpathplan4 libpci3 libpth20 libqdbm14 libreadline6 libsasl2-modules libslang2-modules libstdc++6-4.4-dev libtest-pod-perl libtokyocabinet8 libudev0 libunistring0 libutempter0 libxapian22 libxcb-atom1 libxdot4 libyaml-syck-perl lockfile-progs manpages-dev munin-common mysql-server-core-5.1 netpbm pciutils python-apt python-apt-common python-debian python-xapian python2.6 python2.6-minimal sensible-utils shared-mime-info slsh tsconf ufraw-batch usbutils xz-utils The following packages will be upgraded: apache2 apache2-mpm-prefork apache2.2-common apt apt-utils aptitude autoconf automake bash bind9-host binutils build-essential cpio cpp cpp-4.3 cron dbus debianutils dhcp3-client dhcp3-common diff djvulibre-desktop dnsutils dpkg dpkg-dev e2fsprogs ed findutils g++ g++-4.3 gcc gcc-4.3 gcc-4.3-base gettext ghostscript gnuit gnupg gpgv grep html2text hwinfo imagemagick info iproute iptables jed jed-common libapache2-mod-php5 libapache2-svn libaprutil1 libbluetooth-dev libc6 libc6-dev libcompress-raw-zlib-perl libcompress-zlib-perl libcups2 libcupsimage2 libcurl3 libcurl3-gnutls libdate-manip-perl libdbd-mysql-perl libdbi-perl libdevmapper1.02.1 libdigest-sha1-perl libdjvulibre21 libedit2 libffi-dev libffi5 libgcc1 libgdbm-dev libgdbm3 libglib2.0-0 libglib2.0-data libgomp1 libgs8 libgsf-1-114 libgtk2.0-0 libgtk2.0-bin libhtml-parser-perl libio-compress-base-perl libio-compress-zlib-perl libkrb53 liblocale-gettext-perl libmail-box-perl libneon27-gnutls libpam-modules libpam-runtime libpango1.0-0 libpq5 librrd4 librrds-perl librsvg2-2 libsasl2-2 libsqlite3-0 libstdc++6 libstdc++6-4.3-dev libsvn-perl libsvn1 libthai-data libthai0 libts-0.0-0 libx11-6 libx11-dev libxcb1 libxcb1-dev libxi6 locales lynx lynx-cur m4 man-db memcached munin munin-node mutt nano ntp openssh-client openssh-server perl perl-base perl-modules php-apc php-pear php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imagick php5-mcrypt php5-memcache php5-mysql php5-suhosin phpmyadmin postfix python python-minimal python-pysqlite2 python-subversion python2.5 python2.5-minimal rdate readline-common rrdtool screen sed sqlite3 subversion sudo sysv-rc udev update-inetd util-linux util-linux-locales wget x11-utils xterm 159 upgraded, 115 newly installed, 8 to remove and 0 not upgraded. Need to get 182MB of archives. After this operation, 104MB of additional disk space will be used. Do you want to continue [Y/n]? y apt-get dist-upgrade │ Use dash as the default system shell (/bin/sh)? │ │ │ │ <Yes> │ Services to restart for GNU libc library upgrade: │ │ │ │ vsftpd ssh postfix mysql cron apache2_ │ │ │ <Ok> Restarting services possibly affected by the upgrade: vsftpd: restarting...done. ssh: restarting...done. postfix: restarting...done. mysql: restarting...done. cron: restarting...done. apache2: restarting...done. Services restarted successfully. ┌────────────────────────────────────────────────┤ Configuring sysv-rc ├────────────────────────────────────────────────┐ │ │ │ The boot system is prepared to migrate to dependency-based sequencing. This is an irreversible step, but one that is │ │ recommended: it allows the boot process to be optimized for speed and efficiency, and provides a more resilient │ │ framework for development. │ │ │ │ A full rationale is detailed in /usr/share/doc/sysv-rc/README.Debian. If you choose not to migrate now, you can do │ │ so later by running "dpkg-reconfigure sysv-rc". │ │ │ │ Migrate legacy boot sequencing to dependency-based sequencing? │ │ │ │ <No> warning: Asked to not convert legacy boot sequence to dependency based boot sequencing. │ A new version of configuration file /etc/php5/cli/php.ini is available, but the version installed currently has been │ │ locally modified. │ │ │ │ What do you want to do about modified configuration file php.ini? │ │ │ │ keep the local version currently installed │ │ │ │ │ │ <Ok> Configuration file `/etc/php5/conf.d/suhosin.ini' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** suhosin.ini (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/apache2/ports.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** ports.conf (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/apache2/mods-available/mime.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** mime.conf (Y/I/N/O/D/Z) [default=N] ? Y Configuration file `/etc/apache2/mods-available/deflate.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** deflate.conf (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/apache2/sites-available/default-ssl' ==> Deleted (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** default-ssl (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/apache2/sites-available/default' ==> Deleted (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** default (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/apache2/conf.d/security' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** security (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/apache2/apache2.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** apache2.conf (Y/I/N/O/D/Z) [default=N] ? N Installing new version of config file /etc/bash_completion.d/apache2.2-common ... activating new config files ... done. │ A new version of configuration file /etc/php5/apache2/php.ini is available, but the version installed currently has │ │ been locally modified. │ │ │ │ What do you want to do about modified configuration file php.ini? │ │ │ │ keep the local version currently installed │ │ │ │ │ │ <Ok> Configuration file `/etc/munin/munin.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** munin.conf (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/munin/munin-node.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** munin-node.conf (Y/I/N/O/D/Z) [default=N] ? N Configuration file `/etc/munin/plugin-conf.d/munin-node' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** munin-node (Y/I/N/O/D/Z) [default=N] ? N ┌──────────────────────────────────────────────┤ Configuring phpmyadmin ├───────────────────────────────────────────────┐ │ │ │ The phpmyadmin package must have a database installed and configured before it can be used. This can be optionally │ │ handled with dbconfig-common. │ │ │ │ If you are an advanced database administrator and know that you want to perform this configuration manually, or if │ │ your database has already been installed and configured, you should refuse this option. Details on what needs to be │ │ done should most likely be provided in /usr/share/doc/phpmyadmin. │ │ │ │ Otherwise, you should probably choose this option. │ │ │ │ Configure database for phpmyadmin with dbconfig-common? │ │ │ │ <No> │
See:
http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
Mysql wouldn't run.
aptitude safe-upgrade The following packages will be REMOVED: automake1.4{u} dbus-x11{u} djvulibre-desktop{u} g++-4.3{u} gnuit{u} gs-common{u} libbind9-50{u} libbluetooth2{u} libdigest-hmac-perl{u} libdigest-sha1-perl{u} libdirectfb-1.0-0{u} libdns58{u} libevent1{u} libfile-remove-perl{u} libhd14{u} libio-compress-base-perl{u} libio-compress-zlib-perl{u} libio-stringy-perl{u} libisc50{u} libisccc50{u} libisccfg50{u} libkrb53{u} libltdl3{u} libltdl3-dev{u} liblwres50{u} libmail-box-perl{u} libmpfr1ldbl{u} libobject-realize-later-perl{u} libpq5{u} libstdc++6-4.3-dev{u} libsysfs2{u} libtest-pod-perl{u} libts-0.0-0{u} libuser-identity-perl{u} mysql-server-core-5.1{u} openssl-blacklist{u} psfontmgr{u} tsconf{u} 0 packages upgraded, 0 newly installed, 38 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 64.6 MB will be freed. Do you want to continue? [Y/n/?] Y aptitude install mysql-server-5.1 The following NEW packages will be installed: mysql-client-5.1{ab} mysql-server-5.1 mysql-server-core-5.1{a} 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 16.7 MB/20.8 MB of archives. After unpacking 53.0 MB will be used. The following packages have unmet dependencies: mysql-client-5.1: Conflicts: mysql-client-5.0 but 5.0.51a-24+lenny5 is installed. The following actions will resolve these dependencies: Remove the following packages: 1) mysql-client-5.0 Accept this solution? [Y/n/q/?] y The following NEW packages will be installed: mysql-client-5.1{a} mysql-server-5.1 mysql-server-core-5.1{a} The following packages will be REMOVED: mysql-client-5.0{a} 0 packages upgraded, 3 newly installed, 1 to remove and 0 not upgraded. Need to get 16.7 MB/20.8 MB of archives. After unpacking 33.2 MB will be used. Do you want to continue? [Y/n/?] y Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! 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 configured to not write apport reports Errors were encountered while processing: mysql-server-5.1 E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up mysql-server-5.1 (5.1.49-3) ... Stopping MySQL database server: mysqld. Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! 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
From the syslog:
Sep 21 21:10:46 localhost mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [Warning] '--log_slow_queries' is deprecated and will be removed in a future release. Please use ''--slow_query_log'/'--slow_query_log_file'' instead. Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [Note] Plugin 'FEDERATED' is disabled. Sep 21 21:10:46 localhost mysqld: /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 InnoDB: Started; log sequence number 0 16786674 Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [ERROR] /usr/sbin/mysqld: unknown option '--skip-bdb' Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 [ERROR] Aborting Sep 21 21:10:46 localhost mysqld: Sep 21 21:10:46 localhost mysqld: 110921 21:10:46 InnoDB: Starting shutdown... Sep 21 21:10:51 localhost mysqld: 110921 21:10:51 InnoDB: Shutdown completed; log sequence number 0 16786674 Sep 21 21:10:51 localhost mysqld: 110921 21:10:51 [Note] /usr/sbin/mysqld: Shutdown complete Sep 21 21:10:51 localhost mysqld: Sep 21 21:10:51 localhost mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
Upgrade attempt:
mysql_upgrade Looking for 'mysql' as: mysql Looking for 'mysqlcheck' as: mysqlcheck Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--host=localhost' mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect FATAL ERROR: Upgrade failed