package failed to install/upgrade with error "There's not enough space" if /var/lib/mysql/ is not mounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: update-manager
mysql could not start because the partition the data files were on was not mounted. No biggy.
ProblemType: Package
Architecture: i386
Dependencies:
DistroRelease: Ubuntu 8.10
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)
NonfreeKernelMo
Package: update-manager None [modified: /var/lib/
PackageArchitec
SourcePackage: update-manager
Title: package update-manager None [modified: /var/lib/
Uname: Linux 2.6.24-21-generic i686
affects: | mysql-dfsg-5.0 (Ubuntu) → mysql-dfsg-5.1 (Ubuntu) |
Changed in mysql-dfsg-5.1 (Ubuntu): | |
importance: | Low → Wishlist |
tags: | added: dist-upgrade |
Thanks for your report.
From your log file: server- 5.0_5.0. 67-0ubuntu6_ i386.deb) ...
=====
Preparing to replace mysql-server-5.0 5.0.51a-3ubuntu5.1 (using .../mysql-
* Stopping MySQL database server mysqld
...done.
* Stopping MySQL database server mysqld
...done.
df: `/var/lib/mysql/.': No such file or directory
df: no file systems processed
ERROR: There's not enough space in /var/lib/mysql/
dpkg: error processing /var/cache/ apt/archives/ mysql-server- 5.0_5.0. 67-0ubuntu6_ i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
* Stopping MySQL database server mysqld
...done.
df: `/var/lib/mysql/.': No such file or directory
df: no file systems processed
* /etc/init.d/mysql: ERROR: The partition with /var/lib/mysql is too full!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
=====
It seems that /var/lib/mysql has been removed. Could you please describe the steps you've followed to upgrade.
Thanks.