On Tue, Feb 03, 2009 at 08:50:47PM +0100, Eduard Bloch wrote: > * Carsten Hey [Tue, Feb 03 2009, 11:35:25AM]: > > Eduard Bloch <bl...@debian.org> wrote: > > > as discussed on IRC, I would like to see the --guess-kernel to remove > > > kernel modules packages because the current options do not work well. > > > The problem: foo-module-$KVERS has no Depends on the kernel module. > > > > All kernel modules in Lenny depend on foo-module-$KVERS, so this bug can > > be closed? > > First, what do you mean with "depend on foo-modules-$KVERS"? Examples?
Sorry, this sentence was wrong worded, not "foo-module-$KVERS" but linux-modules-$KVERS. Correct would have been: all kernel modules in Lenny provided by Debian depend on the modules package provided by the kernel, e.g. $ apt-cache show squashfs-modules-2.6.26-1-amd64 | grep '^Depends' Depends: linux-modules-2.6.26-1-amd64 $ apt-cache showpkg linux-modules-2.6.26-1-amd64 | grep -A1 '^Reverse Provides:' Reverse Provides: linux-image-2.6.26-1-amd64 2.6.26-13 So when you use official kernel module packages there is nothing to "guess" by deborphan since they will not be on your system after you have removed the kernel image. > Second, this task is not about stuff in Lenny but stuff which has been > added by the user/admin of the local system. Using m-a a-i? If yes this sound more like a bug in m-a since the produced kernel module package behave differently from the official ones and there is no good reason that they do. If you still feel the need for such a feature in deborphan please send me the output of dpkg -s locally-built-kernel-module. Regards Carsten -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org