My / on my ssd is smaller than optimal. I keep deleting things when it gets too big. In /var I deleted) some linux-headers-3.xx that I thought was old old invalid headers after I installed a new kernel. Silly me.
On an apt-get dist-upgrade I got some warnings, and they continue
sudo apt-get install libdatetime-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libdatetime-perl
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
[size=78%] [/size]
#### a little skipped here, the update went well
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
dpkg: warning: files list file for package 'linux-headers-3.19.3-towo.3-siduction-amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'linux-headers-3.18-5.towo.3-siduction-amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'linux-headers-3.17-5.towo-siduction-amd64' missing; assuming package has no files currently installed
(Reading database ... 184912 files and directories currently installed.)
I saw elsewhere - something similar on Ubuntu 13.04 and did (I have used these commands before)
sudo dpkg --configure -a
sudo apt-get -f install
sudo rm /var/lib/apt/lists/* -rf
sudo apt-get update
Then I tried "apt-get remove ncdu" followed by "apt-get install ncdu. It still comlains about missing headers
So I did and apt-get install of the three linux-headers-3 ... the important lines were
linux-headers-3.19.3-towo.3-siduction-amd64 is already the newest version (3.19-12).
linux-headers-3.19.3-towo.3-siduction-amd64 is already the newest version (3.19-12).
linux-headers-3.17-5.towo-siduction-amd64 is already the newest version (3.17-13).
It still continues with further updates, but causes no problems. I do not have these headers listed as available on 2 Debian testing installs - searched via aptitude search. In siduction
apt-cache search linux-headers-3
linux-headers-3.18-6.towo-siduction-amd64 - Header files for Linux 3.18-6.towo-siduction-amd64
linux-headers-3.19-0.towo-siduction-amd64 - Header files for Linux 3.19-0.towo-siduction-amd64
linux-headers-3.19-0.towo.2-siduction-amd64 - Header files for Linux 3.19-0.towo.2-siduction-amd64
linux-headers-3.19.0-0.towo.3-siduction-amd64 - Header files for Linux 3.19.0-0.towo.3-siduction-amd64
linux-headers-3.19.1-towo.1-siduction-amd64 - Header files for Linux 3.19.1-towo.1-siduction-amd64
linux-headers-3.19.1-towo.2-siduction-amd64 - Header files for Linux 3.19.1-towo.2-siduction-amd64
linux-headers-3.19.1-towo.3-siduction-amd64 - Header files for Linux 3.19.1-towo.3-siduction-amd64
linux-headers-3.19.2-towo.1-siduction-amd64 - Header files for Linux 3.19.2-towo.1-siduction-amd64
linux-headers-3.19.2-towo.2-siduction-amd64 - Header files for Linux 3.19.2-towo.2-siduction-amd64
linux-headers-3.19.3-towo.1-siduction-amd64 - Header files for Linux 3.19.3-towo.1-siduction-amd64
linux-headers-3.19.3-towo.2-siduction-amd64 - Header files for Linux 3.19.3-towo.2-siduction-amd64
linux-headers-3.19.3-towo.3-siduction-amd64 - Header files for Linux 3.19.3-towo.3-siduction-amd64
linux-headers-3.7-3.7-10.towo-siduction-amd64 - Header files for Linux 3.7-10.towo-siduction-amd64
linux-headers-3.7-siduction-amd64 - Linux header for siduction on 64-bit PCs
linux-headers-35-3.5-6.towo-siduction-amd64 - Header files for Linux 3.5-6.towo-siduction-amd64
linux-headers-35-siduction-amd64 - Linux header for siduction on 64-bit PCs
linux-headers-3.18-5.towo.3-siduction-amd64 - Header files for Linux 3.18-5.towo.3-siduction-amd64
linux-headers-3.17-5.towo-siduction-amd64 - Header files for Linux 3.17-5.towo-siduction-amd64
Beautiful day, enjoy.