On Thu, Sep 26, 2019 at 10:17:15AM +0200, to...@tuxteam.de wrote:
> On Thu, Sep 26, 2019 at 07:55:36AM +0000, c...@riseup.net wrote:
> > Hi,
> > When update buster, it gives the following errors:
> > 
> > Setting up linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
> > /etc/kernel/postinst.d/initramfs-tools:
> > update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
> > 
> > gzip: stdout: No space left on device
> > E: mkinitramfs failure cpio 141 gzip 1
> > update-initramfs: failed for /boot/initrd.img-4.19.0-6-amd64 with 1.
> > run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return
> > code 1
> > dpkg: error processing package linux-image-4.19.0-6-amd64 (--configure):
> >  installed linux-image-4.19.0-6-amd64 package post-installation script
> >  subprocess returned error exit status 1
> >  Errors were encountered while processing:
> >   linux-image-4.19.0-6-amd64
> >   E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > Any ideas how to solve it?
> 
> It seems that your /boot filesystem is full -- perhaps because old
> kernel packages still lurk around.
> 
> You could try "sudo apt autoremove", which would remove unneeded
> packages (old kernel packages are among them).
> 
> If you're the prudent kind, you could try first "apt -s autoremove"
> to see what it would do (no need to sudo).
> 

After applying your solution, it still does not work and gives me the
following error

apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.19.0-6-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return
code 1
dpkg: error processing package linux-image-4.19.0-6-amd64 (--configure):
 installed linux-image-4.19.0-6-amd64 package post-installation script
 subprocess returned error exit status 1
 Errors were encountered while processing:
  linux-image-4.19.0-6-amd64
  E: Sub-process /usr/bin/dpkg returned an error code (1)

Please note I installed buster two months ago and it is completely new
installation, not upgrade.
Mark
> Cheers
> -- t


Reply via email to