Sponsored Content
Operating Systems Linux Red Hat Yum installation problem from DVD ! Post 302331248 by shipon_97 on Sunday 5th of July 2009 06:59:31 AM
Old 07-05-2009
Yum installation problem from DVD !

Friends ,

I want to install package using yum from DVD in RHEL 5 . Hence I just follow the below rules :

1)
[root@server ~]# mount /dev/hdc /cdrom/
mount: block device /dev/hdc is write-protected, mounting read-only

2)
Edit the yum rhel-debuginfo.repo file like following way :

[root@server yum.repos.d]# pwd
/etc/yum.repos.d
[root@server yum.repos.d]# cat rhel-debuginfo.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///cdrom/Server/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@server yum.repos.d]#

Now When I try install a package (like zsh or others) then it shows the following error :

[root@server yum.repos.d]# ls
rhel-debuginfo.repo
[root@server yum.repos.d]# yum install zsh*
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for zsh to pack into transaction set.
media://1170972069.396645%233/zsh-4.2.6-1.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve zsh-4.2.6-1.i386.rpm from rhel-debuginfo
error was [Errno 4] IOError: <urlopen error unknown url type: media>
[root@server yum.repos.d]#

[root@server yum.repos.d]# yum install dovecot*
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for dovecot to pack into transaction set.
media://1170972069.396645%232/dovecot-1.0-1.2.rc15.el5.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve dovecot-1.0-1.2.rc15.el5.i386.rpm from rhel-debuginfo
error was [Errno 4] IOError: <urlopen error unknown url type: media>
[root@server yum.repos.d]#


Would anybody plz help me to remove this problem ?

Thx in advance ... ...
 

9 More Discussions You Might Find Interesting

1. Linux

How to customize installation DVD/CD of Linux ?

Hi, I have one software which I can install on linux. I want to put that on installation CD of linux. So whenever I will install Linux it will automatically install websense. How can I do that ? Thanks Neelesh (1 Reply)
Discussion started by: neel.gurjar
1 Replies

2. Solaris

how to split solaris installation dvd to cd?

hello. i have using OpenSolaris 10. i need to split OpenSolaris 10 Dvd to CD's? how i can? thanks. (1 Reply)
Discussion started by: hotjava
1 Replies

3. Solaris

Help me, please! Solaris 10 hands-off installation from a bootable DVD

Hello, I have a problem with installing the Solaris 10 using a bootable DVD with a flar archive. I want this installation to be totally hands-off, but unfortunately after I run this boot command at the ok prompt: ok boot cdrom - install ... the system is rebooted and the interactive... (5 Replies)
Discussion started by: Przemek
5 Replies

4. Red Hat

createrepo...YUM installation

i have 5 cd's of RHEL 5. how do i know which cd is the createrepo package in... is there any command or flags you can add to rpm command to install and the install processes will automatically ask for certain # of cd... (0 Replies)
Discussion started by: dplinux
0 Replies

5. Red Hat

Remote installation of rpm package (Using YUM)

Hi, I have configured YUM repository on a server and we have 10 linux machine (clients). Is there any way we can install a package on all the 10 machines from YUM repository server? Please help me. (7 Replies)
Discussion started by: uday123
7 Replies

6. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

7. Red Hat

yum problem

hi i am not able to do yum update in centos5 i was not able to use yum at all.i am getting an like this. #yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Update Process No Packages marked for Update please help me what i have missed (6 Replies)
Discussion started by: praneel2k
6 Replies

8. Red Hat

How to make boot.iso image from rhel6 installation dvd iso ?

Hello Everyone, Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies

9. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
yum-cron(8)															       yum-cron(8)

NAME
yum-cron - an interface to convieniently call yum from cron SYNOPSIS
yum-cron [config-file] DESCRIPTION
yum-cron is an alternate interface to yum that is optimised to be convenient to call from cron. It provides methods to keep repository metadata up to date, and to check for, download, and apply updates. Rather than accepting many different command line arguments, the dif- ferent functions of yum-cron can be accessed through config files. config-file is used to optionally specify the path to the configuration file to use. If it is not given, the default configuration file will be used. It is useful to be able to specify different configuration files for different use cases. For example, one configuration file might be set to update the repository metadata, and a line could be added to the crontab to run yum-cron frequently using this file. Then, another configuration file might be set to install updates, and yum-cron could be run from cron using this file just once each day. FILES
/etc/yum/yum-cron.conf /etc/yum/yum-cron-hourly.conf SEE ALSO
yum (8) AUTHORS
See the Authors file included with this program. BUGS
There of course aren't any bugs, but if you find any, you should email the mailing list, yum@lists.baseurl.org, or consult bugzilla. Nick Jacek yum-cron(8)
All times are GMT -4. The time now is 09:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy