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(8)																	    yum(8)

NAME
yum - Yellowdog Updater Modified shell SYNOPSIS
yum shell [filename] DESCRIPTION
yum includes an interactive shell for conducting multiple commands or sets of commands during a single execution of yum. These commands can be issued manually or passed to yum from a file. The commands are much the same as the normal yum command line options. See here yum(8) for that information. There are a few additional commands documented below. config [argument] [value] args: debuglevel, errorlevel, obsoletes, gpgcheck, assumeyes, exclude If no value is given it prints the current value. If value is given it sets that value. repo [argument] [option] list: lists repositories and their status enable: enable repositories. option = repository id disable: disable repositories. option = repository id transaction [argument] list: lists the contents of the transaction reset: reset (zero-out) the transaction solve: run the dependency solver on the transaction run: run the transaction Examples The following are examples of using the yum shell. list available packagename* groupinfo 'Some Group' install foo remove bar update baz run That will list available packages matching the glob 'packagename*'. It will return information on the group 'Some Group' It will then queue the following commands into the transaction: install foo, remove bar, update baz. Then the 'run' command will resolve dependencies for the transaction commands and run the transaction. SEE ALSO
yum (8) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There of course aren't any bugs, but if you find any, they should be sent to the mailing list: yum@lists.baseurl.org or filed in bugzilla. Seth Vidal yum(8)
All times are GMT -4. The time now is 10:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy