[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get upgrade fails due to kernel-image problem



This is not a desktop station...

Dexter wrote:

Well, you have only 6,7M free on /boot device. Whole disk is partitioned
wery strangely. I would propose for desktop station:
1G /boot
1G swap
1G /var/log
rest /
Or something else, but defitely not, what you have now.
I would propose you to reinstall system and make bether partitioning.
  Dexter

On Fri, 2005-12-16 at 12:43 +0100, gregory duchesnes wrote:
Hi all,

I have a problem with apt-get when upgrading kernel-image, here is what i got :

# apt-get upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Les paquets suivants seront mis à jour :
 kernel-image-2.6.8-2-386
1 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
21 partiellement installés ou enlevés.
Il est nécessaire de prendre 0o/14,1Mo dans les archives.
Après dépaquetage, 4096o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n]
(Lecture de la base de données... 16439 fichiers et répertoires déjà installés.) Préparation du remplacement de kernel-image-2.6.8-2-386 2.6.8-16 (en utilisant .../kernel-image-2.6.8-2-386_2.6.8-16sarge1_i386.deb) ...
The directory /lib/modules/2.6.8-2-386 still exists. Continuing as directed.
Dépaquetage de la mise à jour de kernel-image-2.6.8-2-386 ...
dpkg : erreur de traitement de /var/cache/apt/archives/kernel-image-2.6.8-2-386_2.6.8-16sarge1_i386.deb (--unpack) : échec dans « buffer_write(fd) » (8, ret=-1) : backend dpkg-deb pendant « ./lib/modules/2.6.8-2-386/kernel/sound/isa/sb/snd-emu8000-synth.ko »: Aucun espace disponible sur le périphérique
dpkg-deb: sous-processus paste tué par le signal (Relais brisé (pipe))
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /vmlinuz-2.6.8-2-386
Updating /boot/grub/menu.lst ... done

Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/apt/archives/kernel-image-2.6.8-2-386_2.6.8-16sarge1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



I'm sorry that messages are in french but i will do a quick translation of the problematic lines :

dpkg : error while treating /var/cache/apt/archives/kernel-image-2.6.8-2-386_2.6.8-16sarge1_i386.deb (--unpack) : failure in « buffer_write(fd) » (8, ret=-1) : backend dpkg-deb while « ./lib/modules/2.6.8-2-386/kernel/sound/isa/sb/snd-emu8000-synth.ko »: No space left on device
dpkg-deb: paste subprocces killed by signal (broken pipe)


Seems like a space problem thouh here is a df -h :

Sys. de fich.         Tail. Occ. Disp. %Occ. Monté sur
/dev/hda1              89M   58M   27M  69% /
tmpfs                 252M     0  252M   0% /dev/shm
/dev/hda3              15M  7,3M  6,7M  53% /boot
/dev/hda6              89M  4,1M   80M   5% /home
/dev/hda7             449M  8,1M  417M   2% /tmp
/dev/hda5             897M  184M  666M  22% /usr
/dev/hda8             449M   69M  356M  17% /var
/dev/hda10            449M   29M  397M   7% /var/lib/mysql
/dev/hda9             449M   29M  397M   7% /var/log
/dev/hda11             46G   61M   44G   1% /var/vmail

Doesn't look like any of my partitions is full?

I remounted /boot rw before the apt-get upgrade (as well as /usr which is remounted automatically through a pre-invoke command in apt.conf)

How to solve this?
Can i do the --unpack anywhere else than in the default partition? (and where does it unpack by the way?) I don't use a sound card on this computer, can i remove this module (safely and how?)



Thanks for your help







Reply to: