Re: [Bug 1935792] package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Well, it’s a bug in a package installation somehow. I just tried to do a “do-release-upgrade” on a machine running Nagios (with mysql) and it took me a bunch of manual research and fixing. If it’s not ubuntu, it’s mysql. Thank you, David Logan > On Jul 14, 2021, at 7:59 AM, Lucas Kanashiro <1935...@bugs.launchpad.net> > wrote: > > Thank you for taking the time to file a bug report. > > It seems you already found the root cause of the problem and fixed it. > Since this is not a bug in Ubuntu I am marking this bug as Invalid. > > ** Changed in: mysql-8.0 (Ubuntu) > Status: New => Invalid > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1935792 > > Title: > package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to > install/upgrade: installed mysql-server-8.0 package post-installation > script subprocess returned error exit status 1 > > Status in mysql-8.0 package in Ubuntu: > Invalid > > Bug description: > It was a do-release-upgrade on an AWS instance > > ProblemType: Package > DistroRelease: Ubuntu 20.04 > Package: mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 > ProcVersionSignature: Ubuntu 5.4.0-1051.53~18.04.1-aws 5.4.119 > Uname: Linux 5.4.0-1051-aws x86_64 > ApportVersion: 2.20.11-0ubuntu27.18 > Architecture: amd64 > CasperMD5CheckResult: skip > Date: Sun Jul 11 21:42:39 2021 > Ec2AMI: ami-005bdb005fb00e791 > Ec2AMIManifest: (unknown) > Ec2AvailabilityZone: us-west-2a > Ec2InstanceType: t2.medium > Ec2Kernel: unavailable > Ec2Ramdisk: unavailable > ErrorMessage: installed mysql-server-8.0 package post-installation script > subprocess returned error exit status 1 > Logs.var.log.daemon.log: > > MySQLConf.etc.mysql.conf.d.mysql.cnf.bak: [mysql] > MySQLConf.etc.mysql.conf.d.mysqldump.cnf: > [mysqldump] > quick > quote-names > max_allowed_packet = 16M > MySQLConf.etc.mysql.my.cnf: Error: [Errno 40] Too many levels of symbolic > links: '/etc/mysql/my.cnf' > MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf: > [mysqld_safe] > syslog > MySQLVarLibDirListing: ['mysql_upgrade_info', 'ib_logfile0', 'ca-key.pem', > 'nagiosql', 'sys', 'mysql', 'ibdata1', 'auto.cnf', 'client-key.pem', > 'ib_logfile1', 'performance_schema', 'ca.pem', 'server-key.pem', > 'public_key.pem', 'debian-5.7.flag', 'server-cert.pem', 'nagiosxi', 'nagios', > 'client-cert.pem', 'ib_buffer_pool', 'nagiosna', 'private_key.pem'] > ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-1051-aws > root=UUID=cff99495-4abf-46b6-af32-df1478a88ffe ro console=tty1 console=ttyS0 > nvme_core.io_timeout=4294967295 > Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, > 3.8.2-0ubuntu2 > PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4 > RelatedPackageVersions: > dpkg 1.19.7ubuntu3 > apt 2.0.6 > SourcePackage: mysql-8.0 > Title: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to > install/upgrade: installed mysql-server-8.0 package post-installation script > subprocess returned error exit status 1 > UpgradeStatus: Upgraded to focal on 2021-07-12 (0 days ago) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1935792/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1935792 Title: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation 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/1935792/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1935792] Re: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
So evidently the problem was an existing mysql.cnf with configuration data that had been removed from this version of mysql. NO_AUTO_CREATE_USER I think along with two other ones which I don't remember. Something like some_cache=4m. Once I found them in the mysql error log and removed them one by one during installation attempts, it finally installed and came up. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1935792 Title: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation 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/1935792/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1935792] [NEW] package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Public bug reported: It was a do-release-upgrade on an AWS instance ProblemType: Package DistroRelease: Ubuntu 20.04 Package: mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 ProcVersionSignature: Ubuntu 5.4.0-1051.53~18.04.1-aws 5.4.119 Uname: Linux 5.4.0-1051-aws x86_64 ApportVersion: 2.20.11-0ubuntu27.18 Architecture: amd64 CasperMD5CheckResult: skip Date: Sun Jul 11 21:42:39 2021 Ec2AMI: ami-005bdb005fb00e791 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2a Ec2InstanceType: t2.medium Ec2Kernel: unavailable Ec2Ramdisk: unavailable ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 Logs.var.log.daemon.log: MySQLConf.etc.mysql.conf.d.mysql.cnf.bak: [mysql] MySQLConf.etc.mysql.conf.d.mysqldump.cnf: [mysqldump] quick quote-names max_allowed_packet = 16M MySQLConf.etc.mysql.my.cnf: Error: [Errno 40] Too many levels of symbolic links: '/etc/mysql/my.cnf' MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf: [mysqld_safe] syslog MySQLVarLibDirListing: ['mysql_upgrade_info', 'ib_logfile0', 'ca-key.pem', 'nagiosql', 'sys', 'mysql', 'ibdata1', 'auto.cnf', 'client-key.pem', 'ib_logfile1', 'performance_schema', 'ca.pem', 'server-key.pem', 'public_key.pem', 'debian-5.7.flag', 'server-cert.pem', 'nagiosxi', 'nagios', 'client-cert.pem', 'ib_buffer_pool', 'nagiosna', 'private_key.pem'] ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-1051-aws root=UUID=cff99495-4abf-46b6-af32-df1478a88ffe ro console=tty1 console=ttyS0 nvme_core.io_timeout=4294967295 Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4 RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.6 SourcePackage: mysql-8.0 Title: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to focal on 2021-07-12 (0 days ago) ** Affects: mysql-8.0 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package ec2-images focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1935792 Title: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation 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/1935792/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1705862] [NEW] Processing triggers for initramfs-tools (0.125ubuntu9) ... update-initramfs: Generating /boot/initrd.img-4.10.0-19-generic gzip: stdout: No space left on device E: mkinitramfs fail
Public bug reported: Ubuntu 17.04 Installing this on blank hard drive and receivedx the error: processing triggers for initramfs-tools (0.125ubuntu9) ... update-initramfs: Generating /boot/initrd.img-4.10.0-19-generic gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.10.0-19-generic with 1. dpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for dbus (1.10.10-1ubuntu2) ... Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) I expected the initramfs to be updated and the install to exit properly without error Install exited with error code 1 ** Affects: initramfs-tools (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1705862 Title: Processing triggers for initramfs-tools (0.125ubuntu9) ... update- initramfs: Generating /boot/initrd.img-4.10.0-19-generic gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.10.0-19-generic with 1. dpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for dbus (1.10.10-1ubuntu2) ... Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1705862/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1613446] [NEW] boot partition 500 megs grub install failed
Public bug reported: Boot partition primary 500 megs, root 225 gigs swap 2 gigs grub2 failed to install, installer crashed and exited. amd 64 quad core processor 8 gigs ram, ddr3 Ubuntu 16.04.1 DVD installer Chose install rather than try, then install. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubiquity 2.21.63.2 [modified: lib/partman/automatically_partition/question] ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13 Uname: Linux 4.4.0-31-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CasperVersion: 1.376 Date: Mon Aug 15 10:56:47 2016 InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --- LiveMediaBuild: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) ProcEnviron: PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SourcePackage: grub-installer UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: grub-installer (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug ubiquity-2.21.63.2 ubuntu xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1613446 Title: boot partition 500 megs grub install failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1613446/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1424869] Re: boot loader failed during install with server Microsoft 2012
Aloha, The first install, I installed it to sda, but it failed to install. The second install, I tried to use sdb, and it failed, too. All attempts to install the boot loader with Windows server 2012 failed. My guess, the server write protected the boot sectors. Thanks for the come back. In His Service, David Logan IT Tech Hawaii Academy of Arts Sciences Pahoa, Hawaii 96778 808-965-3730 On Tue, Feb 24, 2015 at 8:38 AM, Phillip Susi ps...@ubuntu.com wrote: It appears that you chose to install grub to /dev/sdb1 and this is not possible. You need to install it to the default location of /dev/sda. ** Changed in: grub-installer (Ubuntu) Status: New = Invalid -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1424869 Title: boot loader failed during install with server Microsoft 2012 Status in grub-installer package in Ubuntu: Invalid Bug description: The bvoot loader seemed to install on sda, but had no effect on the server 2012 booting alone. I want to dual boot between the server and the desktop ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: ubiquity 2.10.29 ProcVersionSignature: Ubuntu 3.13.0-32.57~precise1-generic 3.13.11.4 Uname: Linux 3.13.0-32-generic i686 ApportVersion: 2.0.1-0ubuntu17.6 Architecture: i386 CasperVersion: 1.315.1 Date: Mon Feb 23 13:57:33 2015 InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity LiveMediaBuild: Ubuntu 12.04.5 LTS Precise Pangolin - Release i386 (20140807.1) MarkForUpload: True ProcEnviron: TERM=linux PATH=(custom, no user) LANG=en_US.UTF-8 SourcePackage: grub-installer UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1424869/+subscriptions -- In His Service, David Logan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1424869 Title: boot loader failed during install with server Microsoft 2012 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1424869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs