好的,所以我最近在使用 ubuntu 软件中心时遇到了一些问题,如果我从仪表板打开它,它会打开,但只显示白屏。什么也没发生,所以如果我然后单击“x”,它会问我是否要强制关闭无响应的软件中心。
为了解决这个问题,我一直通过终端打开软件中心,这似乎让它工作正常。
但我需要它正常工作,经过多次尝试,我无法弄清楚,所以决定卸载并重新安装它。
卸载工作正常,但现在重新安装。当我输入终端时
sudo apt-get install software-center
Run Code Online (Sandbox Code Playgroud)
我拿回来了;
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'software-center' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?谢谢 :)
Ubuntu 12.04
RPi*_*ess 16
就像@dobey 说的,你应该试一试这个命令sudo apt-get update。您的 apt-cache 可能有问题,因此,您在安装时会遇到问题。
运行命令sudo apt-get update && sudo apt-get upgrade。这将检查任何和所有更新/升级,希望能修复您的系统。
一旦运行,请尝试运行@sebastian_k 的答案,sudo apt-get install software-center*。这将获取/安装 Ubuntu 软件中心需要运行的任何东西。
| 归档时间: |
|
| 查看次数: |
315137 次 |
| 最近记录: |