LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-08-2008, 12:18 PM   #1
rajeshux
LQ Newbie
 
Registered: Nov 2008
Posts: 15

Rep: Reputation: 0
Talking YUM Repos [ftp] error


Hi Linuxies,

I have set yum repository on a ftp server 192.168.132.1 . My client was 192.168.132.128. My client can list the available rpms but when i try to download them by using yum install <package-name> it shows following error.

Code:
Loading "installonlyn" plugin
Loading "security" plugin
Loading "rhnplugin" 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-html to pack into transaction set.
media://1192656534.547140%233/zsh-html-4.2.6-1.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve zsh-html-4.2.6-1.i386.rpm from localrepo
error was [Errno 4] IOError: <urlopen error unknown url type: media>
I hope your hand in resolving the matter.
Linuxie,
India.
 
Old 12-08-2008, 03:08 PM   #2
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
havent you dump the packages on the hard drive ?
 
Old 12-08-2008, 06:24 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 169Reputation: 169
Did you use the createrepo package? If not how did you set it up? It looks like you just tried to reroute the media repo.
 
Old 12-08-2008, 10:10 PM   #4
rajeshux
LQ Newbie
 
Registered: Nov 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

As u said, i just copied the the repos tree given on the media to a ftp tree. So how can i set createrepo on to ftp server. Can you detail the command switches for createrepo to recognize the remote rpms.
 
Old 12-08-2008, 10:26 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 169Reputation: 169
Just do a search on createrepo package. It should be in the standard repos.
 
Old 12-09-2008, 01:02 AM   #6
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
createrepo /ftp/directory-where-packages-are-dumped/
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum repos? zahadumy Fedora 10 01-10-2007 05:46 PM
Other yum repos? hamtavs Fedora 1 12-20-2006 04:51 AM
Yum repos on RH 7.3 crazy8 Red Hat 16 12-01-2006 01:03 PM
Yum baseurl error for some repos chuck0 Linux - Software 6 03-03-2006 08:41 PM
Error: Bad repository file ///etc/yum.repos.d/dag.repo. Skipping dr_zayus69 Linux - Software 1 07-12-2005 11:56 PM


All times are GMT -5. The time now is 06:15 PM.

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