Hi Bernard,
thanks for following and trying to resolve.

At the moment I'm puzzled as well - you clearly got rid of the offending
/var/cache/debconf/passwords.dat as confirmed by ll and lsof in step 10.

Why it is then "in the way" on your retry to upgrade/install I have no idea yet 
:-/
Maybe it races with itself - does not make sense to me yet.

Hmm - two things from here:

First of all right after the restart there might indeed be an auto-
updater being started and running in the background - make sure this
isn't your issue. Check who owns the new file now and that the process
is completed.

Furthermore you might follow some advice given on [1] - [3]. On top of
what I already suggested some users seem to have had success by removing
all these files. I'm usually not bold to remove a lot of things, maybe
move them away to your roots home so you can restore them in case you
need to?

[1]: 
https://askubuntu.com/questions/136881/debconf-dbdriver-config-config-dat-is-locked-by-another-process-resource-t
[2]: 
https://wiki.edubuntu.org/DebuggingInstallationIssues#DbDriver_.22config.22_is_locked
[3]: https://ubuntuforums.org/showthread.php?t=1495612

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698772

Title:
  package clamav-base 0.99.2+dfsg-6 failed to install/upgrade: package
  is in a very bad inconsistent state; you should  reinstall it before
  attempting a removal

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to