Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
linux:centos8:appstream [2022/02/11 12:44] linko22@gmail.com |
linux:centos8:appstream [2022/02/11 13:36] (текущий) linko22@gmail.com |
||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| - | ====== Error: Failed to download metadata for repo ' | + | ====== Error: Failed to download metadata for repo ' |
| - | ====== | + | |
| Эта ошибка появляется в CentOS 8 из-за перехода репозитория на новый тип выпусков. Или что-то в этом роде. Что бы её побороть, | Эта ошибка появляется в CentOS 8 из-за перехода репозитория на новый тип выпусков. Или что-то в этом роде. Что бы её побороть, | ||
| Строка 36: | Строка 35: | ||
| На всякий случай всё удаляем | На всякий случай всё удаляем | ||
| - | [root@hosting yum.repos.d]# | + | |
| - | [root@hosting yum.repos.d]# | + | [root@hosting yum.repos.d]# |
| И устанавливаем заново | И устанавливаем заново | ||
| - | [root@hosting yum.repos.d]# | + | |
| - | Retrieving http:// | + | Retrieving http:// |
| - | Verifying... | + | Verifying... |
| - | Preparing... | + | Preparing... |
| - | Updating / installing... | + | Updating / installing... |
| - | | + | |
| Пакет поставлен, | Пакет поставлен, | ||
| - | [root@hosting yum.repos.d]# | + | |
| - | Failed to set locale, defaulting to C.UTF-8 | + | Failed to set locale, defaulting to C.UTF-8 |
| - | Repository baseos is listed more than once in the configuration | + | Repository baseos is listed more than once in the configuration |
| - | CentOS Linux 8 - AppStream | + | CentOS Linux 8 - AppStream |
| - | Error: Failed to download metadata for repo ' | + | Error: Failed to download metadata for repo ' |
| Получаем ошибку. Что бы её полечить надо отключить предыдущий репозиторий AppStream | Получаем ошибку. Что бы её полечить надо отключить предыдущий репозиторий AppStream | ||
| - | [root@hosting yum.repos.d]# | + | |
| Ищем там | Ищем там | ||
| - | enabled=1 | + | |
| И меняем на | И меняем на | ||
| - | enabled=0 | + | |
| Сохраняем, | Сохраняем, | ||
| - | [root@hosting yum.repos.d]# | + | |
| - | Failed to set locale, defaulting to C.UTF-8 | + | Failed to set locale, defaulting to C.UTF-8 |
| - | Repository baseos is listed more than once in the configuration | + | Repository baseos is listed more than once in the configuration |
| - | CentOS Linux 8 - BaseOS | + | CentOS Linux 8 - BaseOS |
| - | Error: Failed to download metadata for repo ' | + | Error: Failed to download metadata for repo ' |
| Теперь отключаем так же другой репозиторий | Теперь отключаем так же другой репозиторий | ||
| - | [root@hosting yum.repos.d]# | + | |
| Запускаем ещё раз | Запускаем ещё раз | ||
| - | [root@hosting yum.repos.d]# | + | |
| - | Failed to set locale, defaulting to C.UTF-8 | + | Failed to set locale, defaulting to C.UTF-8 |
| - | Repository baseos is listed more than once in the configuration | + | Repository baseos is listed more than once in the configuration |
| - | CentOS Linux 8 - Extras | + | CentOS Linux 8 - Extras |
| - | CentOS Linux 8 - PowerTools | + | CentOS Linux 8 - PowerTools |
| - | Error: Failed to download metadata for repo ' | + | Error: Failed to download metadata for repo ' |
| И ещё раз выключаем третий репо | И ещё раз выключаем третий репо | ||
| - | [root@hosting yum.repos.d]# | + | |
| Обычно этого достаточно, | Обычно этого достаточно, | ||
| - | + | | |
| - | [root@hosting yum.repos.d]# | + | Failed to set locale, defaulting to C.UTF-8 |
| - | Failed to set locale, defaulting to C.UTF-8 | + | Repository baseos is listed more than once in the configuration |
| - | Repository baseos is listed more than once in the configuration | + | CentOS-Stream - AppStream |
| - | CentOS-Stream - AppStream | + | CentOS-Stream - Base |
| - | CentOS-Stream - Base | + | CentOS-Stream - Extras |
| - | CentOS-Stream - Extras | + | Extra Packages for Enterprise Linux 8 - x86_64 |
| - | Extra Packages for Enterprise Linux 8 - x86_64 | + | Extra Packages for Enterprise Linux Modular 8 - x86_64 |
| - | Extra Packages for Enterprise Linux Modular 8 - x86_64 | + | ispsystem-5.279 |
| - | ispsystem-5.279 | + | ispsystem-base |
| - | ispsystem-base | + | Dependencies resolved. |
| - | Dependencies resolved. | + | |
| - | =========================================================================================================== | + | |
| - | | + | |
| - | =========================================================================================================== | + | |
| - | Installing: | + | =========================================================================================================== |
| - | | + | Installing: |
| - | | + | |
| - | | + | |
| - | | + | |
| - | Upgrading: | + | |
| - | | + | Upgrading: |
| - | Removing: | + | |
| - | | + | Removing: |
| - | + | | |
| - | Transaction Summary | + | |
| - | =========================================================================================================== | + | Transaction Summary |
| - | Install | + | |
| - | Upgrade | + | |
| - | Remove | + | Install |
| - | + | Upgrade | |
| - | Total download size: 54 k | + | Remove |
| - | Downloading Packages: | + | |
| - | (1/3): centos-gpg-keys-8-4.el8.noarch.rpm | + | Total download size: 54 k |
| - | (2/3): centos-stream-release-8.6-1.el8.noarch.rpm | + | Downloading Packages: |
| - | (3/3): centos-stream-repos-8-4.el8.noarch.rpm | + | (1/3): centos-gpg-keys-8-4.el8.noarch.rpm |
| - | ----------------------------------------------------------------------------------------------------------- | + | (2/3): centos-stream-release-8.6-1.el8.noarch.rpm |
| - | Total 39 kB/s | 54 kB | + | (3/3): centos-stream-repos-8-4.el8.noarch.rpm |
| - | Running transaction check | + | ----------------------------------------------------------------------------------------------------------- |
| - | Transaction check succeeded. | + | Total |
| - | Running transaction test | + | |
| - | Transaction test succeeded. | + | Running transaction check |
| - | Running transaction | + | Transaction check succeeded. |
| - | Preparing | + | Running transaction test |
| - | Running scriptlet: centos-gpg-keys-1: | + | Transaction test succeeded. |
| - | Upgrading | + | Running transaction |
| - | Installing | + | Preparing |
| - | Installing | + | Running scriptlet: centos-gpg-keys-1: |
| - | Obsoleting | + | Upgrading |
| - | Obsoleting | + | Installing |
| - | Erasing | + | Installing |
| - | warning: / | + | Obsoleting |
| - | warning: / | + | Obsoleting |
| - | + | Erasing | |
| - | Cleanup | + | warning: / |
| - | Running scriptlet: centos-gpg-keys-1: | + | warning: / |
| - | Verifying | + | |
| - | Verifying | + | |
| - | Verifying | + | Running scriptlet: centos-gpg-keys-1: |
| - | Verifying | + | Verifying |
| - | Verifying | + | Verifying |
| - | Verifying | + | Verifying |
| - | Verifying | + | Verifying |
| - | + | Verifying | |
| - | Upgraded: | + | Verifying |
| - | centos-gpg-keys-1: | + | Verifying |
| - | Installed: | + | |
| - | centos-stream-release-8.6-1.el8.noarch | + | Upgraded: |
| - | Removed: | + | centos-gpg-keys-1: |
| - | centos-linux-repos-8-3.el8.noarch | + | Installed: |
| - | + | centos-stream-release-8.6-1.el8.noarch | |
| - | Complete! | + | |
| + | Removed: | ||
| + | centos-linux-repos-8-3.el8.noarch | ||
| + | |||
| + | Complete! | ||
| попутно исправим дурацкую ошибку с локалью | попутно исправим дурацкую ошибку с локалью | ||