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

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



Do you know where i could find those 3Mb? I don't wnanna break anything and i don't know what i could remove from /

Oliver Elphick wrote:

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
...
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
...
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% /
...
Doesn't look like any of my partitions is full?

You have 27Mb available.  The size of
kernel-image-2.6.8-2-386_2.6.8-16sarge1_i386.deb is over 14Mb which
suggests that it will unpack to perhaps 30Mb.  I think you need to make
more space in your root partition.


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 think it unpacks into its intended location.  I don't know how to make
it do anything different through dpkg or apt.

I don't use a sound card on this computer, can i remove this module (safely and how?)

You could just delete it from /lib/... but that won't help you much
because you can't do that until _after_ it has been unpacked.

You can unpack the .deb file manually

 cd /some/path
 ar x /var/cache/apt/archives/kernel-image-2.6.8-2-386_2.6.8-16sarge1_i386.deb

That will give you a control tar archive and a data tar archive.  Unpack
the data archive and you should have the filetree that would be
installed.


Oliver Elphick





Reply to: