Precisa de ajuda com dpkg quebrado

0

Eu estava tentando instalar o git-lfs no UBuntu 14.04. Houve algum erro, algumas etapas que eu fiz ao acaso e não lembro a seqüência exata de etapas, mas estou preso a isso.

Sempre que eu tento instalar qualquer pacote, recebo o erro abaixo -

root@saurabh-Lenovo-Z50-70:~# apt-get install iperf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  iperf
0 upgraded, 1 newly installed, 0 to remove and 148 not upgraded.
1 not fully installed or removed.
Need to get 0 B/54.4 kB of archives.
After this operation, 169 kB of additional disk space will be used.
(Reading database ... 139 files and directories currently installed.)
Preparing to unpack .../iperf_2.0.5-3_i386.deb ...
Unpacking iperf (2.0.5-3) over (2.0.5-3) ...
dpkg: error processing package git-lfs (--configure):
 package git-lfs is already installed and configured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of iperf:
 iperf depends on libc6 (>= 2.15); however:
  Package libc6 is not installed.
 iperf depends on libgcc1 (>= 1:4.1.1); however:
  Package libgcc1 is not installed.
 iperf depends on libstdc++6 (>= 4.1.1); however:
  Package libstdc++6 is not installed.

dpkg: error processing package iperf (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 git-lfs
 iperf
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@saurabh-Lenovo-Z50-70:~# 

Eu tentei remover o git-lfs fazendo o apt-get purge git-lfs, apt-get autoclean mas nada parece ajudar.

Por favor, deixe-me saber como o dpkg pode ser corrigido. Eu não preciso mais de git-lfs, então estou bem para removê-lo completamente.

Tentei as sugestões em Sistema de pacotes está quebrado. Como consertar isso? .

root@saurabh-Lenovo-Z50-70:~# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 144 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package git-lfs (--configure):
 package git-lfs is already installed and configured
Errors were encountered while processing:
 git-lfs
E: Sub-process /usr/bin/dpkg returned an error code (1)

apt-get clean e apt-get update funcionam, mas o apt-get install -f falha. E eu não tive synaptic instalado antes disso, então agora não é capaz de instalar qualquer novo pacote.

    
por saurabhSen1986 26.03.2018 / 10:57

0 respostas