web-dev-qa-db-fra.com

cannelle pas installer dans Ubuntu 13.04

J'ai essayé d'installer la cannelle dans mon Ubuntu 13.04 et quand je donne

Sudo apt-get install cinnamon

Je reçois l'erreur comme:

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.
1
Aswin Murugesh

Cela m’est arrivé alors que j’avais déjà installé Gnome sur Ubuntu.

Après avoir installé Aptitude et utilisé pour l’installer, il m’a donné la possibilité de rétrograder Gnome afin d’installer Cinnamon. Si vous faites cela, Cinnamon devrait s'installer.

$ 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

vous devrez saisir le 'n' et les deux 'y' pour pouvoir l'installer.

3
daboross

Le problème semble être la priorité des broches avec le PPA. Cela devrait résoudre le problème.

Ouvrez le fichier de préférences:

    gksu gedit /etc/apt/preferences

Ajoutez ensuite ceci en bas:

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

Enregistrez et fermez le fichier et ouvrez votre terminal pour mettre à jour vos paquets, puis installez Cinnamon.

    Sudo apt-get update && Sudo apt-get install cinnamon

Cela devrait fonctionner.

Je suis passé à Linux Mint 15 pour mon choix personnel de distribution et c’est ce que j’avais à faire pour obtenir la dernière version de cannelle et nemo sur ma machine.

0
VooDooStevie

C'est une solution relativement facile, du moins une facile à essayer! :) Il semble que votre dépendance/paquet soit cassé, une solution facile.

Faire ceci:

Sudo apt-get clean && Sudo apt-get update

Cela devrait corriger l'erreur de paquets cassés, alors vous pouvez exécuter la commande Sudo apt-get install cinammon pour l'installer!

Bonne chance!

0
RPiAwesomeness