Когда я пытался добавить репозиторий с помощью apt, я получил сообщение о возможной опечатке в source.list, говоря, что он не нашел компонент "ограниченный". Я вручную отредактировал все такие строки, чтобы сказать "limited" (после резервного копирования оригинальной версии, конечно) - что исправило это, просто чтобы столкнуться с другой опечаткой.
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?)
Я предположил, что "партнер" должен быть "партнером", но первая строка доказывает, что это не так, так как не может найти и компонент "партнер". Стоит ли вообще это исправлять, или репозитории будут нормально работать без него?
Могу ли я как-то проверить, о чём это должно быть на самом деле?
Не в каждом репозитории предлагаются пакеты от каждого компонента. Например, первое репо в вашем списке, http://archive.ubuntu.com/ubuntu/dists/focal/, предлагает пакеты из main
, multiverse
, limited
и universe
(by-hash
- это что-то другое). Но вы просите это репо для компонента partner
, которого он не предлагает, так что
(...) репозиторий (...) не имеет компонента "partner" (компонент неправильно написан в source.list?)
Вы захотите просмотреть ваш список репозиториев. Для каждого из них вы захотите проверить, какие компоненты предлагает репо (из структуры каталогов, из описания репо и т.д.) и какой компонент содержит интересующие вас пакеты. Затем отредактируйте свой source.list
соответственно.