Error when removing BSP package

Description

sh: 1: /usr/lib/armbian/armbian-apt-updates: not found E: Problem executing scripts DPkg::Post-Invoke '/usr/lib/armbian/armbian-apt-updates' E: Sub-process returned an error code

Checklist

hide

Activity

Show:

Gunjan Gupta February 6, 2024 at 5:25 PM

Tried on Orange Pi 3 and it armbian-bsp-cli still uninstalls fine. I think this might be limited uefi images or even to only x86 uefi images. Will continue investigation on that line.

Igor Pecovnik February 5, 2024 at 3:20 PM

self build x86 bookworm current

Gunjan Gupta February 5, 2024 at 2:41 PM

Thanks for sharing the output. Could you please share the link to the image just to increase the chances of reproducing it. My previous attempt was on an jammy based gnome and xfce images.

Igor Pecovnik February 5, 2024 at 1:43 PM

Gunjan Gupta February 4, 2024 at 9:03 PM

I wasn’t able to reproduce this issue. I tried removing armbian-bsp-cli-vim4-legacy package. Initially it did gave me error for /etc/initramfs-tools/modules file that I added few days back, but I handled that by adding a function in postrm script to copy it back from usr/share/initramfs-tools/modules. Now it does uninstall fine on vim4

 

viraniac@khadas-vim4:~$ sudo apt-get remove armbian-bsp-cli-khadas-vim4-legacy [sudo] password for viraniac: Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: fping Use 'sudo apt autoremove' to remove it. The following packages will be REMOVED: armbian-bsp-cli-khadas-vim4-legacy 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. After this operation, 1,436 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 125582 files and directories currently installed.) Removing armbian-bsp-cli-khadas-vim4-legacy (24.2.0-trunk) ... Armbian 'armbian-bsp-cli-khadas-vim4-legacy' for '1-PC249f-V4331-H0a82-Ba537-R6632': 'postrm' starting. Armbian 'armbian-bsp-cli-khadas-vim4-legacy' for '1-PC249f-V4331-H0a82-Ba537-R6632': 'postrm' finishing. Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-5.15.119-legacy-meson-s4t7 viraniac@khadas-vim4:~$ echo $? 0

Please let me know if you still happen to face this issue. May be also share the name of the board that you faced it with.

Done

Assignee

Fix versions

Reporter

Priority

Created December 7, 2023 at 11:55 AM
Updated February 12, 2024 at 1:02 PM
Resolved February 12, 2024 at 1:02 PM