[Bug 482200] Re: /etc/cron.daily/apt: Cache has broken packages, exiting

Paul Tötterman 482200 at bugs.launchpad.net
Sat May 18 10:14:10 UTC 2013


I solved this problem in the following way:

My root file system (ext4 which contained both /var and /usr) was low on
inodes, but not free space, so monitoring didn't complain. You can check
this by running `df -i` (as opposed to `df -h` which shows free space in
human readable format).

To fix the low inode count I removed old linux-kernel-* and linux-
headers-* packages. After that everything started working.

This means, at least for me, it was NOT A BUG, but the error message
could be improved. Or maybe motd could warn about low inodes in addition
to low space. Btrfs allocates inodes dynamically and doesn't suffer from
this same problem.

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

Title:
  /etc/cron.daily/apt: Cache has broken packages, exiting

Status in “apt” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: apt

  After I "apt-get update" I always receive the message "È presente
  nuova mail in /var/mail/root" (new message in /var/mail/root)

  Doing "cat /var/mail/root" I see the following message.

  From: Anacron <root at vega>
  To: root at vega
  Subject: Anacron job 'cron.daily' on vega
  Message-Id: <20091025012043.7E13822218 at vega>
  Date: Sun, 25 Oct 2009 02:20:43 +0100 (CET)

  /etc/cron.daily/apt:
  Cache has broken packages, exiting

  ProblemType: Bug
  Architecture: amd64
  Date: Fri Nov 13 17:01:06 2009
  DistroRelease: Ubuntu 9.10
  Package: apt 0.7.23.1ubuntu2 [modified: usr/bin/apt-cache usr/bin/apt-cdrom usr/bin/apt-config usr/bin/apt-get usr/lib/apt/methods/bzip2 usr/lib/apt/methods/cdrom usr/lib/apt/methods/copy usr/lib/apt/methods/file usr/lib/apt/methods/ftp usr/lib/apt/methods/gpgv usr/lib/apt/methods/gzip usr/lib/apt/methods/http usr/lib/apt/methods/lzma usr/lib/apt/methods/mirror usr/lib/apt/methods/rred usr/lib/apt/methods/rsh usr/lib/apt/methods/ssh usr/lib/libapt-pkg-libc6.10-6.so.4.8.1]
  ProcEnviron:
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
  SourcePackage: apt
  Uname: Linux 2.6.31-15-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/482200/+subscriptions




More information about the foundations-bugs mailing list