Après avoir été confronté à un problème de disque dur plein en raison des mises à jour automatiques qui installent de nouveaux noyaux et suppriment les anciens, je suis maintenant confronté à un problème de dépendance qui empêche toute mise à jour de mon système.
la commande sudo apt-get -f install se termine par l'erreur suivante :
dpkg: dependency problems prevent configuration of linux-image-virtual:
linux-image-virtual depends on linux-image-3.2.0-52-virtual; however:
Package linux-image-3.2.0-52-virtual is not installed.
dpkg: error processing linux-image-virtual (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of linux-virtual:
linux-virtual depends on linux-image-virtual (= 3.2.0.52.62); however:
Package linux-image-virtual is not configured yet.
linux-virtual depends on linux-headers-virtual (= 3.2.0.52.62); however:
Version of linux-headers-virtual on system is 3.2.0.53.63.
dpkg: error processing linux-virtual (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-image-virtual
linux-virtual
E: Sub-process /usr/bin/dpkg returned an error code (1)
J'ai lu plusieurs fois une autre question qui semble être très similaire à mon cas mais je n'ai pas réussi à résoudre mon problème.
Si je comprends bien le résultat ci-dessous, il semble que dans mon cas, le paquet linux-headers-virtual a une version supérieure à celle de linux-image-virtual.
Extrait de la sortie de la commande dpkg -l :
ii linux-headers-3.2.0-52 3.2.0-52.78 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-52-generic 3.2.0-52.78 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
ii linux-headers-3.2.0-52-virtual 3.2.0-52.78 Linux kernel headers for version 3.2.0 on 64 bit x86 Virtual Guests
ii linux-headers-3.2.0-53 3.2.0-53.81 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-53-virtual 3.2.0-53.81 Linux kernel headers for version 3.2.0 on 64 bit x86 Virtual Guests
ii linux-headers-generic 3.2.0.52.62 Generic Linux kernel headers
ii linux-headers-virtual 3.2.0.53.63 Linux kernel headers for virtual machines
ii linux-image-3.2.0-44-generic 3.2.0-44.69 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-44-virtual 3.2.0-44.69 Linux kernel image for version 3.2.0 on 64 bit x86 Virtual Guests
ii linux-image-3.2.0-45-generic 3.2.0-45.70 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-45-virtual 3.2.0-45.70 Linux kernel image for version 3.2.0 on 64 bit x86 Virtual Guests
ii linux-image-3.2.0-48-generic 3.2.0-48.74 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-48-virtual 3.2.0-48.74 Linux kernel image for version 3.2.0 on 64 bit x86 Virtual Guests
ii linux-image-3.2.0-51-generic 3.2.0-51.77 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-51-virtual 3.2.0-51.77 Linux kernel image for version 3.2.0 on 64 bit x86 Virtual Guests
ii linux-image-3.2.0-52-generic 3.2.0-52.78 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-53-virtual 3.2.0-53.81 Linux kernel image for version 3.2.0 on 64 bit x86 Virtual Guests
ii linux-image-generic 3.2.0.52.62 Generic Linux kernel image
iU linux-image-virtual 3.2.0.52.62 Linux kernel image for virtual machines
iU linux-virtual 3.2.0.52.62 Complete Linux kernel for virtual machines
Sortie de df -h (après avoir redimensionné la partition racine) :
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 22G 961M 20G 5% /
udev 111M 8.0K 111M 1% /dev
tmpfs 48M 212K 48M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 120M 0 120M 0% /run/shm
/dev/xvda1 461M 194M 244M 45% /boot
/dev/mapper/Main-Main--var 4.6G 339M 4.1G 8% /var
/dev/mapper/Main-Main--usr 4.6G 1.1G 3.3G 25% /usr
/dev/mapper/Main-Main--home 1.4G 35M 1.3G 3% /home
/dev/mapper/Main-Main--tmp 1.4G 35M 1.3G 3% /tmp
/dev/mapper/Main-Main--var----lib 2.8G 303M 2.4G 12% /var/lib
Sortie de df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/xvda2 1320336 28766 1291570 3% /
udev 28362 433 27929 2% /dev
tmpfs 30546 336 30210 2% /run
none 30546 4 30542 1% /run/lock
none 30546 1 30545 1% /run/shm
/dev/xvda1 121920 276 121644 1% /boot
/dev/mapper/Main-Main--var 305216 460 304756 1% /var
/dev/mapper/Main-Main--usr 305216 197641 107575 65% /usr
/dev/mapper/Main-Main--home 91392 21 91371 1% /home
/dev/mapper/Main-Main--tmp 91776 11 91765 1% /tmp
/dev/mapper/Main-Main--var----lib 183264 4540 178724 3% /var/lib
Sortie uname -r :
3.2.0-44-virtual
Sortie dpkg --print-architecture
amd64
Toute aide sera très appréciée. Merci d'avance.