Não é possível abrir o Software Center ou o Update Manager

-1

Estou usando o Xubuntu 12.04 64bit. Percebi que não consigo abrir o centro de software ou o gerenciador de atualização.

Quando tento abrir o Update Manager, ele informa que a problem occurred while checking for updates .

Ao iniciar o centro de software, uma mensagem de erro aparecerá e informar-me

Failed to execute command "/usr/bin/software-center %u". 
Failed to execute child process "/usr/bin/software-center" (No such file or directory)

A execução de uma atualização do sudo apt-get revela ainda mais problemas

david@david-laptop:~$ sudo apt-get upgrade
[sudo] password for david: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/689 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 ... 575296 files and directories currently installed.)
Preparing to replace python-software-properties 0.82.7.7 (using .../python-software-properties_0.82.7.7_all.deb) ...
/var/lib/dpkg/info/python-software-properties.prerm: 6: /var/lib/dpkg/info/python-software-properties.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing /var/cache/apt/archives/python-software-properties_0.82.7.7_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python-software-properties.postinst: 6: /var/lib/dpkg/info/python-software-properties.postinst: pycompile: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Preparing to replace software-center 5.2.10 (using .../software-center_5.2.10_all.deb) ...
/var/lib/dpkg/info/software-center.prerm: 6: /var/lib/dpkg/info/software-center.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing /var/cache/apt/archives/software-center_5.2.10_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/software-center.postinst: 8: /var/lib/dpkg/info/software-center.postinst: pycompile: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Preparing to replace software-properties-common 0.82.7.7 (using .../software-properties-common_0.82.7.7_all.deb) ...
/var/lib/dpkg/info/software-properties-common.prerm: 6: /var/lib/dpkg/info/software-properties-common.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing /var/cache/apt/archives/software-properties-common_0.82.7.7_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/software-properties-common.postinst: 6: /var/lib/dpkg/info/software-properties-common.postinst: pycompile: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Preparing to replace software-properties-gtk 0.82.7.7 (using .../software-properties-gtk_0.82.7.7_all.deb) ...
/var/lib/dpkg/info/software-properties-gtk.prerm: 6: /var/lib/dpkg/info/software-properties-gtk.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing /var/cache/apt/archives/software-properties-gtk_0.82.7.7_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
No apport report written because MaxReports is reached already
                                                              /var/lib/dpkg/info/software-properties-gtk.postinst: 11: /var/lib/dpkg/info/software-properties-gtk.postinst: pycompile: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/python-software-properties_0.82.7.7_all.deb
 /var/cache/apt/archives/software-center_5.2.10_all.deb
 /var/cache/apt/archives/software-properties-common_0.82.7.7_all.deb
 /var/cache/apt/archives/software-properties-gtk_0.82.7.7_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)'

Estou realmente perdido aqui e qualquer ajuda é apreciada.

Agradecemos antecipadamente a quem puder me ajudar

    
por David Burkett 30.03.2014 / 21:44

2 respostas

0

experimente o sudo apt-get -f install. ele mostra o mesmo erro, então isso significa que há algo errado com os pacotes baixados. você deve ter outro ppa instalado que substituiu os pacotes estáveis pelos buggy. então digite o seguinte no terminal

sudo apt-get remove python-software-properties software-center software-propriedades-comum software-propriedades-gtk

depois sudo apt-get autoclean e eles sudo apt-get autoremove. tente descobrir se você instalou um ppa não confiável. se você sentir que não fez nada, reinstale-os usando

sudo apt-get instala python-software-properties software-center software-propriedades-comum software-propriedades-gtk

para ver se o problema persiste

    
por aveemashfaq 30.03.2014 / 22:44
0

Tente executar sudo apt-get update e, em seguida, sudo apt-get -f install e, se o problema persistir, verifique se você adicionou algum PPA não confiável.

Se você fez isso, poderá removê-los fazendo sudo apt-get install ppa-purge e, em seguida, sudo ppa-purge [ppa link here] . Depois de removê-lo, você pode prosseguir e digitar os dois primeiros comandos novamente.

    
por joseeantonior 30.03.2014 / 23:21