Bug#356763: [Pkg-spca5xx-devel] Bug#356763: spca5xx-modules-2.6.15-1-486: purging leaves /lib/modules/2.6.15-1-486

Kel Modderman kelrin at tpg.com.au
Thu Mar 16 08:31:21 UTC 2006


Lars Wirzenius wrote:

>Package: spca5xx-modules-2.6.15-1-486
>Version: 20060301+1
>
>When I test this package with piuparts, I get the following error:
>
>0m5.5s ERROR: Package purging left files on system:
>  /lib/modules/2.6.15-1-486
>    owned by: spca5xx-modules-2.6.15-1-486
>
>The packaing of this module is just complicated enough that I didn't
>spot what the problem is. I'm attaching the piuparts log file, since it
>happens to be small, in the hope it is useful.
>
>  
>

Perhaps if the module binaries depended upon the linux-image | 
kernel-image they were built for, this situation would be impossible, as 
the linux-image package would own that directory.

Index: debian/control.modules.in
===================================================================
--- debian/control.modules.in   (revision 122)
+++ debian/control.modules.in   (working copy)
@@ -7,6 +7,7 @@

 Package: spca5xx-modules-_KVERS_
 Architecture: any
+Depends: linux-image-_KVERS_ | kernel-image-_KVERS_
 Recommends: spcacat, spcaview, spcaserv
 Description: spca5xx modules for Linux (kernel _KVERS_)
  This package contains the set of loadable kernel modules for the

Thanks, Kel.




More information about the Pkg-spca5xx-devel mailing list