Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem updating from repos #77

Open
peacht49 opened this issue Sep 4, 2022 · 2 comments
Open

Problem updating from repos #77

peacht49 opened this issue Sep 4, 2022 · 2 comments

Comments

@peacht49
Copy link

peacht49 commented Sep 4, 2022

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'.

@Pazze12
Copy link

Pazze12 commented Feb 4, 2024

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?

@Pazze12
Copy link

Pazze12 commented Feb 4, 2024

[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
       

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants