Erro de pacote impossibilitando a instalação de qualquer coisa em 12.10

0

Outro dia eu estava experimentando diferentes ambientes de desktop, como o Pantheon, o Gnome, etc.

Mas quando eu estava tentando instalar o Pantheon / Elementary Shell, surgiu um erro. Eu ignorei pensando que não era nada importante (porque era apenas sobre os temas). E alguns dias antes disso, eu estava testando diferentes temas com o gerenciador de janelas e ícones, um dos temas era o pacote Elementary Icon. Agora, sempre que tento instalar algo, ele me diz para digitar sudo apt-get -f install e, quando eu o digito, recebo alguns erros. Aqui está a saída:

$ sudo apt-get install cinnamon

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 cinnamon : Depends: gir1.2-muffin-3.0 but it is not going to be installed
        Depends: libmuffin0 (>= 1.1.2) but it is not going to be installed
        Depends: caribou but it is not going to be installed
        Depends: mesa-utils but it is not going to be installed
        Depends: gkbd-capplet but it is not going to be installed
        Recommends: nemo but it is not going to be installed
 elementary-artwork : Depends: elementary-theme but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get -f install

 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Correcting dependencies... Done
 The following extra packages will be installed:
  elementary-theme
    The following NEW packages will be installed:
  elementary-theme
    0 upgraded, 1 newly installed, 0 to remove and 41 not upgraded.
     2 not fully installed or removed.
     Need to get 0 B/57.4 kB of archives.
     After this operation, 415 kB of additional disk space will be used.
     Do you want to continue [Y/n]? y
 (Reading database ... 279974 files and directories currently installed.)
 Unpacking elementary-theme (from .../elementary-theme_3.2-0~r601+pkg289~quantal1_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/elementary-theme_3.2-0~r601+pkg289~quantal1_all.deb (--unpack):
 trying to overwrite '/usr/share/themes/elementary/gtk-3.0/toolbar.css', which is  also in package elementary 3.1
 Errors were encountered while processing:
  /var/cache/apt/archives/elementary-theme_3.2-0~r601+pkg289~quantal1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"

No lugar das notificações (na unidade, a barra superior, o gnome, o centro de notificações na parte inferior da tela), há um erro dizendo:

An error occurred. Please run Package Manager from the right-click menu or run apt-get in a terminal to see what is wrong. The Error message was: Error: BrokenCount > 0". This usually means that your installed packages must have unmet dependencies.

    
por Scott 30.03.2013 / 06:55

1 resposta

1

Eu encontrei a correção para isso, eu digitei este comando no terminal:

sudo dpkg -i --force-overwrite /var/cache/apt/archives/elementary-theme_3.2-0~r601+pkg289~quantal1_all.deb

Então eu re-digitei o comando anterior:

sudo apt-get -f install

Então tudo voltou ao normal e agora tudo está funcionando bem.

    
por Scott Walters 30.03.2013 / 07:34