[Pkg-fglrx-devel] Bug#557316: [fglrx-modules-dkms] postinst tries to add dkms module even if it is already added

Daniel Schaal daniel at foto-schaal.de
Sat Nov 21 09:53:17 UTC 2009


Package: fglrx-modules-dkms
Version: 1:9-11-1
Severity: normal
Tags: patch

--- Please enter the report below this line. ---

When the dkms module is already added (e.g. when reconfiguring the package, 
because the first configure failed), the postinst fails because dkms complains 
about the module being already present.

The attached patch adds a check to only add the module once.

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-rc8

Debian Release: squeeze/sid
  500 unstable        ftp.de.debian.org 
  500 karmic          ppa.launchpad.net 
  101 experimental    ftp.de.debian.org 

--- Package information. ---
Depends      (Version) | Installed
======================-+-===========
dkms                   | 2.1.0.1-2


Package's Recommends field is empty.

Suggests          (Version) | Installed
===========================-+-===========
fglrx-driver                | 1:9-11-1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fglrx-modules-dkms.postinst.diff
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20091121/47ce48b9/attachment.bin>


More information about the Pkg-fglrx-devel mailing list