I was able to resolve the failure by cleaning up the left over dpkg-
remove and restoring the original names of the dpkg-backup files.

From this:
-rw-r--r--   1 bind root  2928 Aug 21  2025 bind.keys
-rw-r--r--   1 bind root   255 Jan 25  2024 db.0.dpkg-remove
-rw-r--r--   1 bind root   271 Oct 10  2018 db.127.dpkg-remove
-rw-r--r--   1 bind root   237 Oct 10  2018 db.255.dpkg-remove
-rw-r--r--   1 bind root   353 Oct 10  2018 db.empty.dpkg-remove
-rw-r--r--   1 bind root   290 Apr 18  2024 db.local.dpkg-backup
-rw-r--r--   1 bind root  3315 Jan 30  2020 db.root
-rw-r--r--   1 bind root   273 May  6  2024 mozilla.rpz.db
-rw-r--r--   1 bind bind  1099 Aug 31 17:18 named.conf
-rw-r--r--   1 bind bind   164 Oct 16  2020 named.conf.default-zones.dpkg-backup
-rw-r--r--   1 bind bind  6908 Jun  4  2024 named.conf.local
-rw-r--r--   1 bind bind  1203 Aug 31 17:17 named.conf.options
-rw-r--r--   1 root root   116 Jul 10 16:52 named.conf.root-hints
-rw-r--r--   1 root bind 26497 Aug 24  2023 old.named.conf.local
-rw-------   1 root root   479 Sep 18  2019 rndc.conf
-rw-r--r--   1 bind bind    76 Sep 18  2019 rndc.key
-rw-r--r--   1 bind root  1317 Oct 10  2018 zones.rfc1918.dpkg-remove

To this:
-rw-r--r--   1 bind root  2928 Aug 21  2025 bind.keys
-rw-r--r--   1 bind root   290 Apr 18  2024 db.local
-rw-r--r--   1 bind root  3315 Jan 30  2020 db.root
-rw-r--r--   1 bind root   273 May  6  2024 mozilla.rpz.db
-rw-r--r--   1 bind bind  1099 Aug 31 17:18 named.conf
-rw-r--r--   1 bind bind   164 Oct 16  2020 named.conf.default-zones
-rw-r--r--   1 bind bind  6908 Jun  4  2024 named.conf.local
-rw-r--r--   1 bind bind  1203 Aug 31 17:17 named.conf.options
-rw-r--r--   1 root root   116 Jul 10 16:52 named.conf.root-hints
-rw-r--r--   1 root bind 26497 Aug 24  2023 old.named.conf.local
-rw-------   1 root root   479 Sep 18  2019 rndc.conf
-rw-r--r--   1 bind bind    76 Sep 18  2019 rndc.key

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

Title:
  package bind9 1:9.20.24-1ubuntu0.3 failed to install/upgrade: old
  bind9 package postinst maintainer script subprocess failed with exit
  status 1

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


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

Reply via email to