Erro de saída libdns162

2

Quando eu digitei:

apt-cache policy libdns162

Eu recebo esta saída:

libdns162:
Installed: 1:9.10.3.dfsg.P4-8ubuntu1.8    
Candidate: 1:9.10.3.dfsg.P4-8ubuntu1.10

Eu recebo após digitar:

sudo apt-get install --only-upgrade libdns162

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  clang-format clang-format-3.8 libclang1 libclang1-3.8 libffi-dev libjavascriptcoregtk-1.0-0 liblldb-3.6 liblldb-3.8 libtinfo-dev libuv1 libwebkitgtk-1.0-0
  libwebkitgtk-1.0-common linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic linux-headers-4.10.0-38 linux-headers-4.10.0-38-generic linux-headers-4.10.0-40
  linux-headers-4.10.0-40-generic linux-image-4.10.0-28-generic linux-image-4.10.0-38-generic linux-image-4.10.0-40-generic linux-image-extra-4.10.0-28-generic
  linux-image-extra-4.10.0-38-generic linux-image-extra-4.10.0-40-generic linux-signed-image-4.10.0-28-generic linux-signed-image-4.10.0-38-generic
  linux-signed-image-4.10.0-40-generic lldb lldb-3.8 llvm-3.8 llvm-3.8-dev llvm-3.8-runtime nodejs python-lldb-3.8
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  libdns162
1 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
3 not fully installed or removed.
Need to get 0 B/880 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
E: Invalid archive member header 
E: Prior errors apply to /var/cache/apt/archives/libdns162_1%3a9.10.3.dfsg.P4-8ubuntu1.10_amd64.deb
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 325831 files and directories currently installed.)
Preparing to unpack .../libdns162_1%3a9.10.3.dfsg.P4-8ubuntu1.10_amd64.deb ...
Unpacking libisccfg140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.10) over (1:9.10.3.dfsg.P4-8ubuntu1.10) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
dpkg: error processing package libdns162:amd64 (--configure):
 package libdns162:amd64 is already installed and configured
Setting up libisccfg140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.10) ...
dpkg: dependency problems prevent configuration of bind9-host:
 bind9-host depends on libdns162 (= 1:9.10.3.dfsg.P4-8ubuntu1.10); however:
  Version of libdns162:amd64 on system is 1:9.10.3.dfsg.P4-8ubuntu1.8.

dpkg: error processing package bind9-host (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of dnsutils:
 dnsutils depends on libdns162 (= 1:9.10.3.dfsg.P4-8ubuntu1.10); however:
  Version of libdns162:amd64 on system is 1:9.10.3.dfsg.P4-8ubuntu1.8.
 dnsutils depends on bind9-host | host; however:
  Package bind9-host is not configured yet.
  Package host is not installed.
  Package bind9-host which provides host is not configured yet.

dpkg: error processing package dnsutils (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
 libdns162:amd64
 bind9-host
 dnsutils
E: Sub-process /usr/bin/dpkg returned an error code (1)

Como posso instalar:

1:9.10.3.dfsg.P4-8ubuntu1.10
    
por OcK 24.01.2018 / 13:04

1 resposta

2

Observação: o erro que você tem pode estar relacionado a pacotes corrompidos em seu cache local , por favor, execute o seguinte comando para solucioná-lo:

sudo apt-get clean
  

homem apt-get

clean
      clean clears out the local repository of retrieved package files.
      It removes everything but the lock file from
      /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.

Você pode atualizar o pacote libdns162 usando o seguinte comando:

sudo apt-get install --only-upgrade libdns162

Observe que, antes de executar o upgrade do pacote, talvez seja necessário executá-lo:

sudo apt-get update
    
por Yaron 24.01.2018 / 13:08