Debian Bug report logs - #657737
Perl warnings (dpkg confmodule) on purging package

Package: dkms; Maintainer for dkms is Dynamic Kernel Module System Team <dkms@packages.debian.org>; Source for dkms is src:dkms (PTS, buildd, popcon).

Reported by: pmatthaei@debian.org

Date: Sat, 28 Jan 2012 13:15:12 UTC

Severity: minor

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#657737; Package linux-2.6. (Sat, 28 Jan 2012 13:15:15 GMT) (full text, mbox, link).


Acknowledgement sent to pmatthaei@debian.org:
New Bug report received and forwarded. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sat, 28 Jan 2012 13:15:16 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Patrick Matthäi <pmatthaei@debian.org>
To: Debian Bug <submit@bugs.debian.org>
Subject: Perl warnings (dpkg confmodule) on purging package
Date: Sat, 28 Jan 2012 14:12:51 +0100
[Message part 1 (text/plain, inline)]
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:

# apt-get autoremove --purge linux-headers-3.1.0-1-common
linux-image-3.1.0-1-amd64 linux-kbuild-3.1
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Die folgenden Pakete werden ENTFERNT:
  libyajl1* linux-headers-3.1.0-1-amd64* linux-headers-3.1.0-1-common*
linux-image-3.1.0-1-amd64* linux-kbuild-3.1*
0 aktualisiert, 0 neu installiert, 5 zu entfernen und 0 nicht aktualisiert.
Nach dieser Operation werden 133 MB Plattenplatz freigegeben.
Möchten Sie fortfahren [J/n]? j
(Lese Datenbank ... 91849 Dateien und Verzeichnisse sind derzeit
installiert.)
Entfernen von libyajl1 ...
Löschen der Konfigurationsdateien von libyajl1 ...
Entfernen von linux-headers-3.1.0-1-amd64 ...
Entfernen von linux-headers-3.1.0-1-common ...
Entfernen von linux-image-3.1.0-1-amd64 ...
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.
dkms: removing: virtualbox 4.1.8 (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 22.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 28.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 30.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 37.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 38.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 45.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 46.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 53.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 54.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 61.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 63.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.1.0-1-amd64
/boot/vmlinuz-3.1.0-1-amd64
update-initramfs: Deleting /boot/initrd.img-3.1.0-1-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.1.0-1-amd64
/boot/vmlinuz-3.1.0-1-amd64
Generating grub.cfg ...
[..................]

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatthaei@debian.org
        patrick@linux-dev.org
*/

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#657737; Package linux-2.6. (Sat, 28 Jan 2012 21:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sat, 28 Jan 2012 21:00:03 GMT) (full text, mbox, link).


Message #10 received at 657737@bugs.debian.org (full text, mbox, reply):

From: Ben Hutchings <ben@decadent.org.uk>
To: pmatthaei@debian.org, 657737@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#657737: Perl warnings (dpkg confmodule) on purging package
Date: Sat, 28 Jan 2012 20:55:55 +0000
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package 'linux-2.6' to 'dkms'. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sat, 28 Jan 2012 21:00:05 GMT) (full text, mbox, link).


Bug No longer marked as found in versions 3.2.1-2. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sat, 28 Jan 2012 21:00:06 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: Sun Jul 2 06:31:14 2023; Machine Name: buxtehude

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.