首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何只升级某些包及其依赖项

如何只升级某些包及其依赖项
EN

Ask Ubuntu用户
提问于 2021-02-14 17:31:54
回答 1查看 173关注 0票数 0

我正试图在jetson上模仿windows 10 arm,在那里我安装了ubuntu18.04 arm64版本。

代码语言:javascript
复制
root@ziomario-desktop:# uname -a
Linux ziomario-desktop 4.9.140 #1 SMP PREEMPT Mon Feb 8 00:07:34 CET 2021 aarch64 aarch64 aarch64 GNU/Linux

因为连接到我应该升级的包的所有依赖项,qemu和qemu-system和virt管理器,我不能只将这些包及其依赖项从18.04版本升级到20.04版本。我被迫将ubuntu18.04升级到20.04,但我甚至不能这样做,因为nvidia目前还不支持ubuntu20.04的jetpack。所以,我想知道的是,我如何升级一个包及其对ubuntu的依赖,而不需要进行全面升级。我发现了这个:

https://launchpad.net/~jacob/+archive/ubuntu/virtualisation?field.series_filter=focal

我已经将这些行添加到/etc/apt/ same es.list中,但对于ubuntu18.04,我也添加了相同的行)。

代码语言:javascript
复制
deb http://ppa.launchpad.net/jacob/virtualisation/ubuntu focal main
deb-src http://ppa.launchpad.net/jacob/virtualisation/ubuntu focal main 

但它不起作用:

代码语言:javascript
复制
root@ziomario-desktop:# apt install virt-manager 
Reading package list ... Done
Dependency tree generation
Read status information ... Done
Some packages cannot be installed. This can mean
that an impossible situation was requested or, if you are
using a development distribution, which some packages required
they have not yet been created or have been removed from Incoming.
The following information can help resolve the situation:

The following packages have unmet dependencies:
 virt-manager: It depends: gir1.2-gtksource-4 but it is not installable
E: Unable to fix problems, there are bad packages blocked.

root@ziomario-desktop: # apt install qemu
Reading package list ... Done
Dependency tree generation
Read status information ... Done
qemu is already at the latest version (1: 2.11 + dfsg-1ubuntu7.35).

root@ziomario-desktop: # apt install qemu-system
Reading package list ... Done
Dependency tree generation
Read status information ... Done
qemu-system is already at the latest version (1: 2.11 + dfsg-1ubuntu7.35).
Qemu-system has been set up for manual installation.
EN

回答 1

Ask Ubuntu用户

发布于 2021-02-14 18:05:00

不要这么做。

我们特别建议不要在您的Ubuntu系统上使用错误的版本包。

我们通常指的是一个包含不同版本包的系统,名称不讨人喜欢:“可怕的破坏”、“不可引导的”、“弗兰肯系统”等等。

这就是apt警告的内容,它说:

这可能意味着不可能的情况被要求。

它根本不是Ubuntu版本所设计的用例。他们也没有被测试过。

你将完全靠自己。我们不会提供对Frankensystem的支持,除了建议删除它并安装一个干净的Ubuntu版本之外。

或者,如果您知道如何卸载所有错误版本的软件包,请从不明智地添加的源代码中卸载。有些人有耐心做这件事,有些人没有耐心。

考虑问一个关于你在18.04遇到的阻滞剂的新问题。

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

https://askubuntu.com/questions/1316426

复制
相关文章

相似问题

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