首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装葡萄酒,错误消息不是问题的描述

无法安装葡萄酒,错误消息不是问题的描述
EN

Ask Ubuntu用户
提问于 2015-10-04 15:30:47
回答 1查看 138关注 0票数 2

当我尝试安装葡萄酒时,会发生这样的情况:

代码语言:javascript
复制
sudo apt-get install wine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package wine 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 'wine' has no installation candidate

这对我来说毫无意义,因为我正在运行Ubuntu15.04 Vivid,并且在packages.ubuntu.com上看到了它的响亮和清晰。

etc/apt/sources.list的内容如下:

代码语言:javascript
复制
deb http://ports.ubuntu.com/ vivid main restricted universe multiverse
# deb-src http://ports.ubuntu.com/ vivid main restricted multiverse

deb http://ports.ubuntu.com/ vivid-updates main restricted universe   multiverse
# deb-src http://ports.ubuntu.com/ vivid-updates main restricted universe multiverse

 deb http://ports.ubuntu.com/ vivid-security main restricted universe multiverse
# deb-src http://ports.ubuntu.com/ vivid-security main restricted universe multiverse

deb http://ports.ubuntu.com/ vivid-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ vivid main universe restricted multiverse
EN

回答 1

Ask Ubuntu用户

发布于 2015-10-04 15:50:16

葡萄酒位于宇宙存储库中,默认情况下应该启用该存储库。检查它是否是通过软件和更新> Ubuntu软件>社区免费和开放源码软件(宇宙)。如果不是的话,在盒子上打勾。

然后运行sudo apt-get update,您就可以安装红酒了。

或者,也有一个PPA的最新不稳定版本。要安装它,请执行以下命令:

代码语言:javascript
复制
sudo add-apt-repository ppa:ubuntu-wine/ppa

然后再运行sudo apt-get update

做完这两件事后,只需执行sudo apt-get install wine来安装红酒。

票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/681473

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档