Ubuntu 17.10软件中心无权限安装软件求助(需分步指导)
Hey Rob, sorry to hear you're stuck with the Ubuntu Software Center even using your admin account. Let's work through this step by step—since you're new to Ubuntu, I'll keep every action clear and easy to follow:
Step 1: Test Installation via Terminal (Temporary Fix + Troubleshooting)
First, let's check if your system's core package manager is working (this also gives you a way to install software while we fix the Software Center):
- Open the Terminal: Press
Ctrl+Alt+T(this is a universal shortcut for opening Terminal in Ubuntu) - Update your software source list: Type
sudo apt updateand press Enter. When prompted, enter your admin password—note that no characters will appear as you type (this is normal security behavior) - Try installing a simple app to test: Type
sudo apt install firefox(or another app likegimpif you already have Firefox) and press Enter. Confirm the installation when asked.- If this works: Your system's permissions and package sources are fine—only the Software Center has issues. Move to Step 2.
- If this fails: Note the error message (it will tell us exactly what's wrong, like broken dependencies or invalid sources) and we can address that specifically.
Step 2: Reinstall & Repair Ubuntu Software Center
Let's fix the Software Center itself by reinstalling it and correcting permission conflicts:
- Make sure Ubuntu Software Center is completely closed (check the system tray to ensure it's not running in the background)
- In Terminal, run this command to reinstall the Software Center:
sudo apt install --reinstall software-center - Fix permissions for the Software Center's cache folder (a common cause of permission errors):
sudo chown -R $USER:$USER ~/.cache/software-center - Clean up old cache files to avoid conflicts:
sudo apt clean rm -rf ~/.cache/software-center
Step 3: Reset Software Center Configuration
If reinstalling didn't work, let's reset the Software Center's settings to their default state:
- In Terminal, delete the Software Center's configuration folder:
rm -rf ~/.config/software-center - Restart your computer, then open Ubuntu Software Center again and try installing an app.
Bonus Note: Ubuntu 17.10 End-of-Support
Just a quick heads-up: Ubuntu 17.10 reached its end-of-life in July 2018, so official software sources might no longer be available. If all the above steps fail, this could be the root issue. Let me know and I can walk you through switching to archived Ubuntu sources to get your system back up and running.
内容的提问来源于stack exchange,提问作者Flight777

