.png)
estou a usarUbuntu 14.04Servidor LTS (Trusty Tahr):
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Estou tentando instalar um sistema operacional Ubuntu mínimo, mas quando insiro 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
Depois de forçareoginstalação 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: Instalado: (nenhum) Candidato: 1.8.1-2ubuntu2 Tabela de versões: 1.8.1-2ubuntu2 0 500http://archive.ubuntu.com/ubuntu/pacotes amd64 confiáveis/principais gir1.2-peas-1.0: Instalado: (nenhum) Candidato: 1.8.1-2ubuntu2 Tabela de versões: 1.8.1-2ubuntu2 0 500http://archive.ubuntu.com/ubuntu/Pacotes amd64 confiáveis/principais
Então, usando command apt-get install libpeas-1.0-0 gir1.2-peas-1.0
, a saída foi:
Os seguintes pacotes têm dependências não atendidas: libpeas-1.0-0: Depende: libpython3.4 (>= 3.4~b1) mas não será instalado
E: Incapaz de corrigir problemas, você guardou pacotes quebrados.
Depois de usar o comando apt-cache policy libpython3.4
a saída foi:
libpython3.4:
Instalado: (nenhum)
Candidato: 3.4.0-2ubuntu1.1
Tabela de versões:
> 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:
Os seguintes pacotes têm dependências não atendidas:
libpython3.4: Depende: libpython3.4-stdlib (= 3.4.0-2ubuntu1.1) mas >3.4.3-1ubuntu1~14.04.1 deve ser instalado
E: Incapaz de corrigir problemas, você guardou pacotes quebrados.
Depois de usar o comando sudo apt-get install libpython3.4-stdlib
a saída foi:
Lendo listas de pacotes... Concluído Construindo árvore de dependências Lendo informações de estado... Concluído libpython3.4-stdlib já é a versão mais recente. 0 atualizado, 0 recém-instalado, 0 para remover e 0 não atualizado.
Como posso resolver esse problema?
Responder1
Instale a versão correta dolibpython3.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
precisaexatoversão 3.4.0-2ubuntu1.1
enãosua 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