[Bug 1077740] Re: error after running out of disk
Daniel Hartwig
mandyke at gmail.com
Tue Nov 13 01:28:10 UTC 2012
On 12 November 2012 21:05, v1nce <1077740 at bugs.launchpad.net> wrote:
> I'm not sure but I think I tried apt-get install -f before manual installation (with no luck).
> Now when I run apt-get install -f it's ok (0,0,0).
>
> I don't really understand what it complained for as I got all the
> "missing" packages (maybe except for upstart-job (I don't know how to
> query virtual package)).
Although older versions of those packages are installed, the
updated mysql-server states that it requires the more recent
versions, as indicated by the error:
mysql-server-5.5: PreDepends: mysql-common (>=
5.5.24-0ubuntu0.12.04.1) mais la version 5.5.28-0ubuntu0.12.04.2 est
installée
Depends: mysql-client-5.5 (>=
5.5.24-0ubuntu0.12.04.1) mais la version 5.5.28-0ubuntu0.12.04.2 est
installée
The newer packages downloaded (you see them in /var/cache/apt), but
failed to install, presumably due to the disk space error.
>
> I looked at mysql and it was up and running after reboot so i think my
> command was rather safe.
The dpkg command is unsafe is because it ignores the package
dependencies. The program may actually run with the older packages,
and there may not even be any problems, but this can generally not be
assumed, otherwise it would not require particular versions of those
packages.
>
> I know this was a poor bug report (I should have waited before
> trying to fix it myself) so it can be closed anytime because I
> consider it fixed.
I am glad that you fixed your system.
The only issue here really is that apt proceeded with the operation
even though it would fail due to disk space. I believe this is
already reported, and the situation is unlikely to improve much
because this is something very hard for apt to *properly* check.
Generally, it is up to the system administrator to keep disk space
issues under control. Software can not reliably do this for you.
> I reported it because the message 'Depends: foo (>= x) but version y
> is installed' looks odd to me
The first part uses the packaging dependency format as this is the
best way to convey exactly which dependency causes the problem, and
what it's requirements are. Although not the most correct for natural
language, it does read well enough, and changing it is undesirable
because that may lead to ambiguity and make the task of diagnosing
problems (for packagers, developers, people familiar with that syntax)
a bit slower.
Regards
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1077740
Title:
error after running out of disk
Status in “apt” package in Ubuntu:
New
Bug description:
After i ran out of disk space I get this error after a daily update
(I run a french ubuntu 12.04 so the following messages are in French but translation would be "mais la version x est installée" = "but the x version is installed")
Les paquets suivants ont des dépendances non-satisfaites :
mysql-server-5.5: PreDepends: mysql-common (>= 5.5.24-0ubuntu0.12.04.1) mais la version 5.5.28-0ubuntu0.12.04.2 est installée
Depends: mysql-client-5.5 (>= 5.5.24-0ubuntu0.12.04.1) mais la version 5.5.28-0ubuntu0.12.04.2 est installée
Depends: perl (>= 5.6) mais la version 5.14.2-6ubuntu2.1 est installée
Depends: zlib1g (>= 1:1.1.4) mais la version 1:1.2.3.4.dfsg-3ubuntu4 est installée
Depends: upstart-job mais c'est un paquet virtuel
Depends: mysql-server-core-5.5 (= 5.5.24-0ubuntu0.12.04.1) mais la version 5.5.28-0ubuntu0.12.04.2 est installée
or
installArchives() failed: dpkg: dependency problems prevent configuration of mysql-server-5.5:
mysql-server-5.5 depends on mysql-server-core-5.5 (= 5.5.24-0ubuntu0.12.04.1); however:
Version of mysql-server-core-5.5 on system is 5.5.28-0ubuntu0.12.04.2.
dpkg: error processing mysql-server-5.5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Errors were encountered while processing:
mysql-server-5.5
mysql-server
Error in function:
dpkg: dependency problems prevent configuration of mysql-server-5.5:
mysql-server-5.5 depends on mysql-server-core-5.5 (= 5.5.24-0ubuntu0.12.04.1); however:
Version of mysql-server-core-5.5 on system is 5.5.28-0ubuntu0.12.04.2.
dpkg: error processing mysql-server-5.5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
I don't understand what is wrong.
There's enough disk space right now (6gb)
I "fixed" this by using dpkg --force-depends -i mysql-server_5.5.28-0ubuntu0.12.04.2_all.deb
In cache I got the following files
libmysqlclient18_5.5.28-0ubuntu0.12.04.2_amd64.deb
libqt4-sql-mysql_4%3a4.8.1-0ubuntu4.3_amd64.deb
mysql-client-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb
mysql-client-core-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb
mysql-common_5.5.28-0ubuntu0.12.04.2_all.deb
mysql-server_5.5.28-0ubuntu0.12.04.2_all.deb
mysql-server-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb
mysql-server-core-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb
System : ubuntu 12.04 64bits FR
It didn't occur after a system upgrade but in a daily update
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1077740/+subscriptions
More information about the foundations-bugs
mailing list