If others are not seeing this problem, I have a theory and a solution.
Okay, so I'm not sure how it happened, running dpkg under strace
revealed that for whatever reason a directory was created named
/var/lib/dpkg/info/bash.conffiles which caused dpkg to fail to install.
My solution was just to delete that directory.  The content of the
directory was actually junk, which would lead me to believe this occured
as a result of file system corruption (btrfs).

My recommendation would be to improve the error log - the failure was
within the /var/lib/dpkg/info directory (i.e. in dpkg sources (unpack.c)
in pkg_infodb_update it would be a good idea to log both the source
(cidir) and target (cidirrest). That way future errors like this will be
easier to diagnose.

This may be a one-off issue, but it may be helpful for anyone googling
for this error message in future. If confirmed that this doesn't in fact
impact bash, please redirect the recommendation to the dpkg maintainer.

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

Title:
  bash package install fails [bash_4.3-6ubuntu1_amd64]

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

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

Reply via email to