LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-24-2015, 12:38 AM   #1
gauravprashar17
LQ Newbie
 
Registered: Dec 2015
Posts: 4

Rep: Reputation: Disabled
Unable to run yum update on my RHEL6.6 box


I have installed rhel 6.6 minimal installation.
Since my system is not registered to Redhat, i cannot access the rhel repo. Hence, i created a local repo using the DVD-ISO image.


I have used the following steps:
Assuming that the iso dvd image is placed at /ISOs
1) mkdir -p /var/OSimage/Rhel6.6_x86_64
2) mount -o loop,ro /ISOs/rhel-server-6.6-x86_64-dvd.iso /var/OSimage/Rhel6.6_x86_64/
3) Add this in the /etc/fstab file : "/ISOs/rhel-server-6.6-x86_64-dvd.iso /var/OSimage/Rhel6.6_x86_64/ iso9660 loop,ro 0 0"
4) Created a Rhel-local.repo in the /etc/yum.repos.d/ file
whose contents are as under
[Rhel-local]
name=Rhel-Local repository created from ISO
baseurl=file:///var/OSimage/Rhel6.6_x86_64/Server
gpgcheck=0
enabled=1


Then, i did a yum repolist that gives the following O/p.
[root@rhel6-64bit yum.repos.d]# yum repolist
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name status
Rhel-local Rhel-Local repository created from ISO 3,785
epel Extra Packages for Enterprise Linux 6 - x86_64 11,831
repolist: 15,616
=====================

But even though i had opted for minimal installation, it gives me this when i run "yum update"

[root@rhel6-64bit yum.repos.d]# yum update
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Update Process
No Packages marked for Update
===================

My purpose for this is the installation of few packages like cloud-init, git, parted etc. But on doing the "yum install -y cloud-utils cloud-init parted git ".
I get the below error
-----
Error: Package: python-boto-2.38.0-1.el6.noarch (epel)
Requires: python-requests
Error: Package: cloud-init-0.7.4-2.el6.noarch (epel)
Requires: python-argparse
Error: Package: cloud-init-0.7.4-2.el6.noarch (epel)
Requires: PyYAML
Error: Package: python-boto-2.38.0-1.el6.noarch (epel)
Requires: python-six
Error: Package: cloud-init-0.7.4-2.el6.noarch (epel)
Requires: python-requests

-----
Can anyone suggest about how to correct this??
Any help shall be deeply appreciated
 
Old 12-24-2015, 08:49 AM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
First question would be why are you using RH when you could be using Centos and have access to the repos?
You are aware that Centos is RH just re-branded right?
 
Old 12-24-2015, 04:01 PM   #3
Linedawg
LQ Newbie
 
Registered: Dec 2015
Posts: 4

Rep: Reputation: Disabled
I have that issue before with laptops and Virtual machines. Sometime the network adapter is turned off no reason at all. Check and see if you NIC is enabled.

I know it sounds odd but have encounter the same thing after every reboot.
 
Old 12-24-2015, 04:14 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,909

Rep: Reputation: 7403Reputation: 7403Reputation: 7403Reputation: 7403Reputation: 7403Reputation: 7403Reputation: 7403Reputation: 7403Reputation: 7403Reputation: 7403Reputation: 7403
Quote:
Originally Posted by gauravprashar17 View Post
I have installed rhel 6.6 minimal installation.
Since my system is not registered to Redhat, i cannot access the rhel repo. Hence, i created a local repo using the DVD-ISO image.


I have used the following steps:
Assuming that the iso dvd image is placed at /ISOs
1) mkdir -p /var/OSimage/Rhel6.6_x86_64
2) mount -o loop,ro /ISOs/rhel-server-6.6-x86_64-dvd.iso /var/OSimage/Rhel6.6_x86_64/
3) Add this in the /etc/fstab file : "/ISOs/rhel-server-6.6-x86_64-dvd.iso /var/OSimage/Rhel6.6_x86_64/ iso9660 loop,ro 0 0"
4) Created a Rhel-local.repo in the /etc/yum.repos.d/ file
whose contents are as under
[Rhel-local]
name=Rhel-Local repository created from ISO
baseurl=file:///var/OSimage/Rhel6.6_x86_64/Server
gpgcheck=0
enabled=1


Then, i did a yum repolist that gives the following O/p.
[root@rhel6-64bit yum.repos.d]# yum repolist
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name status
Rhel-local Rhel-Local repository created from ISO 3,785
epel Extra Packages for Enterprise Linux 6 - x86_64 11,831
repolist: 15,616
=====================

But even though i had opted for minimal installation, it gives me this when i run "yum update"

[root@rhel6-64bit yum.repos.d]# yum update
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Update Process
No Packages marked for Update
===================

My purpose for this is the installation of few packages like cloud-init, git, parted etc. But on doing the "yum install -y cloud-utils cloud-init parted git ".
I get the below error
-----
Error: Package: python-boto-2.38.0-1.el6.noarch (epel)
Requires: python-requests
Error: Package: cloud-init-0.7.4-2.el6.noarch (epel)
Requires: python-argparse
Error: Package: cloud-init-0.7.4-2.el6.noarch (epel)
Requires: PyYAML
Error: Package: python-boto-2.38.0-1.el6.noarch (epel)
Requires: python-six
Error: Package: cloud-init-0.7.4-2.el6.noarch (epel)
Requires: python-requests

-----
Can anyone suggest about how to correct this??
Any help shall be deeply appreciated
Yes, we can 'suggest you':
  • PAY FOR Red Hat, which will get your system registered, and make the message go away
  • Use CentOS for free, as lazydog suggested
 
Old 12-29-2015, 10:28 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,028

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
It will definitely be simplest to just use Centos instead of RHEL.
Also, add https://wiki.centos.org/PackageManag...Yum/Priorities if you are going to add other repos eg EPEL.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
yum update rhel5.1 to rhel6 jindalarpan Linux - Server 4 08-06-2012 02:47 AM
unable to update yum seeker48 Linux - Newbie 2 06-05-2009 06:22 AM
Unable to run "yum update" dependency problems!! baig Linux - Newbie 11 11-28-2008 07:20 PM
Login standalone box within AD environment and yum update zillah Linux - Networking 3 01-28-2007 04:04 AM
Unable to yum update tkt Linux - Newbie 1 09-22-2005 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:25 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