Debian Bug report logs -
#481752
Cannot install on a custom kernel
Reported by: Jonny Lamb <jonnylamb@jonnylamb.com>
Date: Sun, 18 May 2008 11:51:02 UTC
Severity: wishlist
Found in version gspca/01.00.20-1
Fixed in version 01.00.20-1+rm
Done: Marco Rodrigues <gothicx@sapo.pt>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#481752; Package gspca-source.
(full text, mbox, link).
Acknowledgement sent to Jonny Lamb <jonnylamb@jonnylamb.com>:
New Bug report received and forwarded. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: gspca-source
Version: 01.00.20-1
Severity: grave
Justification: Makes package uninstallable
Hi,
I just tried installing the gspca kernel module using module-assistant. I use
a custom kernel, downloaded straight from kernel.org, compiled and
installed myself, and because the kernel module package *depends* on a
kernel, the package installation fails for me:
dpkg -Ei /usr/src/gspca-modules-2.6.24.2_01.00.20-1_i386.deb
Selecting previously deselected package gspca-modules-2.6.24.2.
(Reading database ... 178712 files and directories currently installed.)
Unpacking gspca-modules-2.6.24.2 (from .../gspca-modules-2.6.24.2_01.00.20-1_i386.deb) ...
dpkg: dependency problems prevent configuration of gspca-modules-2.6.24.2:
gspca-modules-2.6.24.2 depends on linux-image-2.6.24.2 | kernel-image-2.6.24.2; however:
Package linux-image-2.6.24.2 is not installed.
Package kernel-image-2.6.24.2 is not installed.
dpkg: error processing gspca-modules-2.6.24.2 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gspca-modules-2.6.24.2
I had a quick look at other packages that provide -source packages (for
example rt2500), and it looks like the kernel packages should be recommended, not
depended on. I include a patch to fix this below:
diff -Nruad -Nruad gspca-01.00.20.orig/debian/control.modules.in gspca-01.00.20/debian/control.modules.in
--- gspca-01.00.20.orig/debian/control.modules.in 2008-05-18 12:36:49.000000000 +0100
+++ gspca-01.00.20/debian/control.modules.in 2008-05-18 12:37:44.000000000 +0100
@@ -7,7 +7,7 @@
Package: gspca-modules-_KVERS_
Architecture: any
-Depends: linux-image-_KVERS_ | kernel-image-_KVERS_
+Recommends: linux-image-_KVERS_ | kernel-image-_KVERS_
Provides: gspca-modules
Conflicts: spca5xx-modules-_KVERS_
Description: gspca modules for Linux (kernel _KVERS_)
Kind regards,
--
Jonny Lamb, UK jonnylamb@jonnylamb.com
http://jonnylamb.com GPG: 0x2E039402
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#481752; Package gspca-source.
(full text, mbox, link).
Acknowledgement sent to Kel Modderman <kel@otaku42.de>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 481752@bugs.debian.org (full text, mbox, reply):
tags 481752 wishlist
thanks
On Sunday 18 May 2008 21:46:41 Jonny Lamb wrote:
> Package: gspca-source
> Version: 01.00.20-1
> Severity: grave
> Justification: Makes package uninstallable
gspca-source is installable just fine ;-)
Sarcasm aside, I partially agree with you, but do not agree with the severity
considering the justification given. My reasoning is below.
>
> Hi,
>
> I just tried installing the gspca kernel module using module-assistant. I use
> a custom kernel, downloaded straight from kernel.org, compiled and
> installed myself, and because the kernel module package *depends* on a
> kernel, the package installation fails for me:
>
> dpkg -Ei /usr/src/gspca-modules-2.6.24.2_01.00.20-1_i386.deb
> Selecting previously deselected package gspca-modules-2.6.24.2.
> (Reading database ... 178712 files and directories currently installed.)
> Unpacking gspca-modules-2.6.24.2 (from .../gspca-modules-2.6.24.2_01.00.20-1_i386.deb) ...
> dpkg: dependency problems prevent configuration of gspca-modules-2.6.24.2:
> gspca-modules-2.6.24.2 depends on linux-image-2.6.24.2 | kernel-image-2.6.24.2; however:
> Package linux-image-2.6.24.2 is not installed.
> Package kernel-image-2.6.24.2 is not installed.
> dpkg: error processing gspca-modules-2.6.24.2 (--install):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> gspca-modules-2.6.24.2
>
> I had a quick look at other packages that provide -source packages (for
> example rt2500), and it looks like the kernel packages should be recommended, not
> depended on. I include a patch to fix this below:
Not the various module packages I maintain, personally I like to hard depend
to make removal of all kernel _and_ modules a pleasent experience.
There is no policy or best practise for this situation, only opinions, as far as I know.
>
> diff -Nruad -Nruad gspca-01.00.20.orig/debian/control.modules.in gspca-01.00.20/debian/control.modules.in
> --- gspca-01.00.20.orig/debian/control.modules.in 2008-05-18 12:36:49.000000000 +0100
> +++ gspca-01.00.20/debian/control.modules.in 2008-05-18 12:37:44.000000000 +0100
> @@ -7,7 +7,7 @@
>
> Package: gspca-modules-_KVERS_
> Architecture: any
> -Depends: linux-image-_KVERS_ | kernel-image-_KVERS_
> +Recommends: linux-image-_KVERS_ | kernel-image-_KVERS_
> Provides: gspca-modules
> Conflicts: spca5xx-modules-_KVERS_
> Description: gspca modules for Linux (kernel _KVERS_)
>
Your patch will be applied immediately, but I do not know when the next upload
will be.
Thanks, Kel.
Tags added:
Request was from Kel Modderman <kel@otaku42.de>
to control@bugs.debian.org.
(Sun, 18 May 2008 12:45:04 GMT) (full text, mbox, link).
Severity set to `wishlist' from `grave'
Request was from Kel Modderman <kel@otaku42.de>
to control@bugs.debian.org.
(Mon, 19 May 2008 11:12:04 GMT) (full text, mbox, link).
Reply sent
to Marco Rodrigues <gothicx@sapo.pt>:
You have taken responsibility.
(Tue, 04 Aug 2009 22:34:29 GMT) (full text, mbox, link).
Notification sent
to Jonny Lamb <jonnylamb@jonnylamb.com>:
Bug acknowledged by developer.
(Tue, 04 Aug 2009 22:34:30 GMT) (full text, mbox, link).
Message #19 received at 481752-done@bugs.debian.org (full text, mbox, reply):
Version: 01.00.20-1+rm
The gspca package has been removed from Debian so we are closing
the bugs that were still opened against it.
For more information about this package's removal, read
http://bugs.debian.org/519463 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
Kind regards,
--
Marco Rodrigues
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 02 Sep 2009 07:38:21 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 12:05:23 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.