Public bug reported:

dpkg: error processing package mysql-server-8.0 (--remove):
 installed mysql-server-8.0 package pre-removal script subprocess returned error
 exit status 1
dpkg: too many errors, stopping
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
Failed to preset unit: File mysql.service: Link has been severed
/usr/bin/deb-systemd-helper: error: systemctl preset failed on mysql.service: No
 such file or directory
Failed to start mysql.service: Unit mysql.service not found.
invoke-rc.d: initscript mysql, action "start" failed.
Unit mysql.service could not be found.
dpkg: error while cleaning up:
 installed mysql-server-8.0 package post-installation script subprocess returned
 error exit status 1
Errors were encountered while processing:
 mysql-server-8.0
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 20.10
Package: mysql-server-8.0 8.0.25-0ubuntu0.20.10.1
ProcVersionSignature: Ubuntu 5.8.0-53.60-generic 5.8.18
Uname: Linux 5.8.0-53-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.6
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue May 18 09:59:53 2021
ErrorMessage: installed mysql-server-8.0 package pre-removal script subprocess 
returned error exit status 1
InstallationDate: Installed on 2020-03-02 (442 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 
(20200203.1)
Logs.var.log.daemon.log:
 
MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet     = 16M
MySQLVarLibDirListing: ['aria_log_control', 'ibdata1', 'ib_buffer_pool', 
'performance_schema', 'ib_logfile0', 'debian-10.3.flag', 'nextcloud', 
'multi-master.info', 'mysql_upgrade_info', 'mysql', 'aria_log.00000001', 
'ib_logfile1']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.8.0-53-generic 
root=UUID=97d89be7-de92-41d4-8a05-7573c4523062 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 
3.8.6-0ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.20.5ubuntu2
 apt  2.1.10ubuntu0.3
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.25-0ubuntu0.20.10.1 failed to 
install/upgrade: installed mysql-server-8.0 package pre-removal script 
subprocess returned error exit status 1
UpgradeStatus: Upgraded to groovy on 2021-05-17 (0 days ago)

** Affects: mysql-8.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1928818

Title:
  package mysql-server-8.0 8.0.25-0ubuntu0.20.10.1 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/1928818/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to