“Problema no programa do sistema detectado” - “Erro: Subprocesso / usr / bin / dpkg retornou um código de erro (1)”

0

Sou muito novato no Linux, por isso ficaria feliz com uma resposta passo a passo.

Estou usando o ubuntu 15.10 (atualizado recentemente)

Talvez eu deva enfatizar que a atualização não foi completa ou totalmente porque meu notebook desligou (temperatura central muito alta) durante o processo (quando estava quase pronto).

Agora, tudo que eu tento instalar ou atualizar termina com o mesmo erro ( Sub-process /usr/bin/dpkg returned an error code (1) ), como mostrado abaixo.

Por causa disso, o sistema está exibindo a mensagem "Problema do programa do sistema detectado" toda vez que o sistema é iniciado.

Eu tentei todas as outras soluções dadas nas possíveis duplicatas, mas nenhuma funcionou.

Espero que você possa me ajudar. Desde já, obrigado!

Log started: 2016-03-28  18:28:24  

Selecting previously unselected
 package compiz-plugins:amd64.

(Reading database ...  
(Reading
 database ... 5% 
(Reading database ... 10% 
(Reading database ... 15%

 (Reading database ... 20% (Reading database ... 25% (Reading database
 ... 30% (Reading database ... 35% (Reading database ... 40% (Reading
 database ... 45% (Reading database ... 50% (Reading database ... 55%
 (Reading database ... 60% (Reading database ... 65% (Reading database
 ... 70% (Reading database ... 75% (Reading database ... 80% (Reading
 database ... 85% (Reading database ... 90% (Reading database ... 95%
 (Reading database ... 100% (Reading database ... 311327 files and
 directories currently installed.)  Preparing to unpack
 .../compiz-plugins_1%3a0.9.12.2+15.10.20151202-0ubuntu1_amd64.deb ... 
 Unpacking compiz-plugins:amd64 (1:0.9.12.2+15.10.20151202-0ubuntu1)
 ...  Selecting previously unselected package compiz-plugins-extra. 
 Preparing to unpack
 .../compiz-plugins-extra_1%3a0.9.12.2+15.10.20151202-0ubuntu1_all.deb
 ...  Unpacking compiz-plugins-extra
 (1:0.9.12.2+15.10.20151202-0ubuntu1) ...  Setting up
 openstack-dashboard-ubuntu-theme (2:8.0.1-0ubuntu1) ...  Collecting
 and compressing static assets...  ***Job for apache2.service invalid. 
 dpkg: error processing package openstack-dashboard-ubuntu-theme
 (--configure):   subprocess installed post-installation script
 returned error exit status 1***  Setting up compiz-plugins:amd64
 (1:0.9.12.2+15.10.20151202-0ubuntu1) ...  Setting up
 compiz-plugins-extra (1:0.9.12.2+15.10.20151202-0ubuntu1) ...  ***Errors
 were encountered while processing:   openstack-dashboard-ubuntu-theme*** 
 Log ended: 2016-03-28  18:30:47   

 Log started: 2016-03-28  18:59:10 
 Selecting previously unselected package python-xlib.  (Reading
 database ...  (Reading database ... 5% (Reading database ... 10%
 (Reading database ... 15% (Reading database ... 20% (Reading database
 ... 25% (Reading database ... 30% (Reading database ... 35% (Reading
 database ... 40% (Reading database ... 45% (Reading database ... 50%
 (Reading database ... 55% (Reading database ... 60% (Reading database
 ... 65% (Reading database ... 70% (Reading database ... 75% (Reading
 database ... 80% (Reading database ... 85% (Reading database ... 90%
 (Reading database ... 95% (Reading database ... 100% (Reading database
 ... 311462 files and directories currently installed.)  Preparing to
 unpack .../python-xlib_0.14+20091101-5_all.deb ...  Unpacking
 python-xlib (0.14+20091101-5) ...  Selecting previously unselected
 package key-mon.  Preparing to unpack
 .../key-mon_1.17-1ubuntu1_all.deb ...  Unpacking key-mon
 (1.17-1ubuntu1) ...  Processing triggers for gnome-menus
 (3.13.3-6ubuntu1) ...  Processing triggers for bamfdaemon
 (0.5.2~bzr0+15.10.20150627.1-0ubuntu1) ...  Rebuilding
 /usr/share/applications/bamf-2.index...  Processing triggers for
 desktop-file-utils (0.22-1ubuntu3) ...  Processing triggers for
 mime-support (3.58ubuntu1) ...  Processing triggers for
 hicolor-icon-theme (0.15-0ubuntu1) ...  Processing triggers for man-db
 (2.7.4-1) ...  Setting up openstack-dashboard-ubuntu-theme
 (2:8.0.1-0ubuntu1) ...  Collecting and compressing static assets... 
 ***Job for apache2.service invalid.  dpkg: error processing package
 openstack-dashboard-ubuntu-theme (--configure):   subprocess installed
 post-installation script returned error exit status 1***  Setting up
 python-xlib (0.14+20091101-5) ...  Setting up key-mon (1.17-1ubuntu1)
 ...  Log ended: 2016-03-28  19:01:47    

Log started: 2016-03-28 
 19:21:58  Setting up openstack-dashboard-ubuntu-theme
 (2:8.0.1-0ubuntu1) ...  Collecting and compressing static assets... 
 Job for apache2.service invalid.  dpkg: error processing package
 openstack-dashboard-ubuntu-theme (--configure):   subprocess installed
 post-installation script returned error exit status 1  Errors were
 encountered while processing:   openstack-dashboard-ubuntu-theme  
Log ended: 2016-03-28  19:23:33   

 Log started: 2016-03-29  13:02:17 
 Selecting previously unselected package lm-sensors.  (Reading database
 ...  (Reading database ... 5% (Reading database ... 10% (Reading
 database ... 15% (Reading database ... 20% (Reading database ... 25%
 (Reading database ... 30% (Reading database ... 35% (Reading database
 ... 40% (Reading database ... 45% (Reading database ... 50% (Reading
 database ... 55% (Reading database ... 60% (Reading database ... 65%
 (Reading database ... 70% (Reading database ... 75% (Reading database
 ... 80% (Reading database ... 85% (Reading database ... 90% (Reading
 database ... 95% (Reading database ... 100% (Reading database ...
 311846 files and directories currently installed.)  Preparing to
 unpack .../lm-sensors_1%3a3.4.0-2_amd64.deb ...  Unpacking lm-sensors
 (1:3.4.0-2) ...  Processing triggers for man-db (2.7.4-1) ... 
 Processing triggers for systemd (225-1ubuntu9.1) ...  Processing
 triggers for ureadahead (0.100.0-19) ...  ureadahead will be
 reprofiled on next reboot  Setting up openstack-dashboard-ubuntu-theme
 (2:8.0.1-0ubuntu1) ...  Collecting and compressing static assets... 
 Job for apache2.service invalid.  dpkg: error processing package
 openstack-dashboard-ubuntu-theme (--configure):   subprocess installed
 post-installation script returned error exit status 1  Setting up
 lm-sensors (1:3.4.0-2) ...  Processing triggers for systemd
 (225-1ubuntu9.1) ...  Processing triggers for ureadahead (0.100.0-19)
 ...  Errors were encountered while processing:  
 openstack-dashboard-ubuntu-theme Log ended: 2016-03-29  13:04:00   

 Log started: 2016-03-29  13:21:29  Setting up
 openstack-dashboard-ubuntu-theme (2:8.0.1-0ubuntu1) ...  Collecting
 and compressing static assets...  Job for apache2.service invalid. 
 dpkg: error processing package openstack-dashboard-ubuntu-theme
 (--configure):   subprocess installed post-installation script
 returned error exit status 1  Errors were encountered while
 processing:   openstack-dashboard-ubuntu-theme  Log ended: 2016-03-29 
 13:22:39    Log started: 2016-03-29  13:34:19  Setting up
 openstack-dashboard-ubuntu-theme (2:8.0.1-0ubuntu1) ...  Collecting
 and compressing static assets...  Job for apache2.service invalid. 
 dpkg: error processing package openstack-dashboard-ubuntu-theme
 (--configure):   subprocess installed post-installation script
 returned error exit status 1  Errors were encountered while
 processing:   openstack-dashboard-ubuntu-theme  Log ended: 2016-03-29 
 13:35:31    

Log started: 2016-03-29  14:05:31  Selecting previously
 unselected package reduce-algebra-fonts.  (Reading database ... 
 (Reading database ... 5% (Reading database ... 10% (Reading database
 ... 15% (Reading database ... 20% (Reading database ... 25% (Reading
 database ... 30% (Reading database ... 35% (Reading database ... 40%
 (Reading database ... 45% (Reading database ... 50% (Reading database
 ... 55% (Reading database ... 60% (Reading database ... 65% (Reading
 database ... 70% (Reading database ... 75% (Reading database ... 80%
 (Reading database ... 85% (Reading database ... 90% (Reading database
 ... 95% (Reading database ... 100% (Reading database ... 311881 files
 and directories currently installed.)  Preparing to unpack
 .../reduce-algebra-fonts_20110414-1~getdeb2_all.deb ...  Unpacking
 reduce-algebra-fonts (20110414-1~getdeb2) ...  Selecting previously
 unselected package reduce-algebra.  Preparing to unpack
 .../reduce-algebra_20110414-1~getdeb2_amd64.deb ...  Unpacking
 reduce-algebra (20110414-1~getdeb2) ...  Selecting previously
 unselected package reduce-algebra-docs.  Preparing to unpack
 .../reduce-algebra-docs_20110414-1~getdeb2_all.deb ...  Unpacking
 reduce-algebra-docs (20110414-1~getdeb2) ...  Processing triggers for
 gnome-menus (3.13.3-6ubuntu1) ...  Processing triggers for bamfdaemon
 (0.5.2~bzr0+15.10.20150627.1-0ubuntu1) ...  Rebuilding
 /usr/share/applications/bamf-2.index...  Processing triggers for
 desktop-file-utils (0.22-1ubuntu3) ...  Processing triggers for
 mime-support (3.58ubuntu1) ...  Setting up
 openstack-dashboard-ubuntu-theme (2:8.0.1-0ubuntu1) ...  Collecting
 and compressing static assets...  Job for apache2.service invalid. 
 dpkg: error processing package openstack-dashboard-ubuntu-theme
 (--configure):   subprocess installed post-installation script
 returned error exit status 1  Setting up reduce-algebra-fonts
 (20110414-1~getdeb2) ...  Setting up reduce-algebra
 (20110414-1~getdeb2) ...  Setting up reduce-algebra-docs
 (20110414-1~getdeb2) ...  Errors were encountered while processing:  
 openstack-dashboard-ubuntu-theme  Log ended: 2016-03-29  14:08:13
    
por Vinicius Costa 30.03.2016 / 18:36

1 resposta

0

Uma possibilidade seria dpkg-reconfigure package-name, mas duvido que funcione. Você ainda pode tentar.

Tente também sudo apt-get -f install (-f para correção) e se isso não ajudar, eu tentarei remover alguns pacotes que não serão atualizados / instalados. Após a remoção, você pode instalá-los novamente. As configurações não serão perdidas, a menos que você use --purge.

Mas tenha cuidado com isso e sempre use -s first (-s para simular) para ver as ações resultantes. Não desinstale pacotes que são requisitos de muitos outros pacotes.

    
por noreabu 30.03.2016 / 19:07