RHEL Repo Sync To Local System

Hi Team,

I have RHEL satellite login credentials and I am able to update successfully my machine.Updating single worked for sometime.

My current requirement is to keep a separate VM locally in my environment and sync the RHEL repo to my machine.

How do I do it.

Thanks in advance


Similar Content



RHEL 6.5 Machine Keeps Auto Rebooting

Hello - I have an HP DL180 that I just upgraded to RHEL 6.5 (from RHEL 5.8). Since the upgrade, it is now rebooting automatically at various times during the day. I thought it was like something to do with the power mgr, but it is turned off... I am looking through /var/log files and such for clues but am getting nowhere.
Here is an example of what last shows:

reboot system boot 2.6.32-431.el6.x Tue Mar 31 17:22 - 19:45 (02:23)

What is going on? Evil computer?

Error After Running Yum Update - Black Screen

Can you guys advise on how to resolve this? We have a machine (RHEL 6 32bit 2.6.32-504.8.1.el6.i686) that boots to a black screen. I can SSH into it from my machine, but when you're physically at the machine it just displays a black screen.

I have tried booting from the previous 2 kernels, but still get the black screen.

I am assuming something got hosed with the video stuff? Its an ATI Radeon 4000series card. Should I install the ATI driver from their website and try? We have never had to do that with these machines though.


Also, when running a yum update, we receive this error. I'm not sure how to resolve this and if resolving this will fix the video issues.

Code:
# yum update
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: libudev = 147-2.46.el6 for package: libgudev1-147-2.46.el6.i686
---> Package libudev.i686 0:147-2.57.el6 will be an update
---> Package libudev-devel.i686 0:147-2.46.el6 will be updated
---> Package libudev-devel.i686 0:147-2.57.el6 will be an update
---> Package udev.i686 0:147-2.46.el6 will be updated
---> Package udev.i686 0:147-2.57.el6 will be an update
--> Finished Dependency Resolution
Error: Package: libgudev1-147-2.46.el6.i686 (@rhel-i386-workstation-6)
           Requires: libudev = 147-2.46.el6
           Removing: libudev-147-2.46.el6.i686 (@rhel-i386-workstation-6)
               libudev = 147-2.46.el6
           Updated By: libudev-147-2.57.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.57.el6
           Available: libudev-147-2.29.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.29.el6
           Available: libudev-147-2.35.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.35.el6
           Available: libudev-147-2.40.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.40.el6
           Available: libudev-147-2.41.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.41.el6
           Available: libudev-147-2.42.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.42.el6
           Available: libudev-147-2.46.el6_4.2.i686 (rhel-i386-workstation-6)
               libudev = 147-2.46.el6_4.2
           Available: libudev-147-2.51.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.51.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Heres after running yum update --skip-broken:

Code:
# yum update --skip-broken
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: libudev = 147-2.46.el6 for package: libgudev1-147-2.46.el6.i686
---> Package libudev.i686 0:147-2.57.el6 will be an update
---> Package libudev-devel.i686 0:147-2.46.el6 will be updated
---> Package libudev-devel.i686 0:147-2.57.el6 will be an update
---> Package udev.i686 0:147-2.46.el6 will be updated
---> Package udev.i686 0:147-2.57.el6 will be an update
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
---> Package libudev.i686 0:147-2.57.el6 will be an update
--> Processing Dependency: libudev = 147-2.57.el6 for package: libudev-devel-147-2.57.el6.i686
--> Running transaction check
---> Package udev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: udev = 147-2.46.el6 for package: libudev-devel-147-2.46.el6.i686
---> Package udev.i686 0:147-2.57.el6 will be an update

Packages skipped because of dependency problems:
    libudev-147-2.57.el6.i686 from rhel-i386-workstation-6
    libudev-devel-147-2.57.el6.i686 from rhel-i386-workstation-6
    udev-147-2.57.el6.i686 from rhel-i386-workstation-6

Thanks in advance.

Repo Syntax Issue Rhel/centos

Hello again,

i need to understand once for all the syntax of files.repo.

When i need a repository i create under /etc/yum.repos.d/ the repository file

goofy.repo

with this syntax

[repository_name]
[goofy]
baseurl=ftp:///mydirectory/myrepodir
gpgcheck=0

---
Myrepodir contains all the *.rpm files i need

when i exit and save i get anytime this error

Code:
ftp:///mydirectory/myrepodir/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repobase. Please verify its path and try again

What am i wrong for? How can i just say to my rhel/centos system
"Ehy, for rpm look inside /mydirectory/myrepo" ?

Thanks

Can't Set Repos In RHEL6.0, Unable To Install Packages

Hi all.
RHEL 6.0 in Virtual Box, network is ok, it can resolve all repos (f.e. dl.fedoraproject.org, nginx.org),
but when I'm trying
Code:
# rpm -Uvh http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm

I get:
Code:
curl: (6) Couldn't resolve host

When I'm trying with ip instead name:
Code:
curl: (22) The requested URL returned error: 404

Only rpmforge repo enabled, but it can't find any packets for install/update.

What can I do?
Thanks.

Error While Installing Openshift With Redhat Subscrtiption Via Openshift.sh

Hi
I am getting the below error while trying to install openshift by script openshift.sh

