我正在尝试将现有的Ubuntu 14.04 LTS升级到Ubuntu 16.04 LTS,看起来我卡在中间的某个地方.当我打开我的工作站时,我得到Ubuntu 16.04 LTS welcome&登录屏幕,没关系,最新的内核已启动并运行,但是,当我做sudo apt-get update&& sudo apt-get upgrade&& sudo apt-get dist-upgrade&& sudo apt-get
autoremove然后按Y / y确认升级,我得到:
user@work002:~$sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
Get:1 http://si.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease                                                                                 
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease                                                                          
Hit:4 http://si.archive.ubuntu.com/ubuntu xenial-updates InRelease                                    
Hit:5 http://archive.canonical.com xenial InRelease                                                   
Hit:6 http://si.archive.ubuntu.com/ubuntu xenial-backports InRelease                                  
Fetched 247 kB in 0s (319 kB/s)                    
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  account-plugin-twitter bluez-gstreamer bsh calculix-ccx checkBox-ng comerr-dev dh-apparmor firefox-locale-he firefox-locale-ru firefox-locale-sl fonts-unfonts-core friends friends-dispatcher
  friends-facebook friends-twitter g++-4.8 gcc-4.9-base:i386 gcj-4.8-jre-lib gir1.2-ebook-1.2 gir1.2-ebookcontacts-1.2 gir1.2-edataserver-1.2 gir1.2-gnomebluetooth-1.0 gir1.2-messagingmenu-1.0
  gir1.2-networkmanager-1.0 gstreamer0.10-pulseaudio gstreamer1.0-clutter gtk3-engines-unico heirloom-mailx icedtea-netx icedtea-netx-common iproute jetty jsvc ko.tex-extra-hlfont krb5-multidev
  kubuntu-debug-installer latex-sanskrit libass4 libatk-wrapper-java libatk-wrapper-java-jni libavcodec54 libavformat54 libavutil52 libbaloocore4 libbaloofiles4 libbalooxapian4 libbasicusageenvironment0
  libbetter-appframework-java libbind9-90 libboost-date-time1.54.0 libboost-program-options1.55.0 libboost-python1.55.0 libboost-regex1.55.0 libboost-signals1.55.0 libboost-system1.54.0
  libboost-system1.55.0 libcamel-1.2-45 libcdr-0.0-0 libcglib-java libclutter-gst-2.0-0 libcmis-0.4-4 libcolord1 libcolorhug1 libcommons-daemon-java libcr0 libcrypt-passwdmd5-perl libcxsparse3.1.2
  libdb-java libdb-je-java libdb5.3-java libdb5.3-java-jni libdbd-mysql-perl libdbi-perl libdbus-1-3:i386 libdirac-encoder0 libdns100 libdrm2:i386 libdvbpsi8 libeasymock-java libebackend-1.2-7
  libebook-1.2-14 libebook-contacts-1.2-0 libedata-book-1.2-20 libedataserver-1.2-18 libegl1-mesa-lts-vivid libelfg0 libenca0 libepub0 libetpan15 libexiv2-12 libflute-java libfriends0 libgbm1-lts-vivid
  libgcj-bc libgcj14 libgconf2-4 libgdata13 libgee2 libgeos-3.4.2 libgif4 libgl1-mesa-dri-lts-vivid libgl1-mesa-glx-lts-vivid libglapi-mesa-lts-vivid libgles1-mesa-lts-vivid libgles2-mesa-lts-vivid
  libglew1.10 libglewmx1.10 libgnome-bluetooth11 libgnome-desktop-3-7 libgnutls-dev libgnutlsxx27 libgphoto2-port10 libgraphicsmagick++3 libgraphicsmagick3 libgrip0 libgroupsock1 libgtksourceview2.0-0
  libgtksourceview2.0-common libgtop2-7 libhdf5-7 libicc2 libicu52 libidl-common libimdi0 libimobiledevice4 libintl-perl libisc95 libisccc90 libisccfg90 libisl10 libjavascriptcoregtk-1.0-0 libjetty-java
  libjline-java libjs-codemirror libjs-jquery-cookie libjs-jquery-event-drag libjs-jquery-Metadata libjs-jquery-mousewheel libjs-jquery-tablesorter libjs-jquery-ui libjson-c2:i386 libjtidy-java
  libkactivities-models1 libkadm5clnt-mit9 libkadm5srv-mit9 libkidletime4 libkrb5-dev liblcms1 liblinear1 liblivemedia23 liblouis2 liblucene2-java liblwres90 libmagick++5 libmagickcore5
  libmagickcore5-extra libmagickwand5 libmbim-glib0 libminiupnpc8 libmspub-0.0-0 libMysqLclient18 libnb-platform13-java libnepomukcleaner4 libnepomukcore4abi1 libnetcdfc7 libnetx-java libnih-dbus1:i386
  libnih1:i386 libobjc-4.8-dev liboctave2 libopenjpeg2 liborbit2 liborcus-0.6-0 libp11-kit-dev libpanel-applet-4-0 libparted0debian1 libplist1 libpng12-0:i386 libpocketsphinx1 libpoppler-qt4-4 libpoppler44
  libpostproc52 libprotobuf8 libqhull6 libqjson0 libqmi-glib0 libqmobipocket1 libqpdf13 libqscintilla2-11 libqt5qml-graphicaleffects libqt5sensors5 libqt5webkit5-qmlwebkitplugin libraw9 librpmsign1
  librtaudio4 librtmidi1 librtmp0 libsac-java libsac-java-gcj libsctp1 libsexy2 libsoprano4 libsoqt4-20 libsphinxbase1 libspnav0 libspooles2.2 libstdc++-4.8-dev libstk0c2a libswingx1-java libswscale2
  libsystemd-daemon0 libsystemd-journal0 libsystemd-login0 libt1-5 libtar0 libtasn1-6-dev libterm-readkey-perl libthumbnailer0 libtorque2 libts-0.0-0 libunityvoice1 libupower-glib1 libusageenvironment1
  libusbmuxd2 libvirtodbc0 libvisio-0.0-0 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwireshark3 libwiretap3 libwnck-common libwnck22 libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2 libwsutil3 libwxgtk-media2.8-0
  libx264-142 libxatracker2-lts-vivid libxcb-util0 libxtablES10 libzip2 libzipios++0c2a linux-headers-generic-lts-vivid linux-image-generic-lts-vivid lksctp-tools nepomuk-core-data obex-data-server
  openjdk-7-doc perlmagick phonon-backend-gstreamer1.0 PHP5-gd PHP5-MysqL PHP5-pgsql python-collada python-commandnotfound python-dateutil python-dbus-dev python-gconf python-gdbm python-gnome2
  python-gnomekeyring python-gobject python-gtksourceview2 python-ibus python-imaging-tk python-libxml2 python-matplotlib python-matplotlib-data python-notify python-pivy python-pyorbit python-pyparsing
  python-qt4-gl python-requests python-smbc python-support python-wxgtk2.8 python3-checkBox-ng qapt-batch qtdeclarative5-dialogs-plugin qtdeclarative5-localstorage-plugin
  qtdeclarative5-privatewidgets-plugin qtdeclarative5-qtFeedback-plugin qtdeclarative5-ubuntu-ui-extras-browser-plugin qtdeclarative5-ubuntu-ui-extras-browser-plugin-assets qtdeclarative5-window-plugin
  shared-desktop-ontologies signon-keyring-extension soprano-daemon sphinx-voxforge-hmm-en sphinx-voxforge-lm-en swath syslinux-themes-debian syslinux-themes-debian-wheezy telepathy-indicator tsconf
  ttf-dejavu-core ttf-dejavu-extra ubuntu-extras-keyring unity-lens-friends unity-scope-audacIoUs unity-scope-clementine unity-scope-gmusicbrowser unity-scope-gourmet unity-scope-guayadeque
  unity-scope-musique unity-voice-service unixodbc virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common xchat-common xfonts-mathml xserver-xorg-input-evdev-lts-vivid
  xserver-xorg-input-mouse-lts-vivid xserver-xorg-input-synaptics-lts-vivid xserver-xorg-input-vmmouse-lts-vivid xserver-xorg-input-wacom-lts-vivid xserver-xorg-video-ati-lts-vivid
  xserver-xorg-video-cirrus-lts-vivid xserver-xorg-video-fbdev-lts-vivid xserver-xorg-video-intel-lts-vivid xserver-xorg-video-mach64-lts-vivid xserver-xorg-video-mga-lts-vivid
  xserver-xorg-video-neomagic-lts-vivid xserver-xorg-video-nouveau-lts-vivid xserver-xorg-video-openchrome-lts-vivid xserver-xorg-video-r128-lts-vivid xserver-xorg-video-radeon-lts-vivid
  xserver-xorg-video-savage-lts-vivid xserver-xorg-video-siliconmotion-lts-vivid xserver-xorg-video-sisusb-lts-vivid xserver-xorg-video-tdfx-lts-vivid xserver-xorg-video-trident-lts-vivid
  xserver-xorg-video-vesa-lts-vivid xserver-xorg-video-vmware-lts-vivid
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  libjpeg-turbo-progs
0 upgraded,0 newly installed,0 to remove and 1 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.7 (5.7.11-0ubuntu6) ...
Job for MysqL.service Failed because the control process exited with error code. See "systemctl status MysqL.service" and "journalctl -xe" for details.
invoke-rc.d: initscript MysqL,action "start" Failed.
No apport report written because the error message indicates its a followup error from a prevIoUs failure.
                                                                                                          dpkg: error processing package MysqL-server-5.7 (--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.7; however:
  Package MysqL-server-5.7 is not configured yet.

dpkg: error processing package MysqL-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 MysqL-server-5.7
 MysqL-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

当我用systemctl status MysqL.service检查错误时,我得到:

user@work002:~$systemctl status MysqL.service
● MysqL.service - MysqL Community Server
   Loaded: loaded (/lib/systemd/system/MysqL.service; enabled; vendor preset: enabled)
   Active: activating (start-post) (Result: exit-code) since pet 2016-04-22 19:38:49 CEST; 12s ago
  Process: 10171 ExecStart=/usr/sbin/MysqLd (code=exited,status=1/FAILURE)
  Process: 10168 ExecStartPre=/usr/share/MysqL/MysqL-systemd-start pre (code=exited,status=0/SUCCESS)
 Main PID: 10171 (code=exited,status=1/FAILURE);         : 10172 (MysqL-systemd-s)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/MysqL.service
           └─control
             ├─10172 /bin/bash /usr/share/MysqL/MysqL-systemd-start post
             └─10239 sleep 1

apr 22 19:38:49 work002 systemd[1]: Starting MysqL Community Server...
apr 22 19:38:51 work002 systemd[1]: MysqL.service: Main process exited,code=exited,status=1/FAILURE

和journalctl -xe我得到:

user@work002:~$journalctl -xe
apr 22 19:41:27 work002 systemd[1]: Stopped MysqL Community Server.
-- Subject: Unit MysqL.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit MysqL.service has finished shutting down.
apr 22 19:41:27 work002 systemd[1]: Starting MysqL Community Server...
-- Subject: Unit MysqL.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit MysqL.service has begun starting up.
apr 22 19:41:29 work002 systemd[1]: MysqL.service: Main process exited,status=1/FAILURE
apr 22 19:41:57 work002 systemd[1]: Failed to start MysqL Community Server.
-- Subject: Unit MysqL.service has Failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit MysqL.service has Failed.
-- 
-- The result is Failed.
apr 22 19:41:57 work002 systemd[1]: MysqL.service: Unit entered Failed state.
apr 22 19:41:57 work002 systemd[1]: MysqL.service: Failed with result 'exit-code'.
apr 22 19:41:57 work002 systemd[1]: MysqL.service: Service hold-off time over,scheduling restart.
apr 22 19:41:57 work002 systemd[1]: Stopped MysqL Community Server.
-- Subject: Unit MysqL.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit MysqL.service has finished shutting down.
apr 22 19:41:57 work002 systemd[1]: Starting MysqL Community Server...
-- Subject: Unit MysqL.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit MysqL.service has begun starting up.
apr 22 19:41:59 work002 systemd[1]: MysqL.service: Main process exited,status=1/FAILURE
apr 22 19:42:27 work002 systemd[1]: Failed to start MysqL Community Server.
-- Subject: Unit MysqL.service has Failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit MysqL.service has Failed.
-- 
-- The result is Failed.
apr 22 19:42:27 work002 systemd[1]: MysqL.service: Unit entered Failed state.
apr 22 19:42:27 work002 systemd[1]: MysqL.service: Failed with result 'exit-code'.
apr 22 19:42:28 work002 systemd[1]: MysqL.service: Service hold-off time over,scheduling restart.
apr 22 19:42:28 work002 systemd[1]: Stopped MysqL Community Server.
-- Subject: Unit MysqL.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit MysqL.service has finished shutting down.
apr 22 19:42:28 work002 systemd[1]: Starting MysqL Community Server...
-- Subject: Unit MysqL.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit MysqL.service has begun starting up.
apr 22 19:42:30 work002 systemd[1]: MysqL.service: Main process exited,status=1/FAILURE

我通过从/ var / lib / MysqL复制文件来进行脱机数据库备份,因为我无法连接到MysqL服务器并导出sql脚本.如何克服此问题才能完成升级到Ubuntu 16.04 LTS?

我还添加了tail -n60 /var/log/MysqL/error.log的输出:

2016-04-22T21:45:57.355858Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/MysqL/ib_buffer_pool
2016-04-22T21:45:57.355908Z 0 [Note] Plugin 'FEDERATED' is disabled.
2016-04-22T21:45:57.356069Z 0 [Note] InnoDB: Buffer pool(s) load completed at 160422 23:45:57
2016-04-22T21:45:57.356321Z 0 [Warning] System table 'plugin' is expected to be transactional.
2016-04-22T21:45:57.356485Z 0 [ERROR] unkNown variable 'key_buffer=16M'
2016-04-22T21:45:57.356498Z 0 [ERROR] Aborting

2016-04-22T21:45:57.356507Z 0 [Note] binlog end
2016-04-22T21:45:57.356551Z 0 [Note] Shutting down plugin 'ngram'
2016-04-22T21:45:57.356560Z 0 [Note] Shutting down plugin 'ARCHIVE'
2016-04-22T21:45:57.356565Z 0 [Note] Shutting down plugin 'partition'
2016-04-22T21:45:57.356570Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2016-04-22T21:45:57.356576Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2016-04-22T21:45:57.356581Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2016-04-22T21:45:57.356586Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2016-04-22T21:45:57.356591Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2016-04-22T21:45:57.356595Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2016-04-22T21:45:57.356600Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2016-04-22T21:45:57.356605Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2016-04-22T21:45:57.356610Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2016-04-22T21:45:57.356615Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2016-04-22T21:45:57.356620Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2016-04-22T21:45:57.356624Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2016-04-22T21:45:57.356629Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2016-04-22T21:45:57.356634Z 0 [Note] Shutting down plugin 'INNODB_FT_CONfig'
2016-04-22T21:45:57.356639Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2016-04-22T21:45:57.356644Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2016-04-22T21:45:57.356649Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2016-04-22T21:45:57.356687Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2016-04-22T21:45:57.356695Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2016-04-22T21:45:57.356700Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2016-04-22T21:45:57.356705Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2016-04-22T21:45:57.356710Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2016-04-22T21:45:57.356715Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2016-04-22T21:45:57.356719Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2016-04-22T21:45:57.356724Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2016-04-22T21:45:57.356729Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2016-04-22T21:45:57.356734Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2016-04-22T21:45:57.356739Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2016-04-22T21:45:57.356743Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2016-04-22T21:45:57.356748Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2016-04-22T21:45:57.356753Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2016-04-22T21:45:57.356757Z 0 [Note] Shutting down plugin 'InnoDB'
2016-04-22T21:45:57.356886Z 0 [Note] InnoDB: FTS optimize thread exiting.
2016-04-22T21:45:57.357160Z 0 [Note] InnoDB: Starting shutdown...
2016-04-22T21:45:57.457470Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/MysqL/ib_buffer_pool
2016-04-22T21:45:57.457683Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 160422 23:45:57
2016-04-22T21:45:58.975431Z 0 [Note] InnoDB: Shutdown completed; log sequence number 17597621
2016-04-22T21:45:58.978042Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2016-04-22T21:45:58.978060Z 0 [Note] Shutting down plugin 'MEMORY'
2016-04-22T21:45:58.978068Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2016-04-22T21:45:58.978124Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2016-04-22T21:45:58.978130Z 0 [Note] Shutting down plugin 'MyISAM'
2016-04-22T21:45:58.978137Z 0 [Note] Shutting down plugin 'CSV'
2016-04-22T21:45:58.978143Z 0 [Note] Shutting down plugin 'sha256_password'
2016-04-22T21:45:58.978148Z 0 [Note] Shutting down plugin 'MysqL_native_password'
2016-04-22T21:45:58.978153Z 0 [Note] Shutting down plugin 'keyring_file'
2016-04-22T21:45:58.978369Z 0 [Note] Shutting down plugin 'binlog'
2016-04-22T21:45:58.978540Z 0 [Note] /usr/sbin/MysqLd: Shutdown complete

而且我还添加了dpkg -l | grep MysqL输出:

ii  dbconfig-MysqL                                        2.0.4ubuntu1                                        all          dbconfig-common MysqL/MariaDB support
ii  libdbd-mysql-perl                                     4.033-1build2                                       amd64        Perl5 database interface to the MysqL database
ii  libMysqL-java                                         5.1.38-1                                            all          Java database (JDBC) driver for MysqL
ii  libMysqLclient-dev                                    5.7.11-0ubuntu6                                     amd64        MysqL database development files
ii  libMysqLclient18:amd64                                5.5.49-0ubuntu0.14.04.1                             amd64        MysqL database client library
ii  libMysqLclient20:amd64                                5.7.11-0ubuntu6                                     amd64        MysqL database client library
rc  libMysqLcppconn7                                      1.1.3-5                                             amd64        MysqL Connector for C++ (library)
ii  libMysqLcppconn7v5                                    1.1.7-0ubuntu1                                      amd64        MysqL Connector for C++ (library)
ii  MysqL-client-5.7                                      5.7.11-0ubuntu6                                     amd64        MysqL database client binaries
ii  MysqL-client-core-5.7                                 5.7.11-0ubuntu6                                     amd64        MysqL database core client binaries
ii  MysqL-common                                          5.7.11-0ubuntu6                                     all          MysqL database common files,e.g. /etc/MysqL/my.cnf
iU  MysqL-server                                          5.7.11-0ubuntu6                                     all          MysqL database server (Metapackage depending on the latest version)
rc  MysqL-server-5.5                                      5.5.49-0ubuntu0.14.04.1                             amd64        MysqL database server binaries and system database setup
hF  MysqL-server-5.7                                      5.7.11-0ubuntu6                                     amd64        MysqL database server binaries and system database setup
ii  MysqL-server-core-5.7                                 5.7.11-0ubuntu6                                     amd64        MysqL database server binaries
ii  MysqL-utilities                                       1.6.1-2                                             all          collection of scripts for managing MysqL servers
ii  MysqL-workbench                                       6.3.6+dfsg-0ubuntu1                                 amd64        MysqL Workbench - a visual database modeling,administration and queuing tool
rc  MysqL-workbench-community                             6.3.6-1ubu1404                                      amd64        MysqL Workbench
ii  MysqL-workbench-data                                  6.3.6+dfsg-0ubuntu1                                 all          MysqL Workbench -- architecture independent data
ii  PHP-MysqL                                             1:7.0+35ubuntu6                                     all          MysqL module for PHP [default]
ii  PHP5-MysqL                                            5.5.9+dfsg-1ubuntu4.16                              amd64        MysqL module for PHP5
rc  PHP5-MysqLnd                                          5.5.9+dfsg-1ubuntu4.14                              amd64        MysqL module for PHP5 (Native Driver)
ii  PHP7.0-MysqL                                          7.0.4-7ubuntu2                                      amd64        MysqL module for PHP
ii  python-MysqL.connector                                2.0.4-1                                             all          pure Python implementation of MysqL Client/Server protocol
你检查过: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1571865(从 https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#MySQL_5.7的XenialXerus发行说明链接)?

它解释了由于某些配置指令名称的更改,启动MysqL失败.它还提到了三个解决方案,第一个解决了我的问题.

Ubuntu从14.04 LTS升级到16.04失败 – mysql-server-5.7 dependecies失败的更多相关文章

  1. 从iOS应用程序发送帖子到PHP脚本不工作…简单的解决方案就像

    我之前已经做了好几次了但是由于某些原因我无法通过这个帖子…我尝试了设置为_POST且没有的变量的PHP脚本……当它们未设置为发布时它工作精细.这是我的iOS代码:这里是PHP的一大块,POST变量不在正确的位置?我想这对于更有经验的开发人员来说是一个相当简单的答案,感谢您的帮助!解决方法$_POST是一个数组,而不是一个函数.您需要使用方括号来访问数组索引:

  2. Android – 将SQLite与MySQL同步的最佳方式

    参见英文答案>Synchronizingclient-serverdatabases5个我正在开发一个包含网络应用和移动应用程序的项目,该应用程序记录每日用户的数据.用户可以删除,更新他们的数据,他们可以使用许多设备插入数据.我打算这样开发:用户输入他们的数据然后插入sqlite.服务将定期启动(每5小时或每小时)以使用时间戳与MysqL同步.我确实在互联网上使用服务和时间戳搜索了一个样本,但我一

  3. android – 如何将唯一的GCM注册标识存储到MySQL中

    我正在设置GoogleCloudMessaging机制的服务器端,使用MySQL存储移动应用提供的注册ID.Google可以发出最多4k个注册码,我被迫将其存储在TEXT字段中.所有的好,到目前为止,问题是我必须处理这样的情况:>用户登录到应用程序>该应用从google请求注册ID>应用程序将新的注册ID发送到应用服务器>服务器存储该注册ID并将其链接到当前登录的用户>该用户注销并且新用户登录>应

  4. nodeJs链接Mysql做增删改查的简单操作

    本篇文章主要介绍了nodeJs链接Mysql做增删改查的简单操作,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧

  5. PHP连接MYSQL数据库的3种常用方法

    这篇文章主要介绍了PHP连接MYSQL数据库的3种常用方法,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们可以参考一下

  6. PHP使用PDO创建MySQL数据库、表及插入多条数据操作示例

    这篇文章主要介绍了PHP使用PDO创建MySQL数据库、表及插入多条数据操作,结合实例形式总结分析了php基于pdo的mysql数据库创建、数据表创建以及多条数据插入操作相关实现技巧,需要的朋友可以参考下

  7. MybatisPlus如何处理Mysql的json类型

    这篇文章主要介绍了MybatisPlus如何处理Mysql的json类型,具有很好的参考价值,希望对大家有所帮助。如有错误或未考虑完全的地方,望不吝赐教

  8. 基于PHP+mysql实现新闻发布系统的开发

    这篇文章主要介绍了基于PHP+mysql实现新闻发布系统的开发,文章通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧

  9. nodejs操作mysql实现增删改查的实例

    下面小编就为大家带来一篇nodejs操作mysql实现增删改查的实例。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧

  10. NodeJs使用Mysql模块实现事务处理实例

    本篇文章主要介绍了NodeJs使用Mysql模块实现事务处理 ,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧

随机推荐

  1. crontab发送一个月份的电子邮件

    ubuntu14.04邮件服务器:Postfixroot收到来自crontab的十几封电子邮件.这些邮件包含PHP警告.>我已经解决了这些警告的原因.>我已修复每个cronjobs不发送电子邮件(输出发送到>/dev/null2>&1)>我删除了之前的所有电子邮件/var/mail/root/var/spool/mail/root但我仍然每小时收到十几封电子邮件.这些电子邮件来自cronjobs,

  2. 模拟两个ubuntu服务器计算机之间的慢速连接

    我想模拟以下场景:假设我有4台ubuntu服务器机器A,B,C和D.我想在机器A和机器C之间减少20%的网络带宽,在A和B之间减少10%.使用网络模拟/限制工具来做到这一点?

  3. ubuntu-12.04 – 如何在ubuntu 12.04中卸载从源安装的redis?

    我从源代码在Ubuntu12.04上安装了redis-server.但在某些时候它无法完全安装,最后一次makeinstallcmd失败.然后我刚刚通过apt包安装.现在我很困惑哪个安装正在运行哪个conf文件?实际上我想卸载/删除通过源安装的所有内容,只是想安装一个包.转到源代码树并尝试以下命令:如果这不起作用,您可以列出软件自行安装所需的步骤:

  4. ubuntu – “apt-get source”无法找到包但“apt-get install”和“apt-get cache”可以找到它

    我正在尝试下载软件包的源代码,但是当我运行时它无法找到.但是当我运行apt-cache搜索squid3时,它会找到它.它也适用于apt-getinstallsquid3.我使用的是Ubuntu11.04服务器,这是我的/etc/apt/sources.list我已经多次更新了.我尝试了很多不同的debs,并没有发现任何其他地方的错误.这里的问题是你的二进制包(deb)与你的源包(deb-src)不

  5. ubuntu – 有没有办法检测nginx何时完成正常关闭?

    &&touchrestarted),因为即使Nginx没有完成其关闭,touch命令也会立即执行.有没有好办法呢?这样的事情怎么样?因此,pgrep将查找任何Nginx进程,而while循环将让它坐在那里直到它们全部消失.你可以改变一些有用的东西,比如睡1;/etc/init.d/Nginx停止,以便它会休眠一秒钟,然后尝试使用init.d脚本停止Nginx.你也可以在某处放置一个计数器,这样你就可以在需要太长时间时发出轰击信号.

  6. ubuntu – 如何将所有外发电子邮件从postfix重定向到单个地址进行测试

    我正在为基于Web的应用程序设置测试服务器,该应用程序发送一些电子邮件通知.有时候测试是使用真实的客户数据进行的,因此我需要保证服务器在我们测试时无法向真实客户发送电子邮件.我想要的是配置postfix,以便它接收任何外发电子邮件并将其重定向到一个电子邮件地址,而不是传递到真正的目的地.我正在运行ubuntu服务器9.10.先感谢您设置本地用户以接收所有被困邮件:你需要在main.cf中添加:然后

  7. ubuntu – vagrant无法连接到虚拟框

    当我使用基本的Vagrantfile,只配置了两条线:我看到我的虚拟框打开,但是我的流氓日志多次显示此行直到超时:然后,超时后的一段时间,虚拟框框终于要求我登录,但是太久了!所以我用流氓/流氓记录.然后在我的物理机器上,如果我“流氓ssh”.没有事情发生,直到:怎么了?

  8. ubuntu – Nginx – 转发HTTP AUTH – 用户?

    我和Nginx和Jenkins有些麻烦.我尝试使用Nginx作为Jenkins实例的反向代理,使用HTTP基本身份验证.它到目前为止工作,但我不知道如何传递带有AUTH用户名的标头?}尝试将此指令添加到您的位置块

  9. Debian / Ubuntu – 删除后如何恢复/ var / cache / apt结构?

    我在ubuntu服务器上的空间不足,所以我做了这个命令以节省空间但是现在在尝试使用apt时,我会收到以下错误:等等显然我删除了一些目录结构.有没有办法做apt-getrebuild-var-tree或类似的?

  10. 检查ubuntu上安装的rubygems版本?

    如何查看我的ubuntu盒子上安装的rubygems版本?只是一个想法,列出已安装的软件包和grep为ruby或宝石或其他:)dpkg–get-selections

返回
顶部