Running sudo apt-get dist-upgrade I see this warning:
dpkg: warning: files list file for package 'linux-headers-3.16.0-37' missing; assuming package has no files currently installed
This on my 16.04.2 LTS installation running the 4.4.0-70-generic kernel. The only other kernel installed is 4.4.0-69-generic. I haven't had a 3.x kernel in a long, long time.
What is dpkg looking at that drives this warning message? It implies some piece of cruft is still laying about that needs to be removed, but I haven't figured out what it is. Ideas? Pointers? Solutions?
I do not like untidiness!
Added:
Think I found the issue. Although I don't have any 3.16.* kernel installed, I did find; using locate linux-headers-3.16; the following files:
/usr/share/doc/linux-headers-3.16.0-37
/usr/share/doc/linux-headers-3.16.0-37/changelog.Debian.gz
/usr/share/doc/linux-headers-3.16.0-37/copyright
I removed those files (and the directory); updated the locate database; re-ran sudo apt-get update && sudo apt-get dist-upgrade and the dpkg warning no longer is reported. I'll remain observant in case it returns, but for now I think this issue is resolved.
dpkg: warning: files list file for package 'linux-headers-3.16.0-37' missing; assuming package has no files currently installed
This on my 16.04.2 LTS installation running the 4.4.0-70-generic kernel. The only other kernel installed is 4.4.0-69-generic. I haven't had a 3.x kernel in a long, long time.
What is dpkg looking at that drives this warning message? It implies some piece of cruft is still laying about that needs to be removed, but I haven't figured out what it is. Ideas? Pointers? Solutions?
I do not like untidiness!
Added:
Think I found the issue. Although I don't have any 3.16.* kernel installed, I did find; using locate linux-headers-3.16; the following files:
/usr/share/doc/linux-headers-3.16.0-37
/usr/share/doc/linux-headers-3.16.0-37/changelog.Debian.gz
/usr/share/doc/linux-headers-3.16.0-37/copyright
I removed those files (and the directory); updated the locate database; re-ran sudo apt-get update && sudo apt-get dist-upgrade and the dpkg warning no longer is reported. I'll remain observant in case it returns, but for now I think this issue is resolved.
Comment