Coding Agent Stops to Ask User to Manually Run sudo apt-get Just to Compile Rust

ricklamers · x · 2026-11-28

ricklamers shared a screenshot calling out an absurd agent workflow moment: a coding agent trying to compile a Rust program hit a wall when rustc was missing and its apt install attempts were blocked by sandbox permissions, so it stopped and handed the user a sudo apt-get command to run manually.

Only after "permission granted" did the agent install the toolchain (rustc 1.85.1, gcc 14.2, libc6-dev), compile, and run the Fibonacci binary. It also noted Debian's cargo is a separate package it didn't install, so only direct rustc builds work. The episode highlights a real friction point in current agent sandboxing: system-level dependency installs frequently break autonomy and require human intervention.

Original post →

More from coding & agent

coding & agent channel →