não pode instalar o software - posso consertar o dpkg em falta?

0

New software can't be installed, because there is a problem with the software currently installed. Do you want to repair now?

clique em Repair

Package operation failed 
The installation or removal of a software package failed.
Details => installArchives()failed:Could not exec dpkg!
Error in function

(synaptic:12725): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)
A package failed to install.  Trying to recover:
sh: 1: dpkg: not found
    
por Tom Connolly 30.05.2014 / 23:18

1 resposta

2

Teste isso:

Abra um terminal

Pressione Ctrl + Alt + T

Execute:

sudo -i
mkdir /tmp/dpkg
cd /tmp/dpkg
wget http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.17.5ubuntu5.2_i386.deb
or
wget http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.17.5ubuntu5.2_amd64.deb
ar x dpkg*.deb data.tar.gz
tar xfvz data.tar.gz ./usr/bin/dpkg
cp ./usr/bin/dpkg /usr/bin/
apt-get update
apt-get install --reinstall dpkg
    
por kyodake 31.05.2014 / 00:24