[Pkg-dkms-maint] Bug#565990: dkms status should have the status as exit code
Evgeni Golov
evgeni at debian.org
Wed Jan 20 13:27:04 UTC 2010
Package: dkms
Version: 2.1.1.0-2
Severity: wishlist
Hi,
currently, when one wants to check whether a module is installed to dkms, one
has to call
dkms status -m <module> -v <version>
and look for any output.
dkms *has* a -q option, which makes it silent, but the exit code is always 0,
regardless of the state of the module (existant or not). I'd expect a non-zero
one when the package is not installed.
Regards
Evgeni
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dkms depends on:
ii build-essential 11.4 Informational list of build-essent
ii dpkg-dev 1.15.5.6 Debian package development tools
ii gcc 4:4.4.2-3 The GNU C compiler
ii make 3.81-7 An utility for Directing compilati
ii module-init-tools 3.11-1 tools for managing Linux kernel mo
Versions of packages dkms recommends:
ii fakeroot 1.14.4-1 Gives a fake root environment
ii linux-headers-2.6.30-1-amd64 2.6.30-6 Header files for Linux 2.6.30-1-am
ii linux-headers-2.6.30-2-amd64 2.6.30-8 Header files for Linux 2.6.30-2-am
ii linux-headers-2.6.31-1-amd64 2.6.31-2 Header files for Linux 2.6.31-1-am
ii linux-image-2.6.30-1-amd64 [l 2.6.30-6 Linux 2.6.30 image on AMD64
ii linux-image-2.6.30-2-amd64 [l 2.6.30-8 Linux 2.6.30 image on AMD64
ii linux-image-2.6.31-1-amd64 [l 2.6.31-2 Linux 2.6.31 for 64-bit PCs
ii linux-image-2.6.32-trunk-amd6 2.6.32-5 Linux 2.6.32 for 64-bit PCs
ii lsb-release 3.2-23 Linux Standard Base version report
ii menu 2.1.42 generates programs menu for all me
ii patch 2.6-2 Apply a diff file to an original
ii sudo 1.7.2p1-1 Provide limited super user privile
dkms suggests no packages.
-- no debconf information
More information about the Pkg-dkms-maint
mailing list