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

2012-01-28 Thread Patrick Matthäi
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,  line 3.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 9.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 11.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 18.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  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,  line 22.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 28.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 30.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 37.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 38.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 45.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 46.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 53.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 54.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  line 61.
Use of uninitialized value $command in lc at
/usr/share/perl5/Debconf/ConfModule.pm line 123,  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: pmatth...@debian.org
patr...@linux-dev.org
*/



signature.asc
Description: OpenPGP digital signature


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

2012-01-28 Thread Ben Hutchings
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,  line 3.
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123,  line 9.
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123,  line 11.
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123,  line 18.
> Use of uninitialized value $command in lc at
> /usr/share/perl5/Debconf/ConfModule.pm line 123,  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
Description: This is a digitally signed message part


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

2012-01-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 657737 dkms
Bug #657737 [linux-2.6] Perl warnings (dpkg confmodule) on purging package
Bug reassigned from package 'linux-2.6' to 'dkms'.
Bug No longer marked as found in versions 3.2.1-2.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
657737: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657737
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.132778416126549.transcr...@bugs.debian.org