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

Bug#657734: file build.save is not removed on purging package



Am 28.01.2012 16:14, schrieb Ben Hutchings:
> On Sat, 2012-01-28 at 14:09 +0100, Patrick Matthäi wrote:
>> Package: linux-2.6
>> Version: 3.2.1-2
>> Severity: minor
>>
>> Hello,
>>
>> if you are building kernel modules on your own (or with dkms) the
>> symlink /lib/modules/<version>/build.save will be created with the
>> source /usr/src/<version>
>> If you purge all related <version> packages
>> (linux-{kbuild,image,headers}) the (now) broken symlink is not removed
>> and so on the whole folder /lib/modules/<version> will not be removed
>> (not empty dir).
>>
>> So on purging the package (headers or image?) the build.save symlink
>> should be removed.
> 
> If we don't create it, we shouldn't remove it.

Maybe it is created by depmod, dkms or whatever. But if you purge
linux-headers-<version> the symlink will become broken and it is not
required if you remove both (image and headers) packages. It just
prevents dpkg to remove /lib/modules/<version> :(

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatthaei@debian.org
        patrick@linux-dev.org
*/

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: