[Pkg-virtualbox-devel] Bug#630772: dkms: "Use of uninitialized value" perl warning when removing a kernel with virtualbox modules

Raphael Hertzog hertzog at debian.org
Fri Jun 17 09:05:28 UTC 2011


Package: dkms
Version: 2.1.1.2-6
Severity: normal

When removing an obsolete kernel, I got 6 warnings like this one:
Use of uninitialized value $command in lc at /usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 3.

I don't know if dkms is at fault or if it's virtualbox that is not using dkms correctly.
See the log below:

$ sudo apt-get purge linux-headers-2.6.39-1-amd64 linux-headers-2.6.39-1-common linux-image-2.6.39-1-amd64
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
  libntfs10
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Les paquets suivants seront ENLEVÉS :
  linux-headers-2.6.39-1-amd64* linux-headers-2.6.39-1-common* linux-image-2.6.39-1-amd64*
0 mis à jour, 0 nouvellement installés, 3 à enlever et 1 non mis à jour.
Après cette opération, 139 Mo d'espace disque seront libérés.
Souhaitez-vous continuer [O/n] ? 
(Lecture de la base de données... 306758 fichiers et répertoires déjà installés.)
Suppression de linux-headers-2.6.39-1-amd64 ...
Suppression de linux-headers-2.6.39-1-common ...
Suppression de linux-image-2.6.39-1-amd64 ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 2.6.39-1-amd64 /boot/vmlinuz-2.6.39-1-amd64
dkms: removing: virtualbox 4.0.8 (2.6.39-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 25.
Use of uninitialized value $command in lc at /usr/share/perl5/Debconf/ConfModule.pm line 123, <GEN0> line 33.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.39-1-amd64 /boot/vmlinuz-2.6.39-1-amd64
update-initramfs: Deleting /boot/initrd.img-2.6.39-1-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.39-1-amd64 /boot/vmlinuz-2.6.39-1-amd64
Generating grub.cfg ...


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dkms depends on:
ii  build-essential               11.5       Informational list of build-essent
ii  coreutils                     8.5-1      GNU core utilities
ii  dpkg-dev                      1.16.1     Debian package development tools
ii  gcc                           4:4.6.0-5  The GNU C compiler
ii  make                          3.81-8.1   An utility for Directing compilati
ii  module-init-tools             3.16-1     tools for managing Linux kernel mo
ii  patch                         2.6.1-2    Apply a diff file to an original

Versions of packages dkms recommends:
ii  fakeroot                     1.16-1      tool for simulating superuser priv
ii  linux-headers-2.6-amd64 [lin 2.6.39+35.1 Header files for Linux 2.6-amd64 (
ii  linux-headers-2.6.32-5-amd64 2.6.32-35   Header files for Linux 2.6.32-5-am
ii  linux-headers-2.6.38-2-amd64 2.6.38-5    Header files for Linux 2.6.38-2-am
ii  linux-headers-2.6.39-2-amd64 2.6.39-2    Header files for Linux 2.6.39-2-am
ii  linux-image-2.6.32-5-amd64 [ 2.6.32-35   Linux 2.6.32 for 64-bit PCs
ii  linux-image-2.6.38-2-amd64 [ 2.6.38-5    Linux 2.6.38 for 64-bit PCs
ii  linux-image-2.6.39-2-amd64 [ 2.6.39-2    Linux 2.6.39 for 64-bit PCs
ii  menu                         2.1.45      generates programs menu for all me
ii  sudo                         1.7.4p6-1   Provide limited super user privile

dkms suggests no packages.

-- no debconf information

-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)





More information about the Pkg-virtualbox-devel mailing list