AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1324377
Accepted
shinobody
shinobody
Asked: 2021-03-19 00:30:03 +0800 CST2021-03-19 00:30:03 +0800 CST 2021-03-19 00:30:03 +0800 CST

source.list 中的错字?

  • 772

当我尝试使用 apt 添加存储库时,我收到一条消息,说明 sources.list 中可能存在拼写错误,说它没有找到“重新限制”的组件。我手动编辑了所有这些行以说“受限制”(当然是在备份原始版本之后) - 这修复了它,只是为了遇到不同的错字。

W: Skipping acquire of configured file 'partner/source/Sources' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partner' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/icons-64x64@2.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)

我假设“合作伙伴”应该是“合作伙伴”,但第一行证明情况并非如此,因为它也找不到组件“合作伙伴”。解决这个问题是否值得,或者没有它,存储库将正常工作?

有什么办法可以检查这实际上应该说什么?

apt software-sources
  • 1 1 个回答
  • 178 Views

1 个回答

  • Voted
  1. Best Answer
    Henning Kockerbeck
    2021-03-19T01:02:34+08:002021-03-19T01:02:34+08:00

    并非每个存储库都提供来自每个组件的包。例如,您列表中的第一个存储库http://archive.ubuntu.com/ubuntu/dists/focal/提供来自 、 和 ( 的包main是multiverse不同restricted的universe) by-hash。但是你在向这个 repo 索要一个partner它不提供的组件,所以

    (...) 存储库 (...) 没有组件“合作伙伴”(sources.list 中的组件拼写错误?)

    您将需要浏览您的存储库列表。对于每一个,您都需要检查 repo 提供了哪些组件(从目录结构、repo 的描述等)以及哪个组件包含您感兴趣的包。然后相应地编辑您的sources.list。

    • 2

相关问题

  • 如何编写 shell 脚本来安装应用程序列表?

  • 如何查看存档中可用的软件包的所有版本?

  • 是否可以说出我安装的哪些软件包不在原版安装中?

  • 如何删除 PPA?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve