web-dev-qa-db-fra.com

Le descripteur de fichier 3 (canal: [36899]) a fuité lors de l'appel de vgs. PID 12657 parent: / usr / sbin / grub-probe

Je reçois l'erreur dans le titre, cela se produit lors de l'installation de grub et également sur dpkg --configure -a. Je ne peux plus mettre à jour et le Shell ne répond plus dès que je rencontre le bogue.

Quelqu'un peut-il m'aider?

L'erreur complète:

freek@home:~$ Sudo dpkg --configure -a
Setting up grub-legacy-ec2 (17.1-27-geb292c18-0ubuntu1~16.04.1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-4.4.0-97-generic
Found kernel: /vmlinuz-4.4.0-96-generic
Found kernel: /vmlinuz-4.4.0-93-generic
Found kernel: /vmlinuz-4.4.0-92-generic
Found kernel: /vmlinuz-4.4.0-91-generic
Found kernel: /vmlinuz-4.4.0-89-generic
Found kernel: /vmlinuz-4.4.0-81-generic
Found kernel: /memtest86+.bin
Replacing config file /run/grub/menu.lst with new version
Found kernel: /vmlinuz-4.4.0-101-generic
Found kernel: /vmlinuz-4.4.0-98-generic
Found kernel: /vmlinuz-4.4.0-97-generic
Found kernel: /memtest86+.bin
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

Processing triggers for initramfs-tools (0.122ubuntu8.9) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-101-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Setting up mdadm (3.3-2ubuntu7.6) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12618: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12618: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12631: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12631: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12644: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12644: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12657: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12657: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12718: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 12718: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.4.0-101-generic
Found initrd image: /boot/initrd.img-4.4.0-101-generic
Found linux image: /boot/vmlinuz-4.4.0-98-generic
Found initrd image: /boot/initrd.img-4.4.0-98-generic
Found linux image: /boot/vmlinuz-4.4.0-97-generic
Found initrd image: /boot/initrd.img-4.4.0-97-generic
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 13191: /usr/sbin/grub-probe
File descriptor 3 (pipe:[36899]) leaked on vgs invocation. Parent PID 13191: /usr/sbin/grub-probe
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
File descriptor 3 (pipe:[36899]) leaked on lvs invocation. Parent PID 13419: /bin/sh

Je suis allé un peu plus loin, Ctrl+C a finalement fait quelque chose:

^Cdpkg: error processing package mdadm (--configure):
 subprocess installed post-installation script was interrupted
dpkg: dependency problems prevent configuration of ubuntu-server:
 ubuntu-server depends on mdadm; however:
  Package mdadm is not configured yet.

dpkg: error processing package ubuntu-server (--configure):
 dependency problems - leaving unconfigured
Setting up firefox (57.0+build4-0ubuntu0.16.04.6) ...
^C

J'essaie d'installer mdadm J'ai quand même rencontré le même problème ...

Finalement, il se termine après un Ctrl+C:

Cdpkg: error processing package mdadm (--configure):
 subprocess installed post-installation script was interrupted
dpkg: dependency problems prevent configuration of ubuntu-server:
 ubuntu-server depends on mdadm; however:
  Package mdadm is not configured yet.

dpkg: error processing package ubuntu-server (--configure):
 dependency problems - leaving unconfigured
Setting up firefox (57.0+build4-0ubuntu0.16.04.6) ...
Please restart all running instances of firefox, or you will experience problems.
Processing triggers for initramfs-tools (0.122ubuntu8.9) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-101-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Errors were encountered while processing:
 mdadm
 ubuntu-server

Que pourrait-il être ...

Après avoir quitté le terminal pendant un certain temps, je reçois ces messages:

freek@home:~$ grep: grep: /tmp/os-prober.Igx4DO/raided-map: No such file or directory/tmp/os-prober.RQEdc8/raided-map: No such file or directory

grep: /tmp/os-prober.RQEdc8/swaps-map: No such file or directory
grep: /tmp/os-prober.o6miaE/raided-map: No such file or directory
grep: /tmp/os-prober.Igx4DO/swaps-map: No such file or directory
grep: /tmp/os-prober.RQEdc8/mounted-map: No such file or directory
grep: /tmp/os-prober.o6miaE/swaps-map: No such file or directory
grep: /tmp/os-prober.Igx4DO/mounted-map: No such file or directory
grep: /tmp/os-prober.o6miaE/mounted-map: No such file or directory
3
freek

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592834 suggère que ce n'est qu'un problème esthétique (donc pas sûr que votre Shell ne réponde pas):

It's just overly-verbose debug from "vgs". It's complaining about an internal problem inside the lvm utilities. In this case it's really harmless

1
Larsen