LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RHEL 5.5 - DVD iso as local repository (https://www.linuxquestions.org/questions/red-hat-31/rhel-5-5-dvd-iso-as-local-repository-4175633611/)

B612 07-09-2018 06:07 AM

RHEL 5.5 - DVD iso as local repository
 
Hello

Based on this :
https://access.redhat.com/solutions/328843

I have defined a local repository

When I try to install a package (vim for testing) I get:

Code:

yum install vim
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package vim available.
Nothing to do

I have under /etc/yum.repos.d a file with

Code:

[DVD-Server]
mediaid=1269263646.691048
name=DVD for RHEL5 - Server
baseurl=file:///mnt_dvd/Server
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1

[dvd-cluster]
mediaid=1269263646.691048
name=DVD for RHEL5 - Cluster
baseurl=file:///mnt_dvd/Server
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1

[dvd-cluster-storage]
mediaid=1269263646.691048
name=DVD for RHEL5 - ClusterStorage
baseurl=file:///mnt_dvd/Server
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1

[dvd-vt]
mediaid=1269263646.691048
name=DVD for RHEL5 - VT
baseurl=file:///mnt_dvd/Server
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1

(And I can access the iso file through the mount point)

Any idea?

Thanks

cbing 07-09-2018 07:00 AM

Hello,

There is no "vim" package in these repos.
Check the output of "yum search vim".
You will probably see something like:
- vim-X11.x86_64 : The VIM version of the vi editor for the X Window System.
- vim-common.x86_64 : The common files needed by any version of the VIM editor.
- vim-enhanced.x86_64 : A version of the VIM editor which includes recent enhancements.
- vim-minimal.x86_64 : A minimal version of the VIM editor.

Chau!

B612 07-09-2018 07:25 AM

Hi and thanks

So, if the local repo is OK, I have another problem.
In fact I want to register this server to RHSM.

When I :

Code:

rpm -i subscription-manager-0.98.14-1.el5.x86_64.rpm
warning: subscription-manager-0.98.14-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
        python-ethtool is needed by subscription-manager-0.98.14-1.el5.x86_64
        python-rhsm >= 0.96.11 is needed by subscription-manager-0.98.14-1.el5.x86_64
        python-simplejson is needed by subscription-manager-0.98.14-1.el5.x86_64
        virt-what is needed by subscription-manager-0.98.14-1.el5.x86_64

So I wanted to YUM the missing packages (python-ethtool, python-rhsm, ...)with the local repo,
because if I rpm -i them, I have a lot of missing dependencies, and it will be too difficult.

But,
yum install python-ethtool
yum install python-rhsm
yum install python-simplejson
yum install virt-what


All of them give me :
No package *** available.
Nothing to do


Have you an idea how could I install the subscription-manager

Thanks

cbing 07-09-2018 07:32 AM

Hi,

RHSM is not available for RHEL 5.5. You need at least RHEL 5.8, and better with 5.11.
You also need an ELS subscription in order to receive support.

Chau!

B612 07-09-2018 07:45 AM

Thanks a lot


All times are GMT -5. The time now is 02:53 AM.