"bad interpreter: Input/output error"

Colin Watson cjwatson at ubuntu.com
Sun Jan 14 11:59:23 UTC 2024


On Fri, Jan 12, 2024 at 03:32:47PM -0800, Jeff wrote:
> Just updated Ubuntu Desktop 22.04.3 LTS and everything went smoothly, but
> now any attempt to execute a shell or Python 3 script results in some
> version of the subject line.

"Input/output error" usually means a physical issue with the hardware
(not a permission error, as some other replies have claimed).  The
output of "dmesg" may have more detailed error messages; in general you
should probably be considering the possibility of disk failure.

(I have _no_ idea why it only happens via #! and not otherwise.  That's
very weird.)

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]



More information about the ubuntu-users mailing list