Hi Nicholas! > Out of curiosity, did you get root with "sudo -s"? Try this:
I always run apt within a sudo -i. After apt clean/purge/install I got the same error again. > /\ This is the strange part. I don't understand why > native-compilation is being triggered. That said, have you mounted > /tmp with "-o noexec"? I agree that that it's essential mount > anything writeable with noexec; however, this breaks > native-compilation. Good guess, that's the problem. I hardened my system about 5 weeks ago with some noexecs for several mount-points (including /tmp). After a "mount -o remount,exec /tmp" the "apt install elpa-folding" run without problems. Maybe a "test -x" for the comp-lambda-XXXXXX.eln file with an appropriate error message before the compilation attempt would be a good mitigation for this? (probably somewhere in emacsen-common?) > Looking forward to your findings! Your 1st guess was bullseye. :-) Should I do some additional search why the environment variable EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION (t) is not honoured? (If yes, what should I check?) Best regards, Thomas -- 𝓣𝓱𝓸𝓶𝓪𝓼 𝓓𝓸𝓻𝓷𝓮𝓻