Open peacht49 opened 2 years ago
same
[root@server1 yum.repos.d]# cat base.repo
[Base]
name=Base
baseurl=http://192.168.55.149/BaseOS
gpgcheck=0
enabled=1
tested:
[root@server1 yum.repos.d]# dnf install autofs
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
AppStream 0.0 B/s | 0 B 00:00
Base 0.0 B/s | 0 B 00:00
Failed to synchronize cache for repo 'AppStream', ignoring this repo.
Failed to synchronize cache for repo 'Base', ignoring this repo.
No match for argument: autofs
Error: Unable to find a match
but on the repo server:
[root@repo AppStream]# dnf install autofs
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:36:30 ago on Sun 04 Feb 2024 11:27:09 AM PST.
Dependencies resolved.
==============================================================================
Package Architecture Version Repository Size
==============================================================================
Installing:
autofs x86_64 1:5.1.4-29.el8 Base 755 k
Transaction Summary
==============================================================================
Install 1 Package
Total size: 755 k
Installed size: 3.5 M
Is this ok [y/N]:
Did someone solve this issue?
[root@repo html]# ls
AppStream BaseOS
[root@repo html]# ip addr show
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 08:00:27:d6:cd:c0 brd ff:ff:ff:ff:ff:ff
inet 192.168.55.149/24 brd 192.168.55.255 scope global noprefixroute eth1
valid_lft forever preferred_lft forever
Hi I've added repos onto /etc/yum.repo.d/local.repo with the name, baseurl, gpgcheck=0, enabled=1 but the repos do not work. The error i'm getting is 'Failed to synchronize cache for repo updates'.