Unable to install packages from DVD using YUM
I get the following errors; when I try to install emacs
Code:
|
why not use
yum localinstall <path-to-emacs-RPM-file> |
Operating System: RHEL 5.0
Objective : Create a yum repository on a FTP server. Let the server & any other client install packages using the FTP service. Now I don't want to copy the whole RPM packages from DVD to the /var/ftp/pub directory. I want the yum repository to access the mounted DVD. So; I tried out the following steps-> 1. mount /dev/cdrom /media O/P: DVD mounted on /media 2. createrepo -pv -o /var/ftp/pub/. /media/. |
is it not as simple as using automount to mount the CDROM when inserted
and then create another /etc/yum/repos.d/*.conf file and point set BASEURL to something like file://media/ |
See post #5 in http://www.linuxquestions.org/questi...ro-dvd-652904/
|
Or you can just mount the cdrom, cd into the RPM directory and directly install emacs. You can't run createrepo on a mounted read-only cd.
|
Quote:
1. Added the media.repo file. Code:
vim /etc/yum.repos.d/media.repo Code:
[InstallMedia] Code:
|
Dependencies are not automatically resolved.
Quote:
Code:
-o --outputdir <url> |
Quote:
As for the other issue, you're trying to plug-in your IP Address in the yum but it can't change to the correct directory probably due to the path. What is the root directory for you serving out FTP from? Did you even try the local repository as described from billmayday to use the local file system and not ftp? |
Quote:
|
Quote:
|
Code:
yum install emacs How to enable the client to access these repositories? |
Quote:
That was all |
The Disk name supplied, is correct
|
What does
ls "/media/RHEL_5 i386 DVD" give you? |
All times are GMT -5. The time now is 06:56 AM. |