- LuzineDebug
- Systems (Windows, macOS, Linux)
Systems (Windows, macOS, Linux) errors: causes and fixes
Terminal and system errors: command not found, blocked PowerShell scripts, missing Xcode tools, SSL certificates. The settings for each operating system.
Fix "command not found" and "is not recognized as an internal or external command"
The shell cannot find any executable with that name in the folders listed in the PATH variable. Either the program is not installe…
Beginner 5 min File C:\Users\dev\project\script.ps1 cannot be loaded because running scripts is disabled…Fix "running scripts is disabled on this system" in PowerShell
PowerShell's execution policy blocks .ps1 files, including those from npm, yarn or a Python venv's Activate.ps1. The recommended f…
Beginner 5 min xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing…Fix "xcrun: error: invalid active developer path" on macOS
Apple's Command Line Tools (CLT) are missing or broken, often after a macOS update, while git, make or clang depend on them. Run x…
Beginner 10 min SSL certificate problem: unable to get local issuer certificateFix "SSL certificate problem: unable to get local issuer certificate" (git, curl, pip, npm)
The tool cannot find, in its certificate store, the authority that signed the server's certificate. In a company, it is almost alw…
Intermediate 20 min user is not in the sudoers file. This incident will be reported.Fix "user is not in the sudoers file. This incident will be reported."
Your account is not allowed to use sudo: it is neither in the admin group (sudo on Debian and Ubuntu, wheel on Fedora, RHEL and Ar…
Beginner 5 min /bin/bash^M: bad interpreter: No such file or directoryFix "/bin/bash^M: bad interpreter: No such file or directory"
Your script has Windows line endings (CRLF): Linux reads #!/bin/bash followed by an invisible carriage return and looks for a prog…
Beginner 5 min E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1234 (unattended-…Fix "E: Could not get lock /var/lib/dpkg/lock-frontend" (apt, Ubuntu, Debian)
Another program is already using apt or dpkg, most often automatic updates (unattended-upgrades) right after boot. Wait for it to…
Beginner 10 min "App" is damaged and can't be opened. You should move it to the Trash.Fix "App is damaged and can't be opened" on macOS (Gatekeeper)
Gatekeeper is blocking a downloaded app whose signature is missing, invalid or modified. Download it again from the official websi…
Intermediate 10 min