Ubuntu 17.10中conjure-up命令提示‘command not found’问题求助
conjure-up: command not found Error (Previously Working) Hey there, sorry to hear conjure-up suddenly stopped working on you—let’s walk through the most common fixes to get it back up and running.
First, confirm if conjure-up is still installed
Runwhich conjure-uporwhereis conjure-upin your terminal. If you get no output, the tool was likely accidentally uninstalled.- For Ubuntu/Debian systems, check the package status with
dpkg -l | grep conjure-up. If it’s missing, reinstall withsudo apt install conjure-up. - If you originally installed it via snap, verify with
snap list | grep conjure-up. Reinstall withsudo snap install conjure-up --classicif needed.
- For Ubuntu/Debian systems, check the package status with
Check your system’s PATH variable
Sometimes the tool is still installed, but its directory isn’t in yourPATH(so the terminal can’t locate it).- If you found the conjure-up path in the previous step (e.g.,
/usr/local/bin/conjure-up), runecho $PATHto see if that directory is listed. - If it’s missing, temporarily add it with
export PATH=$PATH:/path/to/conjure-up/directory(replace with the actual path). Testconjure-upagain—if it works, add that line to your shell config file (~/.bashrc,~/.zshrc, etc.) to make the change permanent.
- If you found the conjure-up path in the previous step (e.g.,
Look for recent system changes
Did you run system updates, uninstall dependencies, or modify your shell config lately?- If using snap, try refreshing the package:
snap refresh conjure-up, or restart the snap service withsudo systemctl restart snapd. - For apt-installed versions, run
sudo apt update && sudo apt upgrade conjure-upto fix any corrupted files.
- If using snap, try refreshing the package:
Reinstall as a last resort
If none of the above works, do a clean reinstall:- Apt:
sudo apt purge conjure-up && sudo apt autoremove && sudo apt install conjure-up - Snap:
sudo snap remove conjure-up && sudo snap install conjure-up --classic
- Apt:
内容的提问来源于stack exchange,提问作者IT_novice

