[Bug 1880415] Re: Upgraded from 18.04 to 20.04, mariadb-server installer broken
Hi Faustin, Thanks for the response but the problem is that mysql and mariadb will not install correctly after upgrading the OS from 18.04 to 20.04. This seems to be an issue with dpkg leaving some old libraries and files hanging around on the file system that cause conflicts when it attempts to install either of these. I have tried manually removing all files related to the databases, but the install still fails in either case. I also found that the php-mysql package will not install due to it not being able to resolve dependencies. So the problem may be related to other old packages that are dependencies of mysql (or mariadb?) I'm sure this is an edge case as most people probably just reinstall the OS from a downloaded image (which is what I usually do, I just tried the upgrade this time to see how it went!) but there is definitely a problem during the upgrade. I have found numerous other unsolved instances of this, on this bug tracker, so no need to duplicate those any further I guess! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880415 Title: Upgraded from 18.04 to 20.04, mariadb-server installer broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mariadb-10.3/+bug/1880415/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1873931] Re: package mysql-server-8.0 8.0.19-0ubuntu5 failed to install/upgrade: installed mysql-server-8.0 package pre-removal script subprocess returned error exit status 1
Same problem here. Installer tries to stop a process that doesn't exist. Then throws an error that it cannot stop the process (because it doesn't exist!) then fails to install correctly. So mysql server cannot be started: Setting up mysql-common (5.8+1.0.5ubuntu2) ... (Reading database ... 136344 files and directories currently installed.) Preparing to unpack .../0-mysql-server-8.0_8.0.20-0ubuntu0.20.04.1_amd64.deb ... Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript mysql, action "stop" failed. invoke-rc.d returned 5 There is a MySQL server running, but we failed in our attempts to stop it. Stop it yourself and try again! dpkg: error processing archive /tmp/apt-dpkg-install-ZJV0dE/0-mysql-server-8.0_8.0.20-0ubuntu0.20.04.1_amd64.deb (--unpack): new mysql-server-8.0 package pre-installation script subprocess returned error exit status 1 Selecting previously unselected package libhtml-template-perl. Preparing to unpack .../1-libhtml-template-perl_2.97-1_all.deb ... Unpacking libhtml-template-perl (2.97-1) ... Selecting previously unselected package mecab-utils. Preparing to unpack .../2-mecab-utils_0.996-10build1_amd64.deb ... Unpacking mecab-utils (0.996-10build1) ... Selecting previously unselected package mecab-ipadic. Preparing to unpack .../3-mecab-ipadic_2.7.0-20070801+main-2.1_all.deb ... Unpacking mecab-ipadic (2.7.0-20070801+main-2.1) ... Selecting previously unselected package mecab-ipadic-utf8. Preparing to unpack .../4-mecab-ipadic-utf8_2.7.0-20070801+main-2.1_all.deb ... Unpacking mecab-ipadic-utf8 (2.7.0-20070801+main-2.1) ... Selecting previously unselected package mysql-server. Preparing to unpack .../5-mysql-server_8.0.20-0ubuntu0.20.04.1_all.deb ... Unpacking mysql-server (8.0.20-0ubuntu0.20.04.1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-ZJV0dE/0-mysql-server-8.0_8.0.20-0ubuntu0.20.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1873931 Title: package mysql-server-8.0 8.0.19-0ubuntu5 failed to install/upgrade: installed mysql-server-8.0 package pre-removal script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1873931/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1880415] [NEW] Upgraded from 18.04 to 20.04, mariadb-server installer broken
Public bug reported: After upgrade, mysql would not start, so uninstalled and purged. Then tried reinstalling mysql-server. Still would not start. So uninstalled and purged again. Then tried installing mariadb-server. Would not start, here is the log of process and errors: root@ike:/var/lib/mysql# apt install mariadb-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libevent-core-2.1-7 libmecab2 mecab-ipadic mecab-ipadic-utf8 mecab-utils Use 'apt autoremove' to remove them. The following NEW packages will be installed mariadb-server 0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade. Need to get 12.7 kB of archives. After this operation, 68.6 kB of additional disk space will be used. Get:1 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 mariadb-server all 1:10.3.22-1ubuntu1 [12.7 kB] Fetched 12.7 kB in 10s (1,230 B/s) Selecting previously unselected package mariadb-server. (Reading database ... 137421 files and directories currently installed.) Preparing to unpack .../mariadb-server_1%3a10.3.22-1ubuntu1_all.deb ... Unpacking mariadb-server (1:10.3.22-1ubuntu1) ... Setting up mariadb-server (1:10.3.22-1ubuntu1) ... root@ike:/var/lib/mysql# root@ike:/var/lib/mysql# service mysql start Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details. root@ike:/var/lib/mysql# tail /var/log/mysql/error.log 2020-05-24 16:09:22 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2020-05-24 16:09:22 0 [Note] InnoDB: Cannot open '/var/lib/mysql/ib_buffer_pool' for reading: No such file or directory 2020-05-24 16:09:22 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-05-24 16:09:22 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded 2020-05-24 16:09:22 0 [Note] Recovering after a crash using tc.log 2020-05-24 16:09:22 0 [Note] Starting crash recovery... 2020-05-24 16:09:22 0 [Note] Crash recovery finished. 2020-05-24 16:09:22 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist 2020-05-24 16:09:22 0 [Note] Server socket created on IP: '127.0.0.1'. 2020-05-24 16:09:22 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: mariadb-server 1:10.3.22-1ubuntu1 ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34 Uname: Linux 5.4.0-31-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip Date: Sun May 24 16:41:51 2020 InstallationDate: Installed on 2016-04-15 (1499 days ago) InstallationMedia: Ubuntu-Server 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1) Logs.var.log.daemon.log: MySQLConf.etc.mysql.mariadb.cnf: Error: [Errno 2] No such file or directory: '/etc/mysql/mariadb.cnf' PackageArchitecture: all SourcePackage: mariadb-10.3 UpgradeStatus: Upgraded to focal on 2020-05-24 (0 days ago) modified.conffile..etc.default.mysql: [deleted] modified.conffile..etc.mysql.debian-start: [deleted] modified.conffile..etc.mysql.mariadb.conf.d.50-mysqld_safe.cnf: [deleted] modified.conffile..etc.mysql.mariadb.conf.d.50-server.cnf: [deleted] ** Affects: mariadb-10.3 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apparmor apport-bug focal third-party-packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880415 Title: Upgraded from 18.04 to 20.04, mariadb-server installer broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mariadb-10.3/+bug/1880415/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1241972] Re: Drag and drop from Dash to Desktop doesn't work
I also on 14.04, just putting a script on desktop is not fun. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1241972 Title: Drag and drop from Dash to Desktop doesn't work To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1241972/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1317520] [NEW] package mariadb-server-5.5 5.5.37-0ubuntu0.14.04.1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Public bug reported: error happened installing, now i can't delete or fix the pkg ProblemType: Package DistroRelease: Ubuntu 14.04 Package: mariadb-server-5.5 5.5.37-0ubuntu0.14.04.1 ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9 Uname: Linux 3.13.0-24-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.14.1-0ubuntu3 Architecture: amd64 Date: Tue May 6 09:15:45 2014 DuplicateSignature: package:mariadb-server-5.5:5.5.37-0ubuntu0.14.04.1:subprocess new pre-installation script returned error exit status 1 ErrorMessage: subprocess new pre-installation script returned error exit status 1 InstallationDate: Installed on 2014-04-20 (17 days ago) InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417) SourcePackage: mariadb-5.5 Title: package mariadb-server-5.5 5.5.37-0ubuntu0.14.04.1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.mysql.conf.d.mysqld.safe.syslog.cnf: [deleted] modified.conffile..etc.mysql.debian.start: [deleted] ** Affects: mariadb-5.5 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1317520 Title: package mariadb-server-5.5 5.5.37-0ubuntu0.14.04.1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mariadb-5.5/+bug/1317520/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs