相关疑难解决方法(0)

损坏的包修复问题(对于 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万
查看次数

无法使用 sudo apt-get install -f 修复损坏的软件包

这是我的结果,sudo apt-get install -f。我跑了两次,结果是阴性。我相信有一个错误

"error in Version string '0:3.6.1-dates for language English
 Translation data updates for all supported packages for:
 English"
Run Code Online (Sandbox Code Playgroud)

同样的语句“版本字符串中的错误>>>>,导致我尝试下载版本 12.04 三天。还有关于引用文本的错误报告。无论如何下载没有语言包的版本,为什么会我损坏了 11.10 版?

此外,当尝试使用 sudo apt-get install synaptic 下载 Synaptic 时,我收到相同的错误消息。

我再次指出初始下载问题和相同的错误消息接收。谢谢

b0b@b0b-IC780M-A:~$ sudo apt-get install -f
[sudo] password for b0b: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 298 not upgraded.
b0b@b0b-IC780M-A:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency …
Run Code Online (Sandbox Code Playgroud)

installation apt dpkg 11.10

17
推荐指数
2
解决办法
13万
查看次数

Wine-staging 无法在 18.04 上安装

我正在尝试通过 Lutris 运行游戏并按照他们的 wiki安装 wine-staging。

运行时:

$ sudo apt install --install-recommends winehq-staging
Run Code Online (Sandbox Code Playgroud)

我得到了他们预测的错误,但是在运行时:

$ sudo apt install --install-recommends winehq-staging wine-staging wine-staging-i386
Run Code Online (Sandbox Code Playgroud)

我仍然有未满足的依赖项错误(输出如下)。

任何人都可以指导我解决问题吗?

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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 …
Run Code Online (Sandbox Code Playgroud)

wine dependencies 18.04

14
推荐指数
3
解决办法
2万
查看次数

如何撤消 apt-get autoremove

我只是走进了打电话的陷阱

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

我这样做是因为我无法安装,sudo apt-get install libopencv-dev因为unmet dependencies. 现在我的ros-indigo安装了,opencv仍然没有安装,我也无法重新安装它。

尝试安装它时,我只得到

E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

我担心我真的很接近杀死我的整个包依赖系统。有人能帮助我吗?

我可以以某种方式使用该文件/var/log/apt来反转删除 ros 的步骤吗?

package-management apt opencv

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

安装 gimp 时出现 Ubuntu 20.04 错误:取决于:libgimp2.0 (>= 2.10.18) 但它不会被安装

我在搜索安装 Gimp 时遇到了这个问题:

$ sudo apt-get install gimp 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 gimp : Depends: libgimp2.0 (>= 2.10.18) but …
Run Code Online (Sandbox Code Playgroud)

apt gimp 20.04

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

在 ubuntu 18.04 中安装 cuda 工具包时出现问题

按照CUDA Toolkit 11.1 Downloads 中的所有说明进行操作后,最后一条说明

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

对我不起作用。

终端显示此消息:

The following packages have unmet dependencies:
 cuda : Depends: cuda-11-1 (>= 11.1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

PS:我的电脑中有一张 NVIDIA GTX 1660TI 卡。

请问有什么解决办法吗?

nvidia cuda gpu 18.04

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

由于保留软件包,无法将 19.04 升级到 19.10:libsnmp30

当运行update-manager将 19.04 升级到 19.10 时,我在控制台中得到了这个:

Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Run Code Online (Sandbox Code Playgroud)

尝试do-release-upgrade

$ do-release-upgrade 
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Run Code Online (Sandbox Code Playgroud)

所以尝试upgrade

$ sudo apt-get upgrade 
The following packages have been kept back:
  libsnmp30
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Run Code Online (Sandbox Code Playgroud)

事实上,我似乎无法安装任何东西:

$ sudo apt-get install emacs
Reading package lists... …
Run Code Online (Sandbox Code Playgroud)

upgrade package-management apt

12
推荐指数
1
解决办法
6704
查看次数

如何在 Ubuntu 20.04 LTS (Focal Fossa) 上安装 arm-none-eabi-gdb

我尝试安装 arm-none-eabi-gdb 作为 gcc-arm-embedded 的一部分。我添加了 PPA:

sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
Run Code Online (Sandbox Code Playgroud)

并执行:

sudo apt install gcc-arm-embedded 
Run Code Online (Sandbox Code Playgroud)

它的回应是:

Err:8 http://ppa.launchpad.net/team-gcc-arm-embedded/ppa/ubuntu focal Release
  404  Not Found [IP: 91.189.95.83 80]
Run Code Online (Sandbox Code Playgroud)

据我了解 - gcc-arm-embedded 没有适用于 Ubuntu 20 的版本。所以我在软件和更新中将这个 PPA 的发布版本更改为仿生,这样我就可以避免错误 404。

尽管 ubuntu 20 具有 libisl22,但现在我在尝试安装 gcc-arm-embedded 时仍有未满足的依赖项:

The following packages have unmet dependencies:
 gcc-arm-embedded : Depends: libisl15 (>= 0.15) but it is not installable
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

我无法找到安装请求的 libisl 版本的方法,因为 apt 仅提供两个版本 - libisl22 和 libisl-dev,安装程序不接受这两个版本。 …

apt gcc arm

11
推荐指数
4
解决办法
2万
查看次数

在 Ubuntu 14.04 上安装 VLC 媒体播放器

我在互联网上搜索了许多选项来在 Ubuntu 14.04 (Trusty Tahr) 上安装 VLC 媒体播放器,但没有任何效果对我有用。

我该如何解决这个问题?

错误:

root@hiteshb-To-be-filled-by-O-E-M:~# apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libavcodec54 libavformat54 libchromaprint0 libmp3lame0 libvlc5 libvlccore7
  vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse
Suggested packages:
  libchromaprint-tools python-acoustid videolan-doc
Recommended packages:
  libdvdcss2
The following NEW packages will be installed:
  libavcodec54 libavformat54 libchromaprint0 libmp3lame0 libvlc5 libvlccore7
  vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. …
Run Code Online (Sandbox Code Playgroud)

vlc 14.04

9
推荐指数
1
解决办法
12万
查看次数

升级到 17.04 后无法安装 build-essential/gcc/g++

由于从 Ubuntu 16.04 升级到 17.04,我无法再安装gcc-7g++-7http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu存储库安装。事实上,我什至无法安装build-essential.

Software & Updates > Other Software 下,存储库如下所示:

http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu zesty main
Run Code Online (Sandbox Code Playgroud)

尝试安装build-essential

$ sudo apt install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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 …
Run Code Online (Sandbox Code Playgroud)

upgrade dependencies 17.04

9
推荐指数
1
解决办法
2万
查看次数