MaxReports is reached already

Marius Gedminas marius at
Wed Feb 4 07:29:19 UTC 2015

On Tue, Feb 03, 2015 at 04:18:38PM -0600, Chris wrote:
> On Tue, 2015-02-03 at 16:11 -0600, Chris wrote:
> > Trying to install some software so I can build ClamAv for earlier Ubuntu
> > versions. The software won't install. Running sudo apt-get update then
> > sudo apt-get upgrade gives me the errors below. My /var/crash folder is
> > empty until of course I run sudo apt-get upgrade then a crash report for
> > clamav-base is created. 
> > 
> > No apport report written because MaxReports is reached already
> >                                                               Errors
> > were encountered while processing:

The relevant errors are above the quoted bit, but luckily you
pastebinn'ed everything:

> All the output is here -

Now quoting from the pastebin.  This is strange and suspicious:

> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

and then

dpkg: error processing package clamav-base (--configure):
 subprocess installed post-installation script returned error exit status 1

Almost everything else is just fallout from this error.

I suspect the postinst script failed because it couldn't access the
debconf database because it's locked.

Can you figure out why it's locked?  Are there any other apt-get install
sessions lying around, waiting for user input?  Or a dpkg-reconfigure
running elsewhere?  Maybe try fuser /var/cache/debconf/config.dat, see
what processes have it open.

Once you figure out why the debconf database is locked and get it
unlocked (preferably by completing whichever operation that's stuck),
complete the half-finished installation with

  sudo dpkg --configure -a
  sudo apt-get install -f

and everything should be fine.

Marius Gedminas
... Another nationwide organization's computer system crashed twice in less
than a year. The cause of each crash was a computer virus....
                -- Paul Mungo, Bryan Glough  _Approaching_Zero_
(in 1986 computer crashes were something out of the ordinary.  Win95 anyone?)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <>

More information about the ubuntu-users mailing list