Pages : 1
#1 Le 22/07/2012, à 22:54
- sx1
Pb sur un dist-upgrade sous serveur 10.04.4
Bonsoir,
Jusqu'à présent et depuis 2 ans, je n'ai jamais eu de soucis pour mettre à jour mon serveur avec apt-get.
J'utilise systématiquement dist-upgrade.
Ce soir j'ai un beau pb que voici : (j'avoue être un peu perdu là...)
nicolas2@serveur:~$ sudo apt-get dist-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les NOUVEAUX paquets suivants seront installés :
icedtea-netx linux-headers-2.6.32-41 linux-headers-2.6.32-41-server
Les paquets suivants seront mis à jour :
apparmor apparmor-utils apt-transport-https apt-utils bind9-host dnsutils ffmpeg icedtea-6-jre-cacao insserv
libapparmor-perl libapparmor1 libavcodec52 libavdevice52 libavfilter0 libavformat52 libavutil49 libbind9-60 libdns64
libgcrypt11 libisc60 libisccc60 libisccfg60 liblwres60 libpostproc51 libqtcore4 libqtgui4 libssl0.9.8 libswscale0 libtiff4
libxml2 linux-firmware linux-headers-server linux-image-2.6.32-41-server linux-image-server linux-server openjdk-6-jre
openjdk-6-jre-headless openjdk-6-jre-lib openssl
39 mis à jour, 3 nouvellement installés, 0 à enlever et 0 non mis à jour.
3 partiellement installés ou enlevés.
Il est nécessaire de prendre 103Mo dans les archives.
Après cette opération, 216Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? o
Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-image-2.6.32-41-server 2.6.32-41.91 [31,8MB]
Réception de : 2 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libssl0.9.8 0.9.8k-7ubuntu8.13 [981kB]
Réception de : 3 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main apt-utils 0.7.25.3ubuntu9.13 [246kB]
Réception de : 4 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libgcrypt11 1.4.4-5ubuntu2.1 [271kB]
Réception de : 5 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main insserv 1.12.0-14ubuntu0.2 [70,5kB]
Réception de : 6 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main apparmor 2.5.1-0ubuntu0.10.04.4 [364kB]
Réception de : 7 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libapparmor1 2.5.1-0ubuntu0.10.04.4 [43,1kB]
Réception de : 8 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libapparmor-perl 2.5.1-0ubuntu0.10.04.4 [45,2kB]
Réception de : 9 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main apparmor-utils 2.5.1-0ubuntu0.10.04.4 [109kB]
Réception de : 10 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libxml2 2.7.6.dfsg-1ubuntu1.5 [874kB]
Réception de : 11 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main bind9-host 1:9.7.0.dfsg.P1-1ubuntu0.5 [68,8kB]
Réception de : 12 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main dnsutils 1:9.7.0.dfsg.P1-1ubuntu0.5 [162kB]
Réception de : 13 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libisc60 1:9.7.0.dfsg.P1-1ubuntu0.5 [170kB]
Réception de : 14 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libdns64 1:9.7.0.dfsg.P1-1ubuntu0.5 [692kB]
Réception de : 15 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libisccc60 1:9.7.0.dfsg.P1-1ubuntu0.5 [30,1kB]
Réception de : 16 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libisccfg60 1:9.7.0.dfsg.P1-1ubuntu0.5 [53,3kB]
Réception de : 17 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main liblwres60 1:9.7.0.dfsg.P1-1ubuntu0.5 [48,7kB]
Réception de : 18 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libbind9-60 1:9.7.0.dfsg.P1-1ubuntu0.5 [34,9kB]
Réception de : 19 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main apt-transport-https 0.7.25.3ubuntu9.13 [82,4kB]
Réception de : 20 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main ffmpeg 4:0.5.9-0ubuntu0.10.04.1 [245kB]
Réception de : 21 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libpostproc51 4:0.5.9-0ubuntu0.10.04.1 [125kB]
Réception de : 22 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libavfilter0 4:0.5.9-0ubuntu0.10.04.1 [50,4kB]
Réception de : 23 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libswscale0 4:0.5.9-0ubuntu0.10.04.1 [176kB]
Réception de : 24 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libavdevice52 4:0.5.9-0ubuntu0.10.04.1 [60,7kB]
Réception de : 25 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libavformat52 4:0.5.9-0ubuntu0.10.04.1 [374kB]
Réception de : 26 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libavcodec52 4:0.5.9-0ubuntu0.10.04.1 [2 211kB]
Réception de : 27 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libavutil49 4:0.5.9-0ubuntu0.10.04.1 [67,8kB]
Réception de : 28 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libtiff4 3.9.2-2ubuntu0.10 [150kB]
Réception de : 29 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libqtgui4 4:4.6.2-0ubuntu5.4 [3 960kB]
Réception de : 30 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main libqtcore4 4:4.6.2-0ubuntu5.4 [1 717kB]
Réception de : 31 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-firmware 1.34.14 [13,6MB]
Réception de : 32 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-headers-2.6.32-41 2.6.32-41.91 [10,2MB]
Réception de : 33 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-headers-2.6.32-41-server 2.6.32-41.91 [825kB]
Réception de : 34 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-headers-server 2.6.32.41.48 [4 898B]
Réception de : 35 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-server 2.6.32.41.48 [4 898B]
Réception de : 36 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-image-server 2.6.32.41.48 [4 900B]
Réception de : 37 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main icedtea-6-jre-cacao 6b24-1.11.3-1ubuntu0.10.04.1 [449kB]
Réception de : 38 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main openjdk-6-jre-headless 6b24-1.11.3-1ubuntu0.10.04.1 [25,4MB]
Réception de : 39 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main openjdk-6-jre-lib 6b24-1.11.3-1ubuntu0.10.04.1 [5 794kB]
Réception de : 40 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main openjdk-6-jre 6b24-1.11.3-1ubuntu0.10.04.1 [236kB]
Réception de : 41 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main openssl 0.9.8k-7ubuntu8.13 [407kB]
Réception de : 42 http://fr.archive.ubuntu.com/ubuntu/ lucid-updates/main icedtea-netx 1.2-2ubuntu0.10.04.1 [499kB]
103Mo réceptionnés en 1min 13s (1 395ko/s)
Segmentation fault
(Lecture de la base de données...
dpkg : avertissement : le fichier contenant la liste des fichiers du paquet « linux-image-2.6.32-41-server » étant manquant, il est considéré qu'aucun fichier du paquet n'est actuellement installé.
(Lecture de la base de données... 53369 fichiers et répertoires déjà installés.)
Préparation du remplacement de linux-image-2.6.32-41-server 2.6.32-41.91 (en utilisant .../linux-image-2.6.32-41-server_2.6.32-41.91_amd64.deb) ...
dpkg : erreur de traitement de /var/cache/apt/archives/linux-image-2.6.32-41-server_2.6.32-41.91_amd64.deb (--unpack) :
sous-processus nouveau script pre-installation tué par le signal (Erreur de segmentation)
dpkg : erreur lors du nettoyage :
sous-processus nouveau script post-removal tué par le signal (Erreur de segmentation)
Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/apt/archives/linux-image-2.6.32-41-server_2.6.32-41.91_amd64.deb
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
Total disk space freed by localepurge: 0 KiB
E: Sub-process /usr/bin/dpkg returned an error code (1)
Aptitude est paumée aussi d'ailleurs.
Il y a-t-il un lien avec ceci :
nicolas2@serveur:~$ df -h
Sys. de fichiers Tail. Occ. Disp. %Occ. Monté sur
/dev/sdb5 7,2G 1,5G 5,3G 23% /
none 1,9G 212K 1,9G 1% /dev
none 1,9G 0 1,9G 0% /dev/shm
tmpfs 512M 220K 512M 1% /tmp
none 1,9G 60K 1,9G 1% /var/run
none 1,9G 0 1,9G 0% /var/lock
none 1,9G 0 1,9G 0% /lib/init/rw
/dev/md0 1,8T 1,1T 683G 61% /home
/dev/sdb1 179M 35M 135M 21% /boot
ram 1,9G 1,9M 1,9G 1% /var/log
Ou l'on voit que mes /var sont pleins à priori ?
Merci d 'avance.
Sous Linux depuis 2005.
Hors ligne
#2 Le 22/07/2012, à 23:07
- Kooothor
Re : Pb sur un dist-upgrade sous serveur 10.04.4
Salut sx1,
J'crois que t'as trouvé la solution tout seul, non ?
@+
~ktr
Hors ligne
#3 Le 22/07/2012, à 23:09
- sx1
Re : Pb sur un dist-upgrade sous serveur 10.04.4
Heu en fait non car j'oublie systématiquement que j'envoie mes /var en RAM qui est bien sur purgé à chaque reboot.
cela ne ma jamais bloqué pour autant pour le reste
Sous Linux depuis 2005.
Hors ligne
#4 Le 22/07/2012, à 23:12
- Kooothor
Re : Pb sur un dist-upgrade sous serveur 10.04.4
Donc non seulement t'as plus de place, mais en plus au reboot ça disparait ?
Bon courage...
Hors ligne
Pages : 1