E: flAbsPath em / var / lib / dpkg / status falhou sempre que tentava instalar algum software ou atualizar no Kali Linux 2.0

0
#apt-get update

Fetched 26.5 MB in 3min 1s (146 kB/s)                                          

Output directory /var/lib/debtags/ does not exist
Reading package lists... Error!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file  - open (2: No such file or directory)
E: Problem opening 
E: The package lists or status file could not be parsed or opened.
    
por MRaj Hadule 07.06.2017 / 16:14

1 resposta

0

Abra o terminal e digite:

sudo mkdir /var/lib/debtags
sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
sudo apt update  

Se você receber um erro que diz: E: Lists directory /var/lib/apt/lists/partial is missing execute este comando para criar o diretório ausente:

sudo mkdir /var/lib/apt/lists/partial
    
por 07.06.2017 / 16:38