root@cubic:~# apt update
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true'
E: Sub-process returned an error code
Asked
Active
Viewed 340 times
1
-
This is an duplicate question. Please check https://askubuntu.com/questions/942895/e-problem-executing-scripts-aptupdatepost-invoke-success for similar issue – Puneet Dixit Aug 24 '22 at 14:16
-
3Does this answer your question? E: Problem executing scripts APT Update::Post-Invoke-Success error during apt-get update – Artur Meinild Aug 24 '22 at 14:39
-
Does this answer your question? Ubuntu 16.04, apt-get stucked, fetched for 2 minutes – karel Oct 20 '22 at 03:29
1 Answers
1
check out this issue on the Cubic GitHub page, it seems that the issue is when trying to edit Ubuntu 22.04 (newer) ISO image from an Ubuntu 18.04(older) host, you did not mention what OS you are running and what ISO image you are trying to edit.
A workaround is to try editing the OS through a Virtual Machine running a newer version of Ubuntu.