LINUX.ORG.RU

Не обновляются пакеты centos

 


0

1

Пытаюсь обновить пакеты в centos 8 stream, но всплывают конфликты, не знаю как решить, с центос впервые сталкиваюсь

sudo yum update
Repository debuginfo is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository ha is listed more than once in the configuration
Repository media-baseos is listed more than once in the configuration
Repository media-appstream is listed more than once in the configuration
Repository powertools is listed more than once in the configuration
Repository baseos-source is listed more than once in the configuration
Repository appstream-source is listed more than once in the configuration
Repository powertools-source is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Last metadata expiration check: 3:10:07 ago on Sat 31 Aug 2024 01:20:08 PM MSK.
Error: 
 Problem 1: package webalizer-2.23_08-15.el8.x86_64 requires httpd, but none of the providers can be installed
  - cannot install the best update candidate for package webalizer-2.23-8.el8.x86_64
  - package httpd-2.4.37-30.module_el8.3.0+462+ba287492.0.1.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-39.module_el8.4.0+778+c970deab.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-40.module_el8.5.0+852+0aafc63b.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-43.module_el8.5.0+1022+b541f3b1.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-47.module_el8.6.0+1111+ce6f4ceb.1.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-54.module_el8.8.0+1256+e1598b50.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-61.module_el8+563+4ebf229f.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-62.module_el8+657+88b2113f.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-64.module_el8+965+1ad5c49d.x86_64 is filtered out by modular filtering
  - package httpd-2.4.37-41.module_el8.5.0+977+5653bbea.x86_64 is filtered out by modular filtering
 Problem 2: package centos-linux-repos-8-3.el8.noarch requires centos-gpg-keys = 1:8-3.el8, but none of the providers can be installed
  - cannot install both centos-gpg-keys-1:8-6.el8.noarch and centos-gpg-keys-1:8-3.el8.noarch
  - cannot install both centos-gpg-keys-1:8-3.el8.noarch and centos-gpg-keys-1:8-6.el8.noarch
  - cannot install the best update candidate for package centos-linux-repos-8-3.el8.noarch
  - cannot install the best update candidate for package centos-gpg-keys-1:8-3.el8.noarch
 Problem 3: package dovecot-mysql10.2-2:2.3.10-1.1.brainy.el8.x86_64 requires dovecot = 2:2.3.10-1.1.brainy.el8, but none of the providers can be installed
  - cannot install both dovecot-2:2.3.10-1.1.brainy.el8.x86_64 and dovecot-1:2.3.16-5.el8.x86_64
  - cannot install the best update candidate for package dovecot-mysql10.2-1:2.3.10-1.brainy.el8.x86_64
  - cannot install the best update candidate for package dovecot-1:2.3.10-1.brainy.el8.x86_64
 Problem 4: package php-brainy-imagick-3.4.3-10.el8.x86_64 requires libMagickCore-6.Q16.so.6()(64bit), but none of the providers can be installed
  - package php-brainy-imagick-3.4.3-10.el8.x86_64 requires libMagickWand-6.Q16.so.6()(64bit), but none of the providers can be installed
  - cannot install both ImageMagick-libs-6.9.13.14-1.el8.x86_64 and ImageMagick-libs-6.9.10.67-1.el8.x86_64
  - cannot install both ImageMagick-libs-6.9.10.67-1.el8.x86_64 and ImageMagick-libs-6.9.13.14-1.el8.x86_64
  - cannot install both ImageMagick-libs-6.9.10.68-8.brainy.el8.x86_64 and ImageMagick-libs-6.9.13.14-1.el8.x86_64
  - cannot install both ImageMagick-6.9.10.68-7.brainy.el8.x86_64 and ImageMagick-6.9.13.14-1.el8.x86_64
  - cannot install the best update candidate for package php-brainy-imagick-3.4.3-10.el8.x86_64
  - cannot install the best update candidate for package ImageMagick-libs-6.9.10.67-1.el8.x86_64
  - cannot install the best update candidate for package ImageMagick-6.9.10.67-1.el8.x86_64
 Problem 5: package ffmpeg-libs-4.3-0.11.brainy.el8.x86_64 requires libaom.so.0()(64bit), but none of the providers can be installed
  - cannot install both libaom-3.6.1-1.el8.x86_64 and libaom-1.0.0-9.brainy.el8.x86_64
  - cannot install both libaom-1.0.0-9.brainy.el8.x86_64 and libaom-3.6.1-1.el8.x86_64
  - cannot install the best update candidate for package libaom-1.0.0-9.brainy.el8.x86_64
  - cannot install the best update candidate for package ffmpeg-libs-4.3-0.11.brainy.el8.x86_64
 Problem 6: package php74w-ffmpeg-0.7.0-3.16.el8.x86_64 requires libavcodec.so.58()(64bit), but none of the providers can be installed
  - package php74w-ffmpeg-0.7.0-3.16.el8.x86_64 requires libavcodec.so.58(LIBAVCODEC_58)(64bit), but none of the providers can be installed
  - package php74w-ffmpeg-0.7.0-3.16.el8.x86_64 requires libavformat.so.58()(64bit), but none of the providers can be installed
  - package php74w-ffmpeg-0.7.0-3.16.el8.x86_64 requires libavformat.so.58(LIBAVFORMAT_58)(64bit), but none of the providers can be installed
  - package php74w-ffmpeg-0.7.0-3.16.el8.x86_64 requires libswscale.so.5()(64bit), but none of the providers can be installed
  - package php74w-ffmpeg-0.7.0-3.16.el8.x86_64 requires libswscale.so.5(LIBSWSCALE_5)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-4.3-0.11.brainy.el8.x86_64 requires libdav1d.so.2()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-4.2.2-5.brainy.el8.x86_64 requires libdav1d.so.2()(64bit), but none of the providers can be installed
  - cannot install both libdav1d-0.5.2-2.el8.x86_64 and libdav1d-0.4.0-1.brainy.el8.x86_64
  - cannot install both libdav1d-0.4.0-1.brainy.el8.x86_64 and libdav1d-0.5.2-2.el8.x86_64
  - cannot install the best update candidate for package php74w-ffmpeg-0.7.0-3.16.el8.x86_64
  - cannot install the best update candidate for package libdav1d-0.4.0-1.brainy.el8.x86_64
 Problem 7: package centos-stream-release-8.6-1.el8.noarch requires centos-stream-repos, but none of the providers can be installed
  - package centos-stream-repos-8-2.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-3.el8.noarch
  - package centos-linux-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-2.el8.noarch
  - package centos-stream-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-3.el8.noarch
  - package centos-linux-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-3.el8.noarch
  - package centos-stream-repos-8-4.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-3.el8.noarch
  - package centos-linux-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-4.el8.noarch
  - package centos-stream-repos-8-6.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-3.el8.noarch
  - package centos-linux-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-6.el8.noarch
  - problem with installed package centos-linux-repos-8-3.el8.noarch
  - cannot install the best update candidate for package centos-linux-release-8.5-1.2111.el8.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

