Aar*_*doh 8 upgrade apt 20.04 22.04
我将系统从 ubuntu-20.0.4 升级到 ubuntu-22.04.1,在运行以下命令时遇到一个警告
sudo apt update
Run Code Online (Sandbox Code Playgroud)
警告是
W: Skipping acquire of configured file 'somerville-cory-tgl/binary-i386/Packages' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'somerville-cory-tgl/binary-amd64/Packages' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'somerville-cory-tgl/i18n/Translation-en' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'somerville-cory-tgl/i18n/Translation-en_US' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'somerville-cory-tgl/dep11/Components-amd64.yml' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'somerville-cory-tgl/dep11/icons-48x48.tar' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'somerville-cory-tgl/dep11/icons-64x64.tar' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'somerville-cory-tgl/dep11/icons-64x64@2.tar' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'somerville-cory-tgl/cnf/Commands-amd64' as repository 'http://dell.archive.canonical.com jammy InRelease' doesn't have the component 'somerville-cory-tgl' (component misspelt in sources.list?)
Run Code Online (Sandbox Code Playgroud)
我检查了我的源列表,它根本不包含“somerville-cory-tgl”。我的 source.list 文件如下
# deb cdrom:[Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819)]/ focal main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-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://us.archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal universe
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-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://us.archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-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://us.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
Run Code Online (Sandbox Code Playgroud)
(编辑)但是,我确实在目录中somerville-cory-tgl命名的不同文件中找到了文本oem-somerville-cory-tgl-meta.list/etc/apt/sources.list.d/
文字看起来像
deb http://dell.archive.canonical.com/ jammy somerville
# deb-src http://dell.archive.canonical.com/ focal somerville
deb http://dell.archive.canonical.com/ jammy somerville-cory-tgl
# deb-src http://dell.archive.canonical.com/ focal somerville-cory-tgl
Run Code Online (Sandbox Code Playgroud)
如果我评论这一deb http://dell.archive.canonical.com/ jammy somerville-cory-tgl行,那么它可以解决问题,但我不确定这一行有多重要,因为我可以在 中看到一些内容http://dell.archive.canonical.com/dists/jammy/somerville/。这可能很重要。
我应该怎么做才能解决这个问题?
use*_*733 11
退后一步,让我们看看为什么会有 OEM 存档。您需要知道这一点才能理解答案。
包括戴尔在内的一些 OEM 厂商将其设备发送给台湾的 Canonical 团队进行硬件测试,并寻求新硬件 Linux 兼容性方面的帮助。(这也是Ubuntu认证硬件的来源)
该兼容性软件会在一两年内向上游进入 Linux 内核,但在这样做的同时,Ubuntu 用户需要 OEM 存储库,以便他们的新硬件能够工作。当通用 Linux 内核包含该兼容性时,就不再需要 OEM 存储库。
现在给出答案:
两年前,您的硬件需要该硬件的 OEM 存储库。但现在情况不再是这样了,通用的 Linux 内核应该可以在你的硬件上正常工作,而那个特定的口袋已经停产了。
这就是您收到警告的原因:Apt 告诉您该存储库已停止。(阿普不知道为什么)
只需禁用(注释掉)该somerville-cory-tgl行即可。
由于您没有收到该somerville线路的任何警告,因此请将其保持活动状态。
| 归档时间: |
|
| 查看次数: |
5705 次 |
| 最近记录: |