相关疑难解决方法(0)

添加 PPA 后如何解决未满足的依赖项?

有时,当我安装东西时,我会收到如下错误:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

package-management apt ppa dependencies software-installation

617
推荐指数
10
解决办法
119万
查看次数

如何修复 GPG 错误“NO_PUBKEY”?

我使用 Software Sources 程序添加了一些额外的存储库。但是当我重新加载包数据库时,出现如下错误:

W:GPG 错误:http : //ppa.launchpad.net trusty InRelease:以下签名无法验证,因为公钥不可用:NO_PUBKEY 8BAF9A6F

apt-key根据官方的 Ubuntu 文档,我知道我可以在终端中修复它。但我希望以图形方式进行。有没有办法在不使用终端的情况下做到这一点?

apt gnupg

464
推荐指数
10
解决办法
79万
查看次数

损坏的包修复问题(对于 Wine)

我试图在 Linux 上使用 Play 安装英雄无敌 3。当我启动程序时,它给了我一条错误消息

PlayOnLinux 找不到 wine(来自 Wine)。您应该安装它以使用 PlayOnLinux。

sudo apt-get install wine
Run Code Online (Sandbox Code Playgroud)

我试过这个,但我收到一条错误消息:

E:无法纠正问题,您持有破损的包裹。

我该怎么办?


输入:

sudo apt-get install wine
Run Code Online (Sandbox Code Playgroud)

输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package wine is a virtual package provided by:
  winehq-staging 4.0~rc1~cosmic
  winehq-stable 3.0.4~cosmic
  winehq-devel 4.0~rc1~cosmic
  wine-development 3.6-1
You should explicitly select one to install.
E: Package 'wine' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

当我输入时:

sudo apt-get install winehq-stable
Run Code Online (Sandbox Code Playgroud)

我明白了:

Reading package lists... Done
Building dependency tree       
Reading state …
Run Code Online (Sandbox Code Playgroud)

package-management wine playonlinux

18
推荐指数
3
解决办法
9万
查看次数

无法在 Ubuntu 16.10 中安装 wine32

我已经从 Ubuntu 升级了16.04Wine已安装在我的系统中,但升级后返回以下错误。

it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
Run Code Online (Sandbox Code Playgroud)

所以我清除酒并使用以下步骤重新安装

1. sudo apt install wine-stable
2. WINEARCH=win32 WINEPREFIX=~/.wine32
3. wine #return error
4. wineboot
Run Code Online (Sandbox Code Playgroud)

但是,当我尝试使用wine它的节目运行任何东西时,它wine32仍然丢失。所以我尝试安装win32.

sudo apt install wine32
Run Code Online (Sandbox Code Playgroud)

错误

The following packages have unmet dependencies:
 wine32:i386 : Depends: libwine:i386 (= 1.8.5-1ubuntu1) but it is not going to be installed
Run Code Online (Sandbox Code Playgroud)

系统信息

Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:    16.10 …
Run Code Online (Sandbox Code Playgroud)

wine 16.10

13
推荐指数
1
解决办法
4万
查看次数