Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-20-2008, 06:14 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
Red face yum installation in a single machine

hi buddy

i hv installed RHEL-5 in my home computer.i want to install rpm through YUM.i have already copied all the rpms from RHEL DVD from Server dir and paste it in to /var/ftp/Pub/Server.then i hv created /etc/yum.repos.d/server.repo and in that i have writen follwing.


here is my sysem localhost name

after that i hv done yum clean all and yum update both are workin fine but when i want to install it will give error no -4
so please help me out so that i can install rpm through yum

Prasenjit Behera
Old 03-21-2008, 03:58 AM   #2
Registered User
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
why ftp?

You have installed all the RPM files on the local machine, into the public ftp server.

Do you plan to make your YUM repository available on the Internet?
Is your FTP server running properly?

If it's only for yourself, then you could set the repository path as a local path instead of the current 'ftp://' (I never tried that, though). Or you could simply use RPM directly - in a certain way that's what YUM does. Maybe something like rpm -Uvh ./*.rpm within your /var/ftp/Pub/Server directory.

Hope this helps,

Fedora Development

Last edited by simplicissimus; 04-02-2008 at 04:50 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
running more than one login on a single machine Four Linux - Newbie 1 03-31-2007 10:46 PM
Transparent proxy on single machine SadPenguin Linux - Networking 3 01-30-2007 03:11 AM
Resource sharing b/w two OS, Single Machine ank_ankur Linux - General 3 08-02-2006 09:15 AM
configuring two NIC's on single machine b0nd Slackware 4 10-06-2005 01:51 PM
transparent proxy on a single machine kscott121 Linux - Networking 2 06-27-2004 08:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration