package bind9 1:9.7.3.dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #871058 reported by ryoohki
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

apt-get install cobbler...
add suggestions, try again, add more suggestions, repeat... ok now install
want bind 9 on the system but don't want it to startup( except manually)
bind9 is not configured, so unless it is a cahing name server, it should not be set to start
bind9 fails to be configured

 4998 Sat 2011-10-08 15:32:54 apt-get install cobbler
 4999 Sat 2011-10-08 15:33:06 apt-get install cobbler createrepo bind9 ipython
 5000 Sat 2011-10-08 15:33:16 apt-get install cobbler createrepo bind9 ipython bind9-doc doxygen python-profiler wx2.8-doc wx2.8-examples python-wxtools tcsh csh octave3.0 mksh pdksh python-xml editra
 5001 Sat 2011-10-08 15:33:35 apt-get install cobbler createrepo bind9 ipython bind9-doc doxygen python-profiler wx2.8-doc wx2.8-examples python-wxtools tcsh csh mksh pdksh editra
 5002 Sat 2011-10-08 15:33:46 apt-get install cobbler createrepo bind9 ipython bind9-doc doxygen python-profiler wx2.8-doc wx2.8-examples python-wxtools tcsh csh mksh pdksh editra doxygen-doc doxygen-gui python-doc octave3.0 python-xml libwxgtk2.8-dev
 5003 Sat 2011-10-08 15:33:54 apt-get install cobbler createrepo bind9 ipython bind9-doc doxygen python-profiler wx2.8-doc wx2.8-examples python-wxtools tcsh csh mksh pdksh editra doxygen-doc doxygen-gui python-doc libwxgtk2.8-dev
 5004 Sat 2011-10-08 15:34:02 apt-get install cobbler createrepo bind9 ipython bind9-doc doxygen python-profiler wx2.8-doc wx2.8-examples python-wxtools tcsh csh mksh pdksh editra doxygen-doc doxygen-gui python-doc libwxgtk2.8-dev python-examples
 5005 Sat 2011-10-08 17:22:04 fg
 5006 Sat 2011-10-08 17:22:59 ps auxww
 5007 Sat 2011-10-08 17:23:06 ps auxww | egrep ^root
 5008 Sat 2011-10-08 17:23:22 man ps
 5009 Sat 2011-10-08 17:23:31 ps -ejH
 5010 Sat 2011-10-08 17:23:39 ps axjf
 5011 Sat 2011-10-08 17:24:06 ps axjf | less
 5012 Sat 2011-10-08 17:24:39 kill -1 12920
 5013 Sat 2011-10-08 17:24:40 fg
 5014 Sat 2011-10-08 17:24:53 kill -2 12920
 5015 Sat 2011-10-08 17:24:54 fg
 5016 Sat 2011-10-08 17:25:02 kill -3 12920
 5017 Sat 2011-10-08 17:25:03 fg
 5018 Sat 2011-10-08 17:25:11 kill -15 12920
 5019 Sat 2011-10-08 17:25:13 fg
 5020 Sat 2011-10-08 17:25:20 ps axjf | less
 5021 Sat 2011-10-08 17:25:48 fg
 5022 Sat 2011-10-08 17:25:52 kill -1 12570
 5023 Sat 2011-10-08 17:25:57 fg
 5024 Sat 2011-10-08 17:26:03 kill -15 12570
 5025 Sat 2011-10-08 17:26:07 kill -2 12570
 5026 Sat 2011-10-08 17:26:10 fg
 5027 Sat 2011-10-08 17:26:14 ps axjf | less
 5028 Sat 2011-10-08 17:26:36 kill -1 12617
 5029 Sat 2011-10-08 17:26:39 kill -2 12617
 5030 Sat 2011-10-08 17:26:42 kill -15 12617
 5031 Sat 2011-10-08 17:26:46 ps axjf | less
 5032 Sat 2011-10-08 17:26:53 initctl list | awk '/^euc.*\/run/ { print $1 }' | sort | while read euc ; do stop $euc; done
 5033 Sat 2011-10-08 17:27:11 initctl list | awk '/^euc.*\/run/ { print $1 }' | sort
 5034 Sat 2011-10-08 17:27:14 initctl list | awk '/^euc.*\/run/ { print $1 }' | sort | while read euc ; do stop $euc; done
 5035 Sat 2011-10-08 17:27:16 initctl list | awk '/^euc.*\/run/ { print $1 }' | sort
 5036 Sat 2011-10-08 17:27:29 initctl list | egrep euc
 5037 Sat 2011-10-08 17:27:40 stop eucalyptus-network
 5038 Sat 2011-10-08 17:28:00 cd /etc/default/
 5039 Sat 2011-10-08 17:28:01 ls
 5040 Sat 2011-10-08 17:28:11 egrep -il euc *
 5041 Sat 2011-10-08 17:28:17 cd ../init.d/
 5042 Sat 2011-10-08 17:28:19 egrep -il euc *
 5043 Sat 2011-10-08 17:28:29 cd ../init
 5044 Sat 2011-10-08 17:28:31 egrep -il euc *
 5045 Sat 2011-10-08 17:28:45 initctl
 5046 Sat 2011-10-08 17:28:49 initctl --help
 5047 Sat 2011-10-08 17:30:42 cd
 5048 Sat 2011-10-08 17:30:44 apt-get update && apt-get upgrade && apt-get dist-upgrade ; gem update ; date
 5049 Sat 2011-10-08 17:34:13 gem clean
 5050 Sat 2011-10-08 17:34:21 initctl list | awk '/^euc.*\/run/ { print $1 }' | sort
 5051 Sat 2011-10-08 17:34:27 gem list --local | awk '$3 != "" { print $0 }'
 5052 Sat 2011-10-08 17:34:42 gem cleandpkg --configure -a
 5053 Sat 2011-10-08 17:34:50 pkg --configure -a
 5054 Sat 2011-10-08 17:34:54 dpkg --configure -a
 5055 Sat 2011-10-08 17:36:34 dpkg --configure bind9
 5056* Sat 2011-10-08 17:36:42
 5057 Sat 2011-10-08 17:37:09 apt-get update && apt-get upgrade && apt-get dist-upgrade ; gem update ; date
 5058 Sat 2011-10-08 17:42:43 apt-get update && apt-get upgrade && apt-get dist-upgrade
 5059 Sat 2011-10-08 17:51:01 history

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: bind9 1:9.7.3.dfsg-1ubuntu2.2
ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelModules: fglrx
AptOrdering: bind9: Configure
Architecture: amd64
Date: Sat Oct 8 17:41:22 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
RelatedPackageVersions:
 bind9utils 1:9.7.3.dfsg-1ubuntu2.2
 apparmor 2.6.1-0ubuntu3
