LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2008, 03:20 PM   #1
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 15
Problem with yum installing djvu using freshrpms repositories , RHEL, x86_64


I am trying to install djvu on my RHEL4, x86_64
with yum using freshrpms repositories.

# yum install djvu
Setting up Install Process
Setting up repositories
Cannot find a valid baseurl for repo: freshrpms
Error: Cannot find a valid baseurl for repo: freshrpms


Could someone explain me how to do this correctly

Thanks,
John
 
Old 01-07-2008, 03:31 PM   #2
thedonkdonk
Member
 
Registered: Oct 2005
Location: San Jose, CA
Distribution: Fedora, RHEL, CentOS
Posts: 136

Rep: Reputation: 16
You should have a file called rpmforge.repo in the /etc/yum.repos.d/ diretory. It should look like this one:
Code:
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
If it does look the same try modifying it. Uncomment the baseurl line. If you still have issues let me know and I will help.
 
Old 01-07-2008, 07:57 PM   #3
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by thedonkdonk View Post
You should have a file called rpmforge.repo in the /etc/yum.repos.d/ diretory. It should look like this one:
Code:
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
If it does look the same try modifying it. Uncomment the baseurl line. If you still have issues let me know and I will help.
Indeed I have the file and it appears to be the same:


# more rpmforge.repo

# Name: RPMforge RPM Repository for Red Hat Enterprise 4 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1




Thanks,

John
 
Old 01-07-2008, 11:19 PM   #4
thedonkdonk
Member
 
Registered: Oct 2005
Location: San Jose, CA
Distribution: Fedora, RHEL, CentOS
Posts: 136

Rep: Reputation: 16
Awesome! Change it to read:
Code:
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
 
Old 01-11-2008, 07:47 AM   #5
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by thedonkdonk View Post
Awesome! Change it to read:
Code:
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
Thank you for your help.
I was able to install djvu by running a binary.
I tried to install another package "alsa-oss" with yum after I uncommented the baseurl line


#yum install 'alsa-oss'
Setting up Install Process
Setting up repositories
http://ayo.freshrpms.net/fedora/linu...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: freshrpms
failure: repodata/repomd.xml from freshrpms: [Errno 256] No more mirrors to try.Error: failure: repodata/repomd.xml from freshrpms: [Errno 256] No more mirrors to try.


seems yum csan not find the right repository.


Thanks,

John
 
Old 01-15-2008, 02:54 PM   #6
Mahalo
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 2
Not on a network, Cannnot find a baseurl for repo:

I'm getting the same error, but the machine I am working on is not on a network...I'm trying to get it updated and get a usb wireless adapter to work with it.

I also don't have file called rpmforge.repo in the /etc/yum.repos.d/ diretory. All that is in there is:
fedora-devel.repo
fedora-extras-devel.repo
fedora-extras.repo
fedora.repo
fedora-updates.repo
and fedora-updates-testing.repo

Any ideas for me?

I hope all of this is worth it...I've been trying to get my kernel and ndis wrapper updated all day long and have been pulling my heair out reading all of the help files I can find...

Thank you in advace for any assistance anyone has to offer. If I need to get any more info or files I have access to another computer (windows os) and can access or chat from it.

Peace
 
Old 01-15-2008, 07:57 PM   #7
thedonkdonk
Member
 
Registered: Oct 2005
Location: San Jose, CA
Distribution: Fedora, RHEL, CentOS
Posts: 136

Rep: Reputation: 16
Mahalo,

I can help you find the right files to download but i need to know what distribution you are using and the output from uname -a.
 
Old 01-15-2008, 08:08 PM   #8
Mahalo
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 2
Howdy! Thanks for the offer...I'm going to go ahead and redo this laptop with Fedora8 while I'm messing with it...there is noting on it that I need and what I obviously need is the practice.

Thank you VERY much for your offer, I truly appreciate it!

Peace! Keep on Keepin it GNU!
 
  


Reply



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
problem with running windows programs with wine under RHEL 4, x86_64 saak.stepi Linux - Software 1 12-21-2007 04:31 AM
Problem With Yum and RPM in RHEL Client 5 kaplan71 Red Hat 1 11-07-2007 09:01 AM
djvu exits on try to open *.djvu document deggial Linux - Software 0 04-09-2006 05:01 AM
Yum Repositories for RHEL ES3 snowinferno Red Hat 2 10-18-2005 06:17 AM
yum repositories problem..... Daejavu Fedora 3 09-06-2005 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration