Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

strange aptitude error

0 views
Skip to first unread message

drz

unread,
Nov 20, 2009, 12:00:03 PM11/20/09
to
Hello

Im facing a problem with aptitude (running testing).

If I run:
# aptitude update
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
the problem.
Couldnt lock Cache-File ... (translation by me)
Then download info and:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
the problem.

If I run
# dpkg --configure -a
Richte initramfs-tools ein (0.93.4) ...
update-initramfs: deferring update (trigger activated)
Verarbeite Trigger für initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.30-2-powerpc
W: Possible missing firmware /lib/firmware/FW13 for module b43
cryptsetup: WARNING: target hda5_crypt uses a key file, skipped

gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.30-2-powerpc
dpkg: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1
zurück

No space left on device? Which device and how can I free some space?
# df -h
Dateisystem Größe Benut Verf Ben% Eingehängt auf
/dev/mapper/hda4_crypt
14G 7,0G 6,2G 54% /
tmpfs 630M 4,0K 630M 1% /lib/init/rw
udev 10M 324K 9,7M 4% /dev
tmpfs 630M 88K 630M 1% /dev/shm
/dev/hda2 93M 69M 20M 78% /boot
/dev/mapper/hda6_crypt
83G 50G 30G 63% /home

I guess tmpfs is full, but how can I free some space in tmpfs?

thankful for any help
greetz
drz


--
------

gpg fp: 5518 8F74 B2A0 E91A 6FAD 8AC8 C02C 6C6F C899 DC65
Public Key: http://rizzux.org/drz.asc


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Matthew Moore

unread,
Nov 20, 2009, 12:30:01 PM11/20/09
to
On Friday November 20 2009 9:33:41 am drz wrote:
> gzip: stdout: No space left on device
> update-initramfs: failed for /boot/initrd.img-2.6.30-2-powerpc
> dpkg: Unterprozess installiertes post-installation-Skript gab den
> Fehlerwert 1 zurück
>
> No space left on device? Which device and how can I free some space?
> # df -h
> Dateisystem Größe Benut Verf Ben% Eingehängt auf
> /dev/mapper/hda4_crypt
> 14G 7,0G 6,2G 54% /
> tmpfs 630M 4,0K 630M 1% /lib/init/rw
> udev 10M 324K 9,7M 4% /dev
> tmpfs 630M 88K 630M 1% /dev/shm
> /dev/hda2 93M 69M 20M 78% /boot
> /dev/mapper/hda6_crypt
> 83G 50G 30G 63% /home

My guess would be that it is talking about your /boot. If you have any unused
kernels lying around, try removing them and then running it again. An
alternative would be the resize your /boot so that it is larger.

MM

Sven Joachim

unread,
Nov 20, 2009, 12:40:01 PM11/20/09
to
On 2009-11-20 17:33 +0100, drz wrote:

> Im facing a problem with aptitude (running testing).
>
> If I run:
> # aptitude update
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
> the problem.
> Couldnt lock Cache-File ... (translation by me)
> Then download info and:
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
> the problem.
>
> If I run
> # dpkg --configure -a
> Richte initramfs-tools ein (0.93.4) ...
> update-initramfs: deferring update (trigger activated)

> Verarbeite Trigger f�r initramfs-tools ...


> update-initramfs: Generating /boot/initrd.img-2.6.30-2-powerpc
> W: Possible missing firmware /lib/firmware/FW13 for module b43
> cryptsetup: WARNING: target hda5_crypt uses a key file, skipped
>
> gzip: stdout: No space left on device

This happens when update-initramfs tries to compress the initramfs.
I.e. the device where no space is left is /boot.

> /dev/hda2 93M 69M 20M 78% /boot

That may be a bit small these days with the default update-initramfs
configuration. If you cannot increase the /boot partition, you need to
free some space another way, e.g.

- remove some old kernels, or just their initramfs

- use MODULES=dep in /etc/initramfs-tools/initramfs.conf to reduce the
size of the initramfs

- use backup_initramfs=no in /etc/initramfs-tools/update-initramfs.conf
to disable the creation of initrd.img*.bak files in /boot.

Sven

Márcio H. Parreiras

unread,
Nov 20, 2009, 1:00:02 PM11/20/09
to
Hi,

How many kernel images are installed to take 69MB in the /boot?

Regards,

2009/11/20 Sven Joachim <sven...@gmx.de>
On 2009-11-20 17:33 +0100, drz wrote:

> Im facing a problem with aptitude (running testing).
>
> If I run:
> # aptitude update
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
> the problem.
> Couldnt lock Cache-File ... (translation by me)
> Then download info and:
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
> the problem.
>
> If I run
> # dpkg --configure -a
> Richte initramfs-tools ein (0.93.4) ...
> update-initramfs: deferring update (trigger activated)
> Verarbeite Trigger für initramfs-tools ...

> update-initramfs: Generating /boot/initrd.img-2.6.30-2-powerpc
> W: Possible missing firmware /lib/firmware/FW13 for module b43
> cryptsetup: WARNING: target hda5_crypt uses a key file, skipped
>
> gzip: stdout: No space left on device

This happens when update-initramfs tries to compress the initramfs.
I.e. the device where no space is left is /boot.

> /dev/hda2              93M   69M   20M  78% /boot

That may be a bit small these days with the default update-initramfs
configuration.  If you cannot increase the /boot partition, you need to
free some space another way, e.g.

- remove some old kernels, or just their initramfs

- use MODULES=dep in /etc/initramfs-tools/initramfs.conf to reduce the
 size of the initramfs

- use backup_initramfs=no in /etc/initramfs-tools/update-initramfs.conf
 to disable the creation of initrd.img*.bak files in /boot.

Sven



--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org




--
Márcio H. Parreiras

GNU/Linux Professional

Pedro Leopoldo - MG - Brazil


"A caixa dizia: Requer MS Windows ou superior, então eu instalei Debian/GNU Linux!"
http://www.debian.org/index.pt.html

"The box said: Requires MS Windows or better, then I installed Debian/GNU Linux!"
http://www.debian.org/index.en.html


Por favor evite enviar-me anexos MS Excel (.xls, .xlsx), MS PowerPoint (.ppt, .pptx) ou MS Word (.doc, .docx)
Veja http://www.gnu.org/philosophy/no-word-attachments.pt-br.html

Experimente http://www.broffice.org (ABNT NBR ISO/IEC 26300:2006)

Please avoid sending me MS Excel (.xls, .xlsx), MS PowerPoint (.ppt, .pptx) or MS Word (.doc, .docx) attachments
See http://www.gnu.org/philosophy/no-word-attachments.html

Try http://www.openoffice.org (ABNT NBR ISO/IEC 26300:2006)


Filosofia M$: Se podemos complicar, porque simplificar?

M$ philosophy: If we can complicate, why simplify?


Codificação de caracteres / Character encoding: Unicode (UTF-8)
.

drz

unread,
Nov 22, 2009, 9:40:02 AM11/22/09
to
On 2009-11-20 17:33 +0100, drz wrote:
...

>This happens when update-initramfs tries to compress the initramfs.
>I.e. the device where no space is left is /boot.
>
>> /dev/hda2 93M 69M 20M 78% /boot
>
>That may be a bit small these days with the default update-initramfs
>configuration. If you cannot increase the /boot partition, you need to
>free some space another way, e.g.
>
>- remove some old kernels, or just their initramfs
>
>- use MODULES=dep in /etc/initramfs-tools/initramfs.conf to reduce the
> size of the initramfs
>
>- use backup_initramfs=no in /etc/initramfs-tools/update-initramfs.conf
> to disable the creation of initrd.img*.bak files in /boot.

thx a lot to all repliers, I did that and removed the .bak files and it solved
the problem.

greetz
drz

0 new messages