Não é possível remover pacotes temáticos do burg

0

Hoje, depois de tentar instalar e remover o BURG e alguns temas, enfrentei um problema. Agora não consigo instalar ou remover nada.

Aqui está a saída (infelizmente em parte no finlandês, não consegui alterar o idioma, pois parece depender também das listagens de pacotes:

lassi@lassi-ubuntu:~$ sudo apt-get autoremove
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu       
Luetaan tilatietoja... Valmis       
Seuraavat paketit POISTETAAN:
  burg-theme-fortune burg-theme-gnome burg-theme-picchio
0 päivitetty, 0 uutta asennusta, 3 poistettavaa ja 0 päivittämätöntä.
3 ei asennettu kokonaan tai poistettiin.
Toiminnon jälkeen vapautuu 7 180 k t levytilaa.
Haluatko jatkaa [K/e]? k
(Luetaan tietokantaa... 166462 files and directories currently installed.)
Poistetaan pakettia burg-theme-fortune...
sudo: update-burg: command not found
dpkg: virhe käsiteltäessä burg-theme-fortune (--remove):
 aliprosessi installed post-removal script palautti virhetilakoodin 1
Poistetaan pakettia burg-theme-gnome...
sudo: update-burg: command not found
dpkg: virhe käsiteltäessä burg-theme-gnome (--remove):
 aliprosessi installed post-removal script palautti virhetilakoodin 1
Poistetaan pakettia burg-theme-picchio...
sudo: update-burg: command not found
dpkg: virhe käsiteltäessä burg-theme-picchio (--remove):
 aliprosessi installed post-removal script palautti virhetilakoodin 1
Käsittelyssä tapahtui liian monta virhettä:
 burg-theme-fortune
 burg-theme-gnome
 burg-theme-picchio
E: Sub-process /usr/bin/dpkg returned an error code (1)

Basicamente, o que parece acontecer é isto:

Cria as listas de pacotes, depois tenta remover o pacote burg-theme-fortune. Isso falha porque o comando update-burg não foi encontrado. Então o dpkg reporta um erro ao processar o pacote.

O mesmo acontece com todos os 3 pacotes.

No final, afirma que houve muitos erros e os pacotes permanecem instalados.

Eu também tentei instalar o burg como ele tenta executar o comando update-burg, mas parece que ele tenta excluir esses pacotes sempre quando tento instalar ou remover ou fazer qualquer coisa com o apt.

Alguma idéia de como eu poderia resolver esse problema?

Edit: Aqui está a saída do apt-get install burg (tentei instalar novamente para obter a saída em inglês)

    lassi@lassi-ubuntu:~$ LC_ALL=C sudo apt-get install burg
[sudo] password for lassi: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
burg is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/6169 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 167497 files and directories currently installed.)
Preparing to replace burg-theme-fortune 0.5.0-1 (using .../burg-theme-fortune_0.5.0-1_all.deb) ...
Unpacking replacement burg-theme-fortune ...
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: error processing /var/cache/apt/archives/burg-theme-fortune_0.5.0-1_all.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Preparing to replace burg-theme-gnome 0.5.0-1 (using .../burg-theme-gnome_0.5.0-1_all.deb) ...
Unpacking replacement burg-theme-gnome ...
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: error processing /var/cache/apt/archives/burg-theme-gnome_0.5.0-1_all.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Preparing to replace burg-theme-picchio 0.5.0-1 (using .../burg-theme-picchio_0.5.0-1_all.deb) ...
Unpacking replacement burg-theme-picchio ...
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: error processing /var/cache/apt/archives/burg-theme-picchio_0.5.0-1_all.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
Generating burg.cfg ...
/usr/sbin/burg-probe: error: cannot stat '/boot/burg/locale'.
No path or device is specified.
Try '/usr/sbin/burg-probe --help' for more information.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/burg-theme-fortune_0.5.0-1_all.deb
 /var/cache/apt/archives/burg-theme-gnome_0.5.0-1_all.deb
 /var/cache/apt/archives/burg-theme-picchio_0.5.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
lassi@lassi-ubuntu:~$ 
    
por Lassi 26.03.2012 / 21:57

1 resposta

2

Este é um tiro longo, mas você pode tentar:

sudo mkdir /boot/burg
sudo touch /boot/burg/locale

Em seguida, tente novamente para reinstalar o burg:

sudo apt-get install --reinstall burg burg-theme-fortune burg-theme-gnome burg-theme-picchio

Quando tudo estiver instalado, remova os temas primeiro e, finalmente, Burg.

    
por htorque 27.03.2012 / 09:27