PDA

View Full Version : Kali linux rolling



cacaocaca
2016-06-21, 17:48
Hy guys when i try to install any software on apt or synaptic i have this error dpkg: warning: files with the list of the package "python-ctypeslib" missing file, the package is considered without any currently installed files .. I have translate sorry but this no just for python-ctypeslib but for any software . Today i have install kali linux 2.0 and automatic have upgrade to Rolling but when i have do apt-get update and afther apt-get upgrade he show me always this error i think this is one problem of dpkg i have read this guide so http://ubuntuforums.org/showthread.php?t=2247453 and do sudo rm -f /var/lib/dpkg/info/format and sudo dpkg --configure -a but the problem don t solve .. Thanks for your answer .

P373
2016-06-22, 14:20
Your on Debian so the Ubuntu way won't always work. Try dpkg: warning: files list file for package 'x' missing (https://serverfault.com/questions/430682/dpkg-warning-files-list-file-for-package-x-missing#430712)

cacaocaca
2016-06-22, 16:17
Thanks for answer but Here
for package in $(apt-get upgrade 2>&1 | grep "warning: files list file for package '" | grep -Po "[^'\n ]+'" | grep -Po "[^']+"); do apt-get install --reinstall "$package"; done
On "$package" he mean i need to text the package name? I have this error now when i install or upgrade
dpkg: warning: files list file for package 'python-ctypeslib' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-ecdsa' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-lzma' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-lzo' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-pyqtgraph' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'gccxml' missing; assuming package has no files currently installed

cacaocaca
2016-06-23, 16:01
Someone are able to resolve it ?

P373
2016-06-24, 04:33
If you installed Kali 2.0 and upgraded to Kali Rolling I can only suggest a fresh install of Kali Rolling.

cacaocaca
2016-06-24, 09:22
No man i have installed it 2 day ago becouse first he show me other problem .. Maybe is one bug i dont know

P373
2016-06-24, 18:13
No man i have installed it 2 day ago becouse first he show me other problem .. Maybe is one bug i dont know

If it's a fresh install try reinstalling. Only thing I can think.

cacaocaca
2016-06-28, 09:33
No is one good solution i have solved so
root@kali:~# sudo touch /var/lib/dpkg/info/python-ctypeslib.list
root@kali:~# apt-get upgrade
For every package .