[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657737: Perl warnings (dpkg confmodule) on purging package



reassign 657737 dkms
thanks

On Sat, 2012-01-28 at 14:12 +0100, Patrick Matthäi wrote:
> Package: linux-2.6
> Version: 3.2.1-2
> Severity: minor
> 
> Hi,
> 
> this bug occurs here since a longer time. Everytime I purge a kernel
> version, I get warnings from Perl on removing dkms modules.
> I don't know if the fault is in dkms, debconf or linux-2.6, but here is
> what I get:
[...]
> Examining /etc/kernel/prerm.d.
> run-parts: executing /etc/kernel/prerm.d/dkms 3.1.0-1-amd64
> /boot/vmlinuz-3.1.0-1-amd64
> dkms: removing: fglrx 12-1 (3.1.0-1-amd64) (x86_64)
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 3.
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 9.
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 11.
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 18.
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 20.
[...]

I think it's the fault of dkms.  The script /etc/kernel/prerm.d/dkms
needs to redirect stdout so that it is not sent to debconf.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: