Não é possível instalar o shell do panteão e os ajustes básicos devido a dependências ausentes [duplicado]

0

Eu estou no Ubuntu 14.04. Desejo instalar dois pacotes: pantheon-shell e elementary-tweaks , mas recebendo o seguinte erro:

$ sudo apt-get install pantheon-shell
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:
 pantheon-shell : Depends: slingshot-launcher but it is not going to be installed
              Recommends: gala but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt-get install elementary-tweaks
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:
 elementary-tweaks : Depends: gala but it is not going to be installed
                 Depends: slingshot-launcher but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Eu tentei isso, não ajudou:

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    
por Edward Torvalds 20.03.2015 / 23:35

2 respostas

0

Tente o seguinte, na ordem mostrada

sudo apt-get autoclean && apt-get clean
sudo aptitude update && sudo aptitude -y upgrade
sudo aptitude install <package>
    
por s1mmel 20.03.2015 / 23:48
0

Eu acho que os repositórios têm os mesmos pacotes, mas com versões diferentes?

Acho que você precisa do APT Pinning para dizer ao apt qual repositório você prefere instalar.

ppa:elementary-os/testing
ppa:elementary-os/daily

Isso pode ser seu problema. Você precisa dar a esses repositórios.

    
por s1mmel 21.03.2015 / 00:20