Public bug reported:

Processing triggers for initramfs-tools (0.133ubuntu10) ...
ln: failed to create hard link '/boot/initrd.img-4.15.0-1045-raspi2.dpkg-bak' 
=> '/boot/initrd.img-4.15.0-1045-raspi2': Operation not permitted
update-initramfs: Generating /boot/initrd.img-4.15.0-1045-raspi2
Unsupported platform.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am assuming that this is due to the /boot partition on the Raspberry
Pi being Fat16 and not supporting hardlinks. Use a copy instead?

Keeps trying to complete every time I run apt-get.

You might find these helpful in seeing how they handled it.
https://ubuntu-mate.org/raspberry-pi/ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
https://archive.raspbian.org/raspbian/dists/buster/
https://ubuntu-mate.org/raspberry-pi/

I used these instructions ( https://ubuntu-mate.community/t/how-to-get-
ubuntu-mate-18-04-up-on-raspberry-pi-4/20049 ) and then upgraded some
packages to eoan.

lsb_release -rd
Description:    Ubuntu 18.04.3 LTS
Release:        18.04


sudo apt-get update && sudo apt-get install --no-install-recommends e2fsprogs 
unar uget aria2 filezilla transmission smtube smplayer mplayer vlc bleachbit 
gparted openvpn gadmin-samba gpart gpaint curl thunderbird-gnome-support 
youtube-dl cifs-utils ntfs-3g ntp hardlink mesa-va-drivers mesa-vdpau-drivers 
mesa-vulkan-drivers

Thanks in advance.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1843975

Title:
  install not completing due to hardlink failure

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  Processing triggers for initramfs-tools (0.133ubuntu10) ...
  ln: failed to create hard link '/boot/initrd.img-4.15.0-1045-raspi2.dpkg-bak' 
=> '/boot/initrd.img-4.15.0-1045-raspi2': Operation not permitted
  update-initramfs: Generating /boot/initrd.img-4.15.0-1045-raspi2
  Unsupported platform.
  run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 
1
  dpkg: error processing package initramfs-tools (--configure):
   installed initramfs-tools package post-installation script subprocess 
returned error exit status 1
  Errors were encountered while processing:
   initramfs-tools
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  I am assuming that this is due to the /boot partition on the Raspberry
  Pi being Fat16 and not supporting hardlinks. Use a copy instead?

  Keeps trying to complete every time I run apt-get.

  You might find these helpful in seeing how they handled it.
  
https://ubuntu-mate.org/raspberry-pi/ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4.img.xz
  https://archive.raspbian.org/raspbian/dists/buster/
  https://ubuntu-mate.org/raspberry-pi/

  I used these instructions ( https://ubuntu-mate.community/t/how-to-
  get-ubuntu-mate-18-04-up-on-raspberry-pi-4/20049 ) and then upgraded
  some packages to eoan.

  lsb_release -rd
  Description:  Ubuntu 18.04.3 LTS
  Release:      18.04

  
  sudo apt-get update && sudo apt-get install --no-install-recommends e2fsprogs 
unar uget aria2 filezilla transmission smtube smplayer mplayer vlc bleachbit 
gparted openvpn gadmin-samba gpart gpaint curl thunderbird-gnome-support 
youtube-dl cifs-utils ntfs-3g ntp hardlink mesa-va-drivers mesa-vdpau-drivers 
mesa-vulkan-drivers

  Thanks in advance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1843975/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to