subscription-manager repos --enable=rhel-6-server-ose-2.1-infra-rpms
Error: rhel-6-server-ose-2.1-infra-rpms is not a valid repo ID

Make Python Highly Available In RHEL 6.4

I have configured RHEL cluster by installing ricci and luci server. I have successfully tested it for httpd service. Now my target is to achive the HA of python. Can anyone help me with it?

RHEL 7: No Output From Ip Commands

Hi,

Apologies if this is in the wrong forum, wasn't sure which was most appropriate...

I've built a Redhat 7 VM from an ISO and I've carried out various configuration on it and for some reason when I now run ip commands (for examnple 'ip addr show') I no longer get any output on screen.

Example...
[root@rhel-7-xx2 ~]# ip addr show
[root@rhel-7-xx2 ~]#

Version I'm using is:
Red Hat Enterprise Linux Server release 7.0 (Maipo)

I built another server and had the same problem and managed to fix it by yum updating all packages so it looks like a package needs to be updated but not sure which one.

If I pipe the output to a text file I can see the output okay in the file.

I have a ticket open with Redhat but it's taking a while to troubleshoot with them so thought I'd see if anyone else had seen this in the meantime...

Thanks
James

Problem With Changing /etc/login.defs

Hi,

First I want to inform you that I'm running a RHEL 6.5 system.

I have some questions about the /etc/login.defs file. Does this file apply to all the users on the system, or does everyone have separate files?

I want to change the PASS_MAX_DAYS value from 99999 to 90 for all users on the system and wonder whats the correct way to do this? I noticed that after I changed this file manually it doesn't work. When typing "chage --list [username]" it shows a completley different value. Also, after managing this file, do I have to restart/reload some daemons or services to make it happen?

Could someone give me some good advice in this issue?

Thank you in advance.

/Lux

Utilizing Yum To Update Rpms Based On Linux Security Notices

Hello all.

I'm using RHEL 6.5 Workstation and have a single RHEL system connected to the internet do download rpms based on Security Notices from Red Hat. While on the RHEL system and internet I perform the below:

yum install --downloadonly --resolve --downloaddir=<directory> <package>

My goal is to ensure I capture any dependencies (which is a nightmare)and thus I use the --resolve. When I update my RHEL systems not connected to the internet I perform a yum update. For some yum updates it's goes pretty smooth but for others I'm constantly getting errors about conflicts or other similar errors. An example of when yum updates don't work can be seen below:

Resolving Dependencies
--> Running transaction check
--> Processing Dependency: freetype = 2.3.11-5.el6 for package: freetype-devel-2.3.11-5.el6.x86_64
---> Package freetype.x86_64 0:2.3.11-15.el6_6.1 set to be updated
--> Finished Dependency Resolution
Error: Package: freetype-devel-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
Requires: freetype = 2.3.11-5.el6
Removing: freetype-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
freetype = 2.3.11-5.el6
Updated By: freetype-2.3.11-15.el6_6.1.x86_64 (security)
freetype = 2.3.11-15.el6_6.1
You could try using --skip-broken to work around the problem
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5()(64bit)
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5(CXXABI_1.2)(64bit)



[root@system12 security]# yum update freetype-2.3.11-15.el6_6.1.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Examining freetype-2.3.11-15.el6_6.1.x86_64.rpm: freetype-2.3.11-15.el6_6.1.x86_64
Marking freetype-2.3.11-15.el6_6.1.x86_64.rpm as an update to freetype-2.3.11-5.el6.x86_64
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: freetype = 2.3.11-5.el6 for package: freetype-devel-2.3.11-5.el6.x86_64
---> Package freetype.x86_64 0:2.3.11-15.el6_6.1 set to be updated
--> Finished Dependency Resolution
Error: Package: freetype-devel-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
Requires: freetype = 2.3.11-5.el6
Removing: freetype-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
freetype = 2.3.11-5.el6
Updated By: freetype-2.3.11-15.el6_6.1.x86_64 (/freetype-2.3.11-15.el6_6.1.x86_64)
freetype = 2.3.11-15.el6_6.1
You could try using --skip-broken to work around the problem
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5()(64bit)
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5(CXXABI_1.2)(64bit)
[root@system12 security]#

Is there something I'm not doing correctly? Again some work and some do not, as seen above the example where it does not work. Is this a larger problem? Although I'm using RHEL 6.5 on the system where I obtain my security updates are my RHEL 6.5 systems which are not connected to the internet so different (in regards to what files are installed) that dependencies differ greatly and I'm not fully appreciating the environment for my off-line systems?

A million thanks in advance,
Johnny Mac

Time Sync Problem Between VirtualBox And Host System

hello all,
i actually am new to using VirtualBox, so am not aware with much of its functionalities.

my problem here is that when i take a snapshot at say 10am , and then restore that snapshot an hour later at 11am and then start the VM then the time in the host system is 11am but the VM shows the time as 10am and continues from there itself.. i tried waiting for some time to see if it would sync the time automatically, but it didnt.

so is there any command using which i can sync the time between the VM and host system?

i have searched and found that VM GuestAdditions helps to sync the time instantly within 10 sec or so.. but i dont want to use it because i have heard that many problems have occured after installing the GuestAdditions..

so without GuestAdditions is there any command to sync the time?

thankyou to all in advance