Não é possível instalar o libgnutls-dev na nova máquina 16.04LTS

1

Novo sistema instalado 16.04LTS, apenas pacotes Xenial instalados.

sudo apt install libgnutls-dev

resulta em

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgnutls-dev : Depends: libgnutls30 (= 3.4.10-4ubuntu1) but 3.4.10-4ubuntu1.4 is to be installed
                 Depends: libgnutls-openssl27 (= 3.4.10-4ubuntu1) but 3.4.10-4ubuntu1.4 is to be installed
                 Depends: libgnutlsxx28 (= 3.4.10-4ubuntu1) but it is not going to be installed
                 Depends: nettle-dev but it is not going to be installed
                 Depends: libtasn1-6-dev but it is not going to be installed
                 Depends: libp11-kit-dev but it is not going to be installed
                 Depends: libidn11-dev (>= 1.31) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

A mensagem de erro (xxx existe mas xxxx + a versão deve ser instalada) não faz sentido algum. Não há nada para ser instalado além dos pacotes listados.

sudo apt install -f resulta em nada:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

apt-cache policy libgnutls-dev

libgnutls-dev:
  Installed: (none)
  Candidate: 3.4.10-4ubuntu1
  Version table:
     3.4.10-4ubuntu1 500
        500 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Sugere alguém?

    
por Balthasar 30.01.2018 / 08:51

1 resposta

2

A versão atual do libgnutls-dev no xenial é 3.4.10-4ubuntu1.4 .

Parece que você desativou o repositório xenial-updates .

  • Na área de trabalho, abra Software & amp; Atualizações ( software-properties-gtk ), vá para a aba Atualizações e confira xenial-security e xenial-updates .

  • No servidor, você deve ter a seguinte linha em /etc/apt/sources.list :

    deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse 
    

E tente instalá-lo novamente.

    
por N0rbert 30.01.2018 / 10:53