Instalação do gnome-core no Ubuntu 14.04 LTS (Trusty Tahr)

4

Eu estou usando o servidor Ubuntu 14.04 LTS (Trusty Tahr):

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

Estou tentando instalar um sistema operacional mínimo no Ubuntu, mas quando eu digito o comando

apt-get install gnome-core

Eu recebo esta saída:

The following packages have unmet dependencies:
 gnome-core : Depends: eog (>= 3.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Depois de usar apt-cache policy gnome-core eog , a saída foi:

gnome-core:
Installed: (none)
Candidate: 1:3.8+4ubuntu3
Version table:
     1:3.8+4ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages eog:   Installed: (none)   Candidate: 3.10.2-0ubuntu5   Version table:
     3.10.2-0ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Após forçar a instalação do eog usando apt-get install eog , a saída foi:

The following packages have unmet dependencies:
eog :
Depends: libpeas-1.0-0 (>= 1.0.0) but it is not going to be installed
Depends: gir1.2-peas-1.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Depois disso, usando o comando apt-cache policy libpeas-1.0-0 gir1.2-peas-1.0 :

A saída foi:

libpeas-1.0-0: Installed: (none) Candidate: 1.8.1-2ubuntu2 Version table: 1.8.1-2ubuntu2 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages gir1.2-peas-1.0: Installed: (none) Candidate: 1.8.1-2ubuntu2 Version table: 1.8.1-2ubuntu2 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Em seguida, usando o comando apt-get install libpeas-1.0-0 gir1.2-peas-1.0 , a saída foi:

The following packages have unmet dependencies: libpeas-1.0-0 : Depends: libpython3.4 (>= 3.4~b1) but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

Depois de usar o comando apt-cache policy libpython3.4 , a saída foi:

libpython3.4:

Installed: (none)

Candidate: 3.4.0-2ubuntu1.1

Version table:

> 3.4.0-2ubuntu1.1 0
500 http://archive.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
    500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
 3.4.0-2ubuntu1 0
    500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Depois de usar o comando apt-get install libpython3.4 , a saída foi:

The following packages have unmet dependencies:

libpython3.4 : Depends: libpython3.4-stdlib (= 3.4.0-2ubuntu1.1) but >3.4.3-1ubuntu1~14.04.1 is to be installed

E: Unable to correct problems, you have held broken packages.

Depois de usar o comando sudo apt-get install libpython3.4-stdlib , a saída foi:

Reading package lists... Done Building dependency tree Reading state information... Done libpython3.4-stdlib is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Como resolvo esse problema?

    
por user3731917 13.10.2015 / 17:01

1 resposta

1

Instale a versão correta de libpython3.4-stdlib

sudo apt-get update
sudo apt-get install libpython3.4-stdlib=3.4.0-2ubuntu1.1 libpython3.4-minimal=3.4.0-2ubuntu1.1

porque libpython3.4-stdlib precisa da versão exata 3.4.0-2ubuntu1.1 e não da sua versão instalada 3.4.3-1ubuntu1~14.04.1 .

Depois disso, instale gnome-core via

sudo apt-get install gnome-core

e instale alguns pacotes desinstalados novamente

sudo apt-get install lsb-release python3 update-notifier-common

E no final

sudo apt-mark auto libpython3.4-stdlib libpython3.4-minimal
    
por A.B. 13.10.2015 / 17:47