Não é possível instalar nenhum pacote

0

Sempre que eu tento instalar um novo pacote, por exemplo:

    sudo apt-get install gnome-system-monitor

Eu recebo o mesmo erro:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
gnome-system-monitor is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
wvdial:i386 : Depends: libuniconf4.6:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Quando tentei em vez disso 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:
libuniconf4.6:i386
The following NEW packages will be installed: libuniconf4.6:i386
0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded.
1 not fully installed or removed.
Need to get 0 B/133 kB of archives.
After this operation, 439 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 240834 files and directories currently installed.)
Preparing to unpack .../libuniconf4.6_4.6.1-7_i386.deb ...
Unpacking libuniconf4.6 (4.6.1-7) ...
dpkg: error processing archive /var/cache/apt/archives/libuniconf4.6_4.6.1-7_i386.deb (--unpack): trying to overwrite /etc/uniconf.conf, which is also in package libuniconf4.4 4.4.1-0.2ubuntu2
Errors were encountered while processing:
/var/cache/apt/archives/libuniconf4.6_4.6.1-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Além disso:

  • Eu removi os arquivos /etc/uniconf.conf e /var/cache/apt/archives/libuniconf4.6_4.6.1-7_i386.deb manualmente

  • Eu corri sudo apt-get autoclean e sudo apt-get clean

Mas nada resolveu o problema, o que mais eu posso fazer?

    
por Muhammad Mohsen 22.07.2014 / 15:06

1 resposta

0

Tente isso por sua conta e risco

sudo dpkg -i --force-overwrite /var/cache/apt/archives/*.deb
    
por kenn 22.07.2014 / 15:16