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
RHNPLUGIN(8)							   Red Hat, Inc.						      RHNPLUGIN(8)

NAME
rhnplugin - Spacewalk/Red Hat Satellite support for yum(8). DESCRIPTION
rhnplugin provides Spacewalk support for yum(8) via its plugin architecture. A system registered with Spacewalk will be able to update and install packages from Spacewalk. FILES
/etc/sysconfig/rhn/up2date The common configuration file used by RHN client programs. /etc/yum/pluginconf.d/rhnplugin.conf A file containing plugin specific configuration options. SEE ALSO
yum(8), rhn_check(8), rhn_register(8), rhnplugin.conf(5), up2date(5). AUTHORS
James Bowes <jbowes@redhat.com> and Peter Vetere <pvetere@redhat.com>. BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 2006 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Linux 2006 November 13 RHNPLUGIN(8)
All times are GMT -4. The time now is 04:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy