canela não instalando no Ubuntu 13.04

1

Eu tenho tentado instalar o canela no meu Ubuntu 13.04 e quando eu dou

sudo apt-get install cinnamon

Eu recebo o erro como:

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: 
 cinnamon : Depends: libgjs0-libmozjs185-1.0
        Recommends: nemo but it is not going to be installed
        Recommends: cinnamon-screensaver but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
    
por Aswin Murugesh 06.05.2013 / 15:16

3 respostas

3

Isso aconteceu comigo quando eu já tinha instalado o Gnome no Ubuntu.

Depois de instalar o Aptitude e usá-lo para instalar, ele me deu a opção de fazer o downgrade do Gnome para instalar o Cinnamon. Se você fizer isso canela deve instalar.

$ sudo apt-get install aptitude
$ sudo aptitude install cinnamon
[sudo] password for <USER>: 
The following NEW packages will be installed:
  cinnamon{b} gir1.2-muffin-3.0{a} libmuffin0{a} muffin-common{a} 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,255 kB of archives. After unpacking 9,065 kB will be used.
The following packages have unmet dependencies:
 cinnamon : Depends: libgjs0-libmozjs185-1.0 which is a virtual package.
            Depends: libmozjs185-1.0 (>= 1.8.5-1.0.0+dfsg) but it is not going to be installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     cinnamon [Not Installed]                           



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Install the following packages:                                                           
1)     libmozjs185-1.0 [1.8.5-1.0.0+dfsg-4 (raring)]                                           

     Downgrade the following packages:                                                         
2)     gjs [1.36.1+js17-0ubuntu1~raring0 (now, raring) -> 1.34.0-0ubuntu1 (raring)]            
3)     gnome-shell [3.8.1-0ubuntu1~raring1.2 (now, raring) -> 3.6.3.1-0ubuntu6 (raring)]       
4)     gnome-shell-common [3.8.1-0ubuntu1~raring1.2 (now, raring) -> 3.6.3.1-0ubuntu6 (raring)]
5)     gnome-sushi [3.8.0-1~ubuntu13.04.2 (now, raring) -> 3.6.1-0ubuntu1 (raring)]            
6)     libgjs0c [1.36.1+js17-0ubuntu1~raring0 (now, raring) -> 1.34.0-0ubuntu1 (raring)]       



Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  gjs gnome-shell gnome-shell-common gnome-sushi libgjs0c 
The following NEW packages will be installed:
  cinnamon gir1.2-muffin-3.0{a} libmozjs185-1.0{a} libmuffin0{a} muffin-common{a} 
0 packages upgraded, 5 newly installed, 5 downgraded, 0 to remove and 0 not upgraded.
Need to get 4,992 kB of archives. After unpacking 12.4 MB will be used.
Do you want to continue? [Y/n/?] y

você terá que inserir o 'n' e dois 'y's para instalar.

    
por daboross 15.05.2013 / 08:00
0

Esta é uma solução relativamente fácil, pelo menos fácil de experimentar! :) Parece que você tem um pacote / dependência quebrado, uma solução fácil.

Faça isso:

sudo apt-get clean && sudo apt-get update

Deve corrigir o seu erro de pacotes quebrados, então você pode executar o comando sudo apt-get install cinammon para instalá-lo!

Boa sorte!

    
por RPi Awesomeness 07.05.2013 / 02:11
0

O problema parece estar na prioridade do pino com o PPA. Isso deve corrigir o problema.

Abra o arquivo de preferências:

    gksu gedit /etc/apt/preferences

Em seguida, adicione isso na parte inferior:

    Package: *
    Pin: origin ppa.launchpad.net
    Pin-Priority: 700

Salve e feche o arquivo, abra seu terminal para atualizar seus pacotes e instale o canela.

    sudo apt-get update && sudo apt-get install cinnamon

Isso deve funcionar.

Eu mudei para o Linux Mint 15 para minha escolha pessoal de distro e é isso que eu tive que fazer para conseguir o lançamento mais recente do cano e do nemo na minha máquina.

    
por VooDooStevie 09.11.2013 / 18:59