Ubuntu – Mises à jour Ubuntu (rien ne se produit)

Lorsque j’exécute le gestionnaire de mise à jour et essaie d’installer quelque chose, quand il démarre, dit: « Préparation des packages » et rien ne se produit.

Une idée?

Cette situation se produit avec n’importe quel package que je choisis.

version ubuntu: 10.04

par exemple

 sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-2.6.32-37 linux-headers-2.6.32-37-generic linux-image-2.6.32-37-generic
The following packages will be upgraded:
  libarchive1 linux-generic linux-headers-generic linux-image-generic linux-libc-dev
5 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
521 not fully installed or removed.
Need to get 0B/43.5MB of archives.
After this operation, 185MB of additional disk space will be used.
Do you want to continue [Y/n]? y`
 

Puis ça se bloque…

Essayez sudo apt-get install -f

 sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnb-platform10-java kdebase-runtime-data-common libnb-java2-java libwxgtk2.6-0 libswt-gtk-3.5-jni libknotificationitem1 liblogkit-java
  kde-icons-oxygen libexiv2-5 libkadm5clnt6 liblzma0 libmysqlclient15off libnb-ide11-java kdebase-runtime-bin-kde4 libwxbase2.6-0
  tzdata-java python-wxversion libqt4-phonon khelpcenter4 libqt3-mt python-wxgtk2.6 libswt-gtk-3.5-java stardict-plugin-gucharmap
  libreadline5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
520 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
 

Il se bloque 🙁

Meilleure réponse

  • Essayez cette séquence de commandes

     sudo apt-get update

    sudo apt-get clean

    sudo apt-get autoremove

    sudo apt-get update && sudo apt-get upgrade

    sudo dpkg --configure -a

    sudo apt-get install -f