I suspect this has something to do with apparmor. Something important is
forbidden. However, disabling the /usr/sbin/mysqld profile for apparmor
has no effect, because the profile is reenabled and put to enforce mode
on trying to reinstall.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to
Ah, yes. There is a workaround. Open /etc/default/grub in an editor.
Change the line
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash
into:
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash apparmor=0
reboot a normal kernel (don't pick a safe mode option). The type
sudo apt-get -f install
That should fix mysql.
One more thing: You do need to run update-grub every time you change the
/etc/default/grub for the changes to have effect.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
I had the same problem on a fresh MySQL installation on Karmic systems,
a 32 bit system at work, and a 64 bit system at home.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
I suspect this has something to do with apparmor. Something important is
forbidden. However, disabling the /usr/sbin/mysqld profile for apparmor
has no effect, because the profile is reenabled and put to enforce mode
on trying to reinstall.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to
Ah, yes. There is a workaround. Open /etc/default/grub in an editor.
Change the line
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash
into:
GRUB_CMDLINE_LINUX_DEFAULT=quiet splash apparmor=0
reboot a normal kernel (don't pick a safe mode option). The type
sudo apt-get -f install
That should fix mysql.
One more thing: You do need to run update-grub every time you change the
/etc/default/grub for the changes to have effect.
--
package mysql-server-5.1 5.1.37-1ubuntu4 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
Public bug reported:
Binary package hint: dchroot
dchroot fails to start, because it misses a configuration parameter,
even though the parameter is given:
$ LC_ALL=C dchroot -d
E: /etc/dchroot.conf: [[jaunty]] location: line 1 [[jaunty]]: Required key
'location' is missing
$ cat