Não consigo atualizar o Debian 9

3

Eu executo: sudo apt-get dist-upgrade e obtenho isto:

Reading Package Lists ... Done
Building the dependency tree
Reading status information ... Done
Calculation of the update ... Some packages can not be installed. This may mean
That you have asked for the impossible, or if you
Unstable distribution, which some packages have not yet
Have been created or have not been released from Incoming.
The following information should help you resolve the situation:

The following packages contain unsatisfied dependencies:
  Systemd: Break: rdnssd (<1.0.1-5) but 1.0.1-1 + b1 must be installed
E: Error, pkgProblem :: Resolve generated breaks, which could be caused by the packages to be kept as is.

SAÍDA apt-cache policy rdnssd

   Dmicaelandre @ ThinkPad: ~ $ apt-cache policy rdnssd
rdnssd:
  Installed: 1.0.1-1+b1
  Candidate: 1.0.3-3
  Version table:
      1.0.3-3 0
         650 http://ftp2.fr.debian.org/debian/ stretch/main amd64 Packages
  *** 1.0.1-1+b1 0
         100 /var/lib/dpkg/status

SAÍDA apt-cache policy

100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org/ stretch/updates/non-free Translation-en
 500 http://security.debian.org/ stretch/updates/main Translation-en
 500 http://security.debian.org/ stretch/updates/contrib Translation-en
 650 http://security.debian.org/ stretch/updates/non-free i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=non-free
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/contrib i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=contrib
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/main i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=main
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/non-free amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=non-free
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/contrib amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=contrib
     origin security.debian.org
 650 http://security.debian.org/ stretch/updates/main amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/non-free Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/main Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/contrib Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/non-free i386 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=non-free
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/contrib i386 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=contrib
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/main i386 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=main
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/non-free amd64 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=non-free
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/contrib amd64 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=contrib
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch-updates/main amd64 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=main
     origin ftp2.fr.debian.org
 500 http://ftp2.fr.debian.org/debian/ stretch/non-free Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch/main Translation-fr
 500 http://ftp2.fr.debian.org/debian/ stretch/main Translation-en
 500 http://ftp2.fr.debian.org/debian/ stretch/contrib Translation-en
 650 http://ftp2.fr.debian.org/debian/ stretch/non-free i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=non-free
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/contrib i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=contrib
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/main i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=main
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/non-free amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=non-free
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/contrib amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=contrib
     origin ftp2.fr.debian.org
 650 http://ftp2.fr.debian.org/debian/ stretch/main amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=main
     origin ftp2.fr.debian.org
    
por Micael André 05.03.2017 / 22:38

2 respostas

1

Conforme implícito no comentário do arochester , remova esse rdnssd package.

sudo apt-get remove rdnssd

Isso me permitiu continuar atualizando para o Debian 9.

Este pacote é uma espécie de daemon de confirmação automática para o dns. No meu sistema, foi apenas regularmente quebrar o caos em minhas configurações de DNS, substituindo as configurações do gerenciador de rede. (Eu entendi que este era o mesmo pacote que estava me causando esses problemas de DNS ao pesquisar informações sobre ele, por saber como resolver o problema de atualização.)
Se você não souber esse pacote rdnssd nem o que é "configuração DNS usando a opção Servidor DNS recursivo (RDNSS)", é provável que você realmente não precise dele.

    
por 21.06.2017 / 21:51
0

Eu recebi o mesmo erro. O procedimento de atualização recomendado é:

  1. apt-get update
  2. apt-get upgrade
  3. apt-get dist-upgrade

Fazer uma atualização regular primeiro corrigiu para mim.

    
por 19.06.2017 / 23:48