Предупреждающее сообщение об обновлении репозитория multiverse
для установки MS-core-шрифтов я просто добавил следующий репозиторий в Ubuntu 21.04:
sudo add-apt-repository multiverse
теперь, каждый раз, когда я бегу
apt update
команда, я несколько раз получаю следующее предупреждающее сообщение:
$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu hirsute InRelease
Hit:2 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease
Hit:3 http://archive.canonical.com/ubuntu hirsute InRelease
Hit:4 http://archive.ubuntu.com/ubuntu hirsute-backports InRelease
Get:5 http://archive.ubuntu.com/ubuntu hirsute-security InRelease [101 kB]
Fetched 101 kB in 2s (65.3 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'multiverse/binary-i386/Packages' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-amd64/Packages' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-fa_IR' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-fa' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/Components-amd64.yml' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-48x48.tar' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-64x64.tar' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-64x64@2.tar' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/cnf/Commands-amd64' as repository 'http://archive.canonical.com/ubuntu hirsute InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
я заметил, что репозиторий multiverse был активен в программном обеспечении Ubuntu еще до добавления этого репозитория, но раньше такой ошибки не было.
результат
/etc/apt/sources.list
составляет:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu hirsute restricted main multiverse
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu hirsute-updates restricted main multiverse
## 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://archive.ubuntu.com/ubuntu hirsute universe
deb http://archive.ubuntu.com/ubuntu hirsute-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.
## 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://archive.ubuntu.com/ubuntu hirsute-backports universe restricted main multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu hirsute multiverse partner
deb http://archive.ubuntu.com/ubuntu hirsute-security restricted main multiverse
deb http://archive.ubuntu.com/ubuntu hirsute-security universe
Итак, в чем проблема с репозиторием мультивселенной?
1 ответ
@RayWoodcock очень хорошо это объяснил:
[T] основная идея заключается в том, что ваш sources.list пытался получить мультивселенный контент из репозитория, в котором нет мультивселенного контента. Слово «мультивселенная» было автоматически добавлено в некоторые репозитории в sources.list, и его пришлось удалить вручную из репозиториев без материала мультивселенной.
не является хранилищем общего назначения. Вы получаете эти предупреждения, потому что ошибочно пытаетесь рассматривать этот источник как универсальный.
Вот, давайте посмотрим:
W: Skipping acquire of configured file 'multiverse/binary-i386/Packages'
as repository 'http://archive.canonical.com/ubuntu hirsute InRelease'
doesn't have the component 'multiverse' (component misspelt in sources.list?)
Видеть? « У Source X нет мультивселенной ». И Х это
http://archive.canonical.com/ubuntu
Этот источник следует использовать ТОЛЬКО для
partner
репо. Удалите его использование для всего остального.
Строка 31 вашего файла в настоящее время гласит:
deb http://archive.canonical.com/ubuntu hirsute multiverse partner
Отредактируйте файл так, чтобы строка вместо этого читалась:
deb http://archive.canonical.com/ubuntu hirsute partner
Смотри как
multiverse
был снят с линии?
Наконец, поскольку вы изменили свои источники,
sudo apt update