а ключ nobest удаляет:

Removing:
 kernel                                                x86_64                    4.18.0-193.6.3.el8_2                                     @anaconda                                     0  
 kernel-core                                           x86_64                    4.18.0-193.6.3.el8_2                                     @anaconda                                    60 M
 kernel-modules                                        x86_64                    4.18.0-193.6.3.el8_2                                     @anaconda                                    20 M
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 ImageMagick                                           x86_64                    6.9.10.68-7.brainy.el8                                   myrepo-centos                               2.5 M
 ImageMagick                                           x86_64                    6.9.13.14-1.el8                                          beget-epel-8                                114 k
 ImageMagick-libs                                      x86_64                    6.9.13.14-1.el8                                          beget-epel-8                                2.4 M
 centos-gpg-keys                                       noarch                    1:8-6.el8                                                beget-centos-8-baseos                        14 k
 centos-stream-repos                                   noarch                    8-2.el8                                                  beget-centos-8-baseos                        19 k
 centos-stream-repos                                   noarch                    8-2.el8                                                  baseos                                       19 k
 centos-stream-repos                                   noarch                    8-3.el8                                                  beget-centos-8-baseos                        19 k
 centos-stream-repos                                   noarch                    8-3.el8                                                  baseos                                       19 k
 centos-stream-repos                                   noarch                    8-3.el8                                                  extras                                       19 k
 centos-stream-repos                                   noarch                    8-4.el8                                                  beget-centos-8-baseos                        20 k
 centos-stream-repos                                   noarch                    8-4.el8                                                  baseos                                       20 k
 centos-stream-repos                                   noarch                    8-6.el8                                                  beget-centos-8-baseos                        20 k
 centos-stream-repos                                   noarch                    8-6.el8                                                  baseos                                       20 k
 dovecot                                               x86_64                    2:2.3.10-1.1.brainy.el8                                  8_app                                       5.0 M
 libaom                                                x86_64                    3.6.1-1.el8                                              beget-epel-8                                1.9 M
 libdav1d                                              x86_64                    0.5.2-2.el8                                              beget-epel-8                                346 k
Skipping packages with broken dependencies:
 centos-stream-release                                 noarch                    8.6-1.el8                                                beget-centos-8-baseos                        22 k
 dovecot-mysql10.2                                     x86_64                    2:2.3.10-1.1.brainy.el8                                  8_app                                        99 k
 ffmpeg-libs                                           x86_64                    4.2.2-5.brainy.el8                                       myrepo-centos                               7.2 M
 webalizer

Repository extras is listed more than once in the configuration

У тебя что-то с конфигом yum - смотри в /etc/yum.repos.d все конфиг файлы.
Секция [extras] должна быть описана только один раз. В других местах ее надо отключить enabled=0 или удалить дублирующий файл. Повторить для всех секций с конфликтами.

package centos-linux-repos-8-3.el8.noarch requires centos-gpg-keys

пока у тебя нет centos-pgp-keys - ты не можешь установить ни один пакет - они все подписаны. Или отключай проверку подписи в конфиге - repo_pgpcheck=0, но это не безопасно.

Repository baseos-source is listed more than once

Зачем тебе нужны src пакеты? Отлючи все репо *-source

sigurd ★★★★★
()
Последнее исправление: sigurd (всего исправлений: 3)