LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-09-2018, 06:07 AM   #1
B612
LQ Newbie
 
Registered: Feb 2018
Posts: 25

Rep: Reputation: Disabled
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
 
Old 07-09-2018, 07:00 AM   #2
cbing
LQ Newbie
 
Registered: Apr 2012
Location: /root
Distribution: RHEL, CentOS, Fedora
Posts: 17

Rep: Reputation: Disabled
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!
 
1 members found this post helpful.
Old 07-09-2018, 07:25 AM   #3
B612
LQ Newbie
 
Registered: Feb 2018
Posts: 25

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-09-2018, 07:32 AM   #4
cbing
LQ Newbie
 
Registered: Apr 2012
Location: /root
Distribution: RHEL, CentOS, Fedora
Posts: 17

Rep: Reputation: Disabled
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!
 
1 members found this post helpful.
Old 07-09-2018, 07:45 AM   #5
B612
LQ Newbie
 
Registered: Feb 2018
Posts: 25

Original Poster
Rep: Reputation: Disabled
Thanks a lot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating local repository on Solaris 11.2 for upgrade from ISO image. kangsunny709 Solaris / OpenSolaris 2 06-06-2018 11:15 AM
Creating a local repository from 5 DVD set anupammr89 Debian 1 01-06-2011 02:20 AM
How can i setup a local repository on RHEL box which has no internet connection. benjamin.bvalani Red Hat 2 02-08-2010 02:04 PM
Local ubuntu DVD repository dipuasks Ubuntu 1 12-15-2009 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration