yum install - unable to install

[root@openstack ~]# yum install -y https://www.rdoproject.org/repos/rdo-release.rpm
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 To enable Red Hat Subscription Management repositories:
     subscription-manager repos --enable <repo>
 To enable custom repositories:
     yum-config-manager --enable <repo>
ittechlabLinux SupportAsked:
Who is Participating?
 
arnoldCommented:
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Couple of things.

With yum (unless much has changed), you install by package name (which must be in one of your repositories).

So you'd use this command...

yum install -y rdo-release

Open in new window


And... if the error messages emitted persist, then your system is in very bad shape.

Best to a full reinstall or look for articles on how to regenerate your entire repository setup, based on your specific version of RedHat or Fedora or CentOS... whatever you're running...
0
 
ittechlabLinux SupportAuthor Commented:
[root@openstack yum.repos.d]# yum install -y rdo-release
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 To enable Red Hat Subscription Management repositories:
     subscription-manager repos --enable <repo>
 To enable custom repositories:
     yum-config-manager --enable <repo>
0
 
ittechlabLinux SupportAuthor Commented:
This is newly installed OS.
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Both solution's similar. Arnold's is best as it bypasses requirement for packaging system (yum) working correctly.

Poster has stopped posting, so likely problem is fixed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.