Hi,
I'm using Raspbian Jessie on Rpi3B.
My goal is to compile a UART driver on my Rpi3B; this driver needs the kernel source on my Rpi3B. I have 24GB free on my SDcard. When I execute this command:
sudo apt-get install linux-image-rpi-rpfv
I get the following error and the apt-get will not complete:
Setting up linux-image-4.9.0-2-rpi (4.9.13-1+rpi3) ...
Removing 'diversion of /boot/vmlinuz-4.9.0-2-rpi to /usr/share/rpikernelhack/vmlinuz-4.9.0-2-rpi by rpikernelhack'
Removing 'diversion of /boot/config-4.9.0-2-rpi to /usr/share/rpikernelhack/config-4.9.0-2-rpi by rpikernelhack'
Removing 'diversion of /boot/System.map-4.9.0-2-rpi to /usr/share/rpikernelhack/System.map-4.9.0-2-rpi by rpikernelhack'
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.9.0-2-rpi
I: /initrd.img.old is now a symlink to boot/initrd.img-4.9.0-2-rpi
I: /vmlinuz is now a symlink to boot/vmlinuz-4.9.0-2-rpi
I: /initrd.img is now a symlink to boot/initrd.img-4.9.0-2-rpi
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.9.0-2-rpi
Setting up linux-image-rpi-rpfv (4.9+63+rpi6) ...
Processing triggers for initramfs-tools (0.120+deb8u3) ...
ln: failed to create hard link ‘/boot/initrd.img-4.9.0-2-rpi.dpkg-bak’ => ‘/boot/initrd.img-4.9.0-2-rpi’: Operation not permitted
update-initramfs: Generating /boot/initrd.img-4.9.0-2-rpi
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.9.0-2-rpi with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Has anyone else run into this before and have a solution?
regards,radiokk6