我无法从 Ubuntu 软件中心(13.10 版)安装任何东西。“安装”按钮不见了,只有一个“更多信息”按钮。我怀疑是软件存储库的问题,因为我一直在尝试安装 OpenOffice,但我不知道如何修复它。有什么帮助吗?
引入此命令后:
sudo apt-get update
sudo apt-get dist-upgrade
结果是这样的:
sudo apt-get update
[sudo] password for joan:
Err http://dl.google.com stable InRelease
Err http://dl.google.com stable Release.gpg
No s'ha pogut resoldre «dl.google.com»
Err http://ppa.launchpad.net saucy InRelease
Err http://extras.ubuntu.com saucy InRelease
Err http://ppa.launchpad.net saucy Release.gpg
No es pot connectar amb ppa.launchpad.net:http:
Err http://extras.ubuntu.com saucy Release.gpg
No es pot connectar amb extras.ubuntu.com:http:
Err http://es.archive.ubuntu.com saucy InRelease
Err http://es.archive.ubuntu.com saucy-updates InRelease
Err http://es.archive.ubuntu.com saucy-backports InRelease
Err http://es.archive.ubuntu.com saucy Release.gpg
No es pot connectar amb es.archive.ubuntu.com:http: [IP: 2a00:9ac0:c1ca:6::135 80]
Err http://es.archive.ubuntu.com saucy-updates Release.gpg
No es pot connectar amb es.archive.ubuntu.com:http: [IP: 2a00:9ac0:c1ca:6::135 80]
Err http://es.archive.ubuntu.com saucy-backports Release.gpg
No es pot connectar amb es.archive.ubuntu.com:http: [IP: 2a00:9ac0:c1ca:6::135 80]
Err http://security.ubuntu.com saucy-security InRelease
Err http://security.ubuntu.com saucy-security Release.gpg
No es pot connectar amb security.ubuntu.com:http: [IP: 2001:67c:1562::15 80]
S'està llegint la llista de paquets… Fet
W: No s'ha pogut obtenir http://es.archive.ubuntu.com/ubuntu/dists/saucy/InRelease
W: No s'ha pogut obtenir http://es.archive.ubuntu.com/ubuntu/dists/saucy-updates/InRelease
W: No s'ha pogut obtenir http://es.archive.ubuntu.com/ubuntu/dists/saucy-backports/InRelease
W: No s'ha pogut obtenir http://security.ubuntu.com/ubuntu/dists/saucy-security/InRelease
W: No s'ha pogut obtenir http://extras.ubuntu.com/ubuntu/dists/saucy/InRelease
W: No s'ha pogut obtenir http://dl.google.com/linux/chrome/deb/dists/stable/InRelease
W: No s'ha pogut obtenir http://ppa.launchpad.net/libreoffice/libreoffice-4-1/ubuntu/dists/saucy/InRelease
W: No s'ha pogut obtenir http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg No s'ha pogut resoldre «dl.google.com»
W: No s'ha pogut obtenir http://ppa.launchpad.net/libreoffice/libreoffice-4-1/ubuntu/dists/saucy/Release.gpg No es pot connectar amb ppa.launchpad.net:http:
W: No s'ha pogut obtenir http://extras.ubuntu.com/ubuntu/dists/saucy/Release.gpg No es pot connectar amb extras.ubuntu.com:http:
W: No s'ha pogut obtenir http://es.archive.ubuntu.com/ubuntu/dists/saucy/Release.gpg No es pot connectar amb es.archive.ubuntu.com:http: [IP: 2a00:9ac0:c1ca:6::135 80]
W: No s'ha pogut obtenir http://es.archive.ubuntu.com/ubuntu/dists/saucy-updates/Release.gpg No es pot connectar amb es.archive.ubuntu.com:http: [IP: 2a00:9ac0:c1ca:6::135 80]
W: No s'ha pogut obtenir http://es.archive.ubuntu.com/ubuntu/dists/saucy-backports/Release.gpg No es pot connectar amb es.archive.ubuntu.com:http: [IP: 2a00:9ac0:c1ca:6::135 80]
W: No s'ha pogut obtenir http://security.ubuntu.com/ubuntu/dists/saucy-security/Release.gpg No es pot connectar amb security.ubuntu.com:http: [IP: 2001:67c:1562::15 80]
W: Alguns índex no s'han pogut baixar. S'han descartat, o en el seu lloc s'han emprat els antics.
jsudo apt-get dist-upgrade
S'està llegint la llista de paquets… Fet
S'està construint l'arbre de dependències
S'està llegint la informació de l'estat… Fet
S'està calculant l'actualització… Fet
0 actualitzats, 0 nous a instaŀlar, 0 a suprimir i 0 no actualitzats.
这是存储库列表:
cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)]/ saucy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://es.archive.ubuntu.com/ubuntu/ saucy main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ saucy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://es.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://es.archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://es.archive.ubuntu.com/ubuntu/ saucy universe
deb http://es.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://es.archive.ubuntu.com/ubuntu/ saucy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://es.archive.ubuntu.com/ubuntu/ saucy multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ saucy multiverse
deb http://es.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://es.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu saucy-security main restricted
deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
deb http://security.ubuntu.com/ubuntu saucy-security universe
deb-src http://security.ubuntu.com/ubuntu saucy-security universe
deb http://security.ubuntu.com/ubuntu saucy-security multiverse
deb-src http://security.ubuntu.com/ubuntu saucy-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu saucy partner
# deb-src http://archive.canonical.com/ubuntu saucy partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu saucy main
deb-src http://extras.ubuntu.com/ubuntu saucy main
答案1
您的问题是http://es.archive.ubuntu.com/ubuntu/
镜像目前似乎不稳定。您可以使用软件源或从命令行使用此方法选择其他镜像:
sudo sed -i 's/es\.archive/archive/g' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
sudo apt-get update
重新打开软件中心,现在您应该已经启用了安装按钮。
一旦你认为镜像已备份,你可以使用以下方法恢复更改
sudo sed -i 's/archive/es.archive/g' /etc/apt/sources.list
答案2
另一种方法 - 更改你的包服务器
search "Synaptic Package Manager" on "dash home"
and select following
setting -> repositories -> ubuntu software
select new server on "download from"
或查看此链接 >>https://help.ubuntu.com/community/Repositories/Ubuntu
答案3
首先尝试更新您的系统。您可以在终端 ( Ctrl++ ) 中输入以下内容来Alt执行此操作:T
sudo apt-get update
sudo apt-get dist-upgrade
如果这不起作用,请编辑您的答案,附加文件的内容和上述命令导致的错误消息。您可以通过在终端中/etc/apt/sources.list
运行然后复制和粘贴来复制文件的内容。cat /etc/apt/sources.list