SourcePackage: bind9
Title: package bind9 1:9.7.3.dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
ryoohki (cheselka) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

 * Stopping domain name service... bind9  resolvconf: Error: /etc/resolv.conf must be a symlink

This is actually a problem with the way resolvconf handles bind9, not bind9 directly.

affects: bind9 (Ubuntu) → resolvconf (Ubuntu)
Changed in resolvconf (Ubuntu):
importance: Undecided → Medium
Revision history for this message
ryoohki (cheselka) wrote : Re: [Bug 871058] Re: package bind9 1:9.7.3.dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Hi Clint,

OK, but it is common for /etc/resolv.conf not to be a symlick to
/etc/resolvconf/run/resolv.conf.

On the first apt-get run to install bind9, it halted at configuring
bind9 and I had to kill it after waiting many minutes.

I've seen this failure many years ago and it is still there. Should
the file not being a symlink really flummox the perl program that
configures bind9?

I waited a long time before having to use the kill command.

Thanks!
Mike

On Sat, Oct 8, 2011 at 19:35, Clint Byrum <email address hidden> wrote:
> * Stopping domain name service... bind9        [168G resolvconf: Error:
> /etc/resolv.conf must be a symlink
>
> This is actually a problem with the way resolvconf handles bind9, not
> bind9 directly.
>
> ** Package changed: bind9 (Ubuntu) => resolvconf (Ubuntu)
>
> ** Changed in: resolvconf (Ubuntu)
>   Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/871058
>
> Title:
>  package bind9 1:9.7.3.dfsg-1ubuntu2.2 failed to install/upgrade:
>  subprocess installed post-installation script returned error exit
>  status 1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/871058/+subscriptions
>

Thomas Hood (jdthood)
Changed in resolvconf (Ubuntu):
status: New → Fix Committed
Revision history for this message
Thomas Hood (jdthood) wrote :

A new Ubuntu resolvconf package has been prepared by the Debian maintainers.

I ask you to test this new package before we upload it to the Ubuntu repos.

Please install the resolvconf package from ppa:jdthood/resolvconf (https://launchpad.net/~jdthood/+archive/resolvconf) and let me know whether or not you have any problems with it.
--
Thomas Hood
Debian resolvconf maintainers
<email address hidden>

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (10.3 KiB)

This bug was fixed in the package resolvconf - 1.63ubuntu1

---------------
resolvconf (1.63ubuntu1) precise; urgency=low

  [ Thomas Hood ]
  * Debian fixed bugs (LP: #797339, #871058, #471975, #378844, #894417)
  * Differences from Debian:
    - /sbin/resolvconf:
      + Exit if /etc/resolv.conf is not a symlink
    - debian/rules:
      + Install upstart script rather than initscript (LP: #366967, #750423)
    - debian/{pre,post}inst
      + Migrate (to /run) from /var/run, not from /lib/init/rw.
      + [0706f28] Remove old Sys V init scripts and symlinks
  * Thanks to Sander van Grieken for his assistance with this release.

resolvconf (1.63) unstable; urgency=low

  [ Thomas Hood ]
  * [a83fce3] Depend on a later version of the initscripts package
  * [cfc8349] Use variable instead of hard-coded path for old run dir
    in maintainer scripts, to help shrink the Ubuntu diff.
  * [9921902] Update and improve resolvconf(8)
  * [719dc9b] Run update on boot (Closes: #651801, #651827)
  * [5fc985c] Don't trigger on reconfigure (Closes: #651803)

resolvconf (1.62) unstable; urgency=low

  [ Thomas Hood ]
  * [0352a85] postrm: On removal restore original resolv.conf if current
    (dynamic) resolv.conf has no content. (Closes: #644956)
    Thanks to Josep Lladonosa Capell.
  * [7cdfa73] Move logic details from initscript to /sbin/resolvconf;
    for this purpose add new options to /sbin/resolvconf:
    --enable-updates, --disable-updates, --updates-are-enabled,
    --create-runtime-directories.
  * [7cdfa73] Eliminate "-i" option supplied to update scripts and
    the code in /etc/resolvconf/update.d/libc that made use of this.

  [ Marco Nenciarini ]
  * [e175b76] Remove hardcoded path from resolvconf's invocation in
    maintainer scripts. Thanks to lintian

resolvconf (1.61) unstable; urgency=low

  * [cbb5105] list-records: Add comment re: extglob; speed up final loop
  * [4492943] Eliminate bashisms from /sbin/resolvconf. (Other scripts in this
    package still use bash, though, so this does not close wish #519364.)
    Thanks to Stefan Monnier
  * [63da54b] update.d/libc: Only run-parts update-libc.d/ if the latter exists.
    (Closes: #642965)

resolvconf (1.60) unstable; urgency=low

  [ Marco Nenciarini ]
  * [c30024e] Switch vcs fields to git
  * [4041409] Add debian/gbp.conf to make easy the usage of
    git-buildpackage

  [ Thomas Hood ]
  * [18e2fac] Update es.po thanks to Javier Fernández-Sanguino
    (Closes: #642360)
  * [18e2fac] Include resolv.conf.d/base information in
    resolv.conf *after* dynamic information, rather than before
    (Closes: #642222)

resolvconf (1.59) unstable; urgency=low

  * dhclient-enter-hooks.d/resolvconf: Add support for dhclient
    DHCPv6 (Closes: #635470)
  * postinst: Fail with message if /etc/resolv.conf is immutable
    (Closes: #635775)
  * Mention in resolvconf(8) that /etc/default/resolvconf has
    to be created if it is to be used to set resolvconf environment
    variables (Closes: #633014)
  * Drop outdated id.po

resolvconf (1.58) unstable; urgency=low

  [ Thomas Hood ]
  * Update README
  * Update debconf template translations:
    * da.po thanks to Joe Dalton (Closes: #630241)
  ...

Changed in resolvconf (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.