[Bug 481752] Re: package bind9 1:9.6.1.dfsg.P1-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Fernando Roxo roxo at roxo.org
Mon Dec 7 21:59:48 GMT 2009


Package Architecture: X86_64

# apt-get -f install
=======  balhblahblah clipped ================
Preparando para substituir bind9 1:9.6.1.dfsg.P1-3 (usando .../bind9_1%3a9.6.1.dfsg.P1-3ubuntu0.2_amd64.deb) ...
 * Stopping domain name service... bind9                                        
resolvconf: Error: /etc/resolv.conf must be a symlink
invoke-rc.d: initscript bind9, action "stop" failed.
dpkg: aviso: antigo script pre-removal retornou um erro 1 como status de saída
dpkg - tentando script do novo pacote em vez disso ...
prerm called with unknown argument `failed-upgrade'
dpkg: erro processando /var/cache/apt/archives/bind9_1%3a9.6.1.dfsg.P1-3ubuntu0.2_amd64.deb (--unpack):
 sub-processo novo script pre-removal retornou estado de saída de erro 1
Erros foram encontrados durante o processamento de:
 /var/cache/apt/archives/bind9_1%3a9.6.1.dfsg.P1-3ubuntu0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

  The error message that got my attention was :

resolvconf: Error: /etc/resolv.conf must be a symlink

This file was generated by NetworkManager during a 3G connection.
After disconnecting I went to '/etc' and issued the command :

# cd /etc
# ln -sf /etc/resolvconf/run/resolv.conf

After that the installation finished without error.

# apt-get -f install
=======  balhblahblah clipped ================
Preparando para substituir bind9 1:9.6.1.dfsg.P1-3 (usando .../bind9_1%3a9.6.1.dfsg.P1-3ubuntu0.2_amd64.deb) ...
 * Stopping domain name service... bind9                                 [ OK ] 
Desempacotando substituto bind9 ...
Processando gatilhos para ufw ...
Processando gatilhos para ureadahead ...
ureadahead will be reprofiled on next reboot
Processando gatilhos para man-db ...
Configurando bind9 (1:9.6.1.dfsg.P1-3ubuntu0.2) ...
 * Starting domain name service... bind9                                 [ OK ] 

# LC_ALL=C apt-get check
Reading package lists... Done
Building dependency tree       
Reading state information... Done

After connection the NetworkManager changed the file ' /etc/resolvconf/run/resolv.conf '
and seems to be working ok.

-- 
package bind9 1:9.6.1.dfsg.P1-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/481752
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.



More information about the Ubuntu-server-bugs mailing list