Centos 8: unable to find a match: tar

tar (англ. tape archive) - архиватор в Unix и Linux-система.

При установке tar возникает ошибка:

Error: unable to find a match: tar

Причина в отсутствующем или не подключенном репозитории baseos

repoquery -i tar
Last metadata expiration check: 0:47:58 ago on Fri 25 Feb 2022 10:05:45 AM MSK.
Name         : tar
Epoch        : 2
Version      : 1.30
Release      : 5.el8
Architecture : x86_64
Size         : 838 k
Source       : tar-1.30-5.el8.src.rpm
Repository   : baseos
Summary      : A GNU file archiving program
URL          : http://www.gnu.org/software/tar/
License      : GPLv3+
Description  : The GNU tar program saves many files together in one archive and can
             : restore individual files (or all of the files) from that archive. Tar
             : can also be used to add supplemental files to an archive and to update
             : or list files in the archive. Tar includes multivolume support,
             : automatic archive compression/decompression, the ability to perform
             : remote archives, and the ability to perform incremental and full
             : backups.
             : If you want to use tar for remote backups, you also need to install
             : the rmt package on the remote box.

Настройки репозитория:

cat /etc/yum.repos.d/CentOS-Stream-BaseOS.repo
name=CentOS Stream $releasever - BaseOS


Добавить комментарий