[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1023779: linux: deleting the kernel image package leaves back /lib/modules/<version> when a kernel package was built



Hey Diederik and Bastian

On Thu, 2022-11-10 at 13:07 +0100, Bastian Blank wrote:
> Those symlinks are included in linux-headers-6.0.0-3-amd64, see
> https://packages.debian.org/sid/amd64/linux-headers-6.0.0-3-amd64/filelist
> 
> Did you remove that package as well?


You are both right, I have linux-headers-6.0.0-3-amd64 and totally
forgotten about that.

But nevertheless, shouldn't that then contain those files and dpkg not
print out an error then?
And indeed:
$ dpkg -L linux-headers-6.0.0-3-amd64 | grep '^/lib'
/lib
/lib/modules
/lib/modules/6.0.0-3-amd64
/lib/modules/6.0.0-3-amd64/build
/lib/modules/6.0.0-3-amd64/source

So I'm a bit surprised why I saw some error at all in that case.


Thanks,
Chris.


Reply to: