Public bug reported:

Was doing a routine update and bind9 failed to installed, couldn't write
the /var/cache/bind directory. This machine was Trusty, then Xenial,
Bionic and now Cosmic.  So could be related to a do-release-upgrade
process as I've used bind for development and testing for a long time
now.

Here's my history, where it bombed and I ran update-grub, then change
ownership and set file permissions, then tried to re-install the broken
update, which seems to have worked, but the logs were still kept and
submitted, thanks Launchpad :)

26194  2019-06-22 05:06:17 sudo apt-get update
26195  2019-06-22 05:07:05 sudo apt-get dist-upgrade

*** Here is breaks...

Cannot write... /var/cache/bind

and worse the initram-fs process failed, so I saved myself...

26196  2019-06-22 05:08:45 sudo update-grub
26197  2019-06-22 05:09:55 sudo chown root.bind /var/cache/bind 
26198  2019-06-22 05:10:05 sudo chmod 775 /var/cache/bind 
26199  2019-06-22 05:10:15 sudo service bind restart
26200  2019-06-22 05:10:21 sudo apt-get dist-upgrade
26201  2019-06-22 05:10:45 sudo service bind9 restart
26202  2019-06-22 05:10:48 sudo service bind9 status
26203  2019-06-22 05:10:58 sudo service bind9 stop
26204  2019-06-22 05:11:22 sudo update-grub
26205  2019-06-22 05:11:27 sudo updatedb
26206  2019-06-22 05:19:45 sudo reboot

* Here's where system rebooted and I'll filed this report. Keep us
posted, thanks.

Found my solution from a previous Launchpad bug, might be related:
> https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1086775

ProblemType: Package
DistroRelease: Ubuntu 18.10
Package: bind9 1:9.11.4+dfsg-3ubuntu5.4
ProcVersionSignature: Ubuntu 4.18.0-22.23-lowlatency 4.18.20
Uname: Linux 4.18.0-22-lowlatency x86_64
ApportVersion: 2.20.10-0ubuntu13.3
Architecture: amd64
Date: Sat Jun 22 05:07:56 2019
ErrorMessage: installed bind9 package post-installation script subprocess 
returned error exit status 1
InstallationDate: Installed on 2016-01-19 (1249 days ago)
InstallationMedia: Ubuntu-Studio 14.04 LTS "Trusty Tahr" - Release amd64 
(20140416.3)
Python3Details: /usr/bin/python3.6, Python 3.6.8, python3-minimal, 3.6.7-1~18.10
PythonDetails: /usr/bin/python2.7, Python 2.7.16, python-minimal, 2.7.15-3
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu5
 apt  1.7.5
SourcePackage: bind9
Title: package bind9 1:9.11.4+dfsg-3ubuntu5.4 failed to install/upgrade: 
installed bind9 package post-installation script subprocess returned error exit 
status 1
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.cron.daily.apport: [deleted]

** Affects: bind9 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package cosmic third-party-packages

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

Title:
  package bind9 1:9.11.4+dfsg-3ubuntu5.4 failed to install/upgrade:
  installed bind9 package post-installation script subprocess returned
  error exit status 1

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

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

Reply via email to