[Bug 1077740] Re: error after running out of disk

v1nce 1077740 at bugs.launchpad.net
Tue Nov 13 13:40:38 UTC 2012


> 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.

(Now) I understand that.
Before a daily update I was warned that there was not enough disk space to install all packages. So I tried to split the installation by choosing only some packages. 
So, yes, I think I can put the blame on me and not onto the apt app.


> 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.


I don't agree. I don't know if this is because of french translation but the text is clearly misleading to me.

mysql-server-5.5: ...
                  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

can be read (by me) as

You try to update(*)  mysql-server-5.5. To do this, you need to install
first mysql-client-5.5 in a version that is above 5.5.24... but (you
can't do it because) version 5.5.28... is (already) installed.

So (for me) it reads as the apt doesn't understand that 5.5.28 > 5.5.24.

I think plain text would be easier to read for anybody (unless there are
apps that grep the output of aptcommand ?). At least for (unexperienced)
reporters. May be a switch for a compact display for 'power users'

(*) with no more information this is what I read(/expect). From the
detailed error I guess the real error occured when trying to
(re)configure the sqlserver (what I didn't ask for) So I think that at
least AFTER THE FAULTY PACKAGE NAME THERE SHOULD BE AN INDICATION OF
WHAT ACTION FAILED. Was it installation, removal, update, configuration
of installed package, cleaning after removal...

Just my 2 cents.

-- 
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