LinuxQuestions.org
Review your favorite Linux distribution.
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 10-10-2006, 11:27 AM   #1
batasson
LQ Newbie
 
Registered: Oct 2006
Location: Serbia
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
Software installation under Fedora Core 5


Hi everybody,

I have a problem with software installation under Fedora Core 5 OS.
I can't install packages from my DVD medium. Always I got back message:"Unable to retrive software information!". I tried to change code in fedora-core.repo, fedora-updates.repo and fedora-extras.repo, but still won't work.
Can anybody told me whats the problem? I heard that I have to reconfigure yum, but I dont know how to do that.
Help please!!

Bye..........
 
Old 10-10-2006, 11:39 AM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
Go here and follow the directions for configuring and setting up yum.

http://www.stanton-finley.net/fedora...ion_notes.html
 
Old 10-10-2006, 12:52 PM   #3
batasson
LQ Newbie
 
Registered: Oct 2006
Location: Serbia
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
I don't know if you understand me.
I have looked the page you gave me the link, but there is a direction for configuring yum to take over the packages over the net, but I need to install them from the DVD medium...
Any idea more??
 
Old 10-10-2006, 01:18 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
yum localinstall

See man yum.

Lazlow
 
Old 10-10-2006, 06:00 PM   #5
batasson
LQ Newbie
 
Registered: Oct 2006
Location: Serbia
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry guys, I'm a kind new in this Linux stuff.
I have tried Mandriva 2006 and SuSE 10, and there was no problem with anything. But, most of all, I like FC5.

When i type 'yum localinstall' I got answer:

"[root@localhost ~]# yum localupdate
Loading "installonlyn" plugin
Error: Need to pass a list of pkgs to localupdate"

When I type 'yum update' I got answer:

"[root@localhost ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core [1/3]
file://media/disk/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/disk/repodata/repomd.xml'
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try."

Is there any chanse to make it work "add/remove programs" from GUI (I use GNOME, if it's a matter of thing).
 
Old 10-10-2006, 06:15 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
yum localinstall /path/package.rpm

If you go man yum you will get the manual for yum. This works for most commands (man command).

Lazlow
 
Old 10-11-2006, 06:52 AM   #7
batasson
LQ Newbie
 
Registered: Oct 2006
Location: Serbia
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
I have looked yum manual and it didn't help me much.

I have installed yumex, and when I run it, I had an error:

"Cannot find a valid baseurl for repo: core"

In the output window had a text:

"Mirrordetection : default
Yum Version : 2.6.0 (/usr/share/yum-cli)
Loading "installonlyn" plugin
Cannot find a valid baseurl for repo: core
Cannot find a valid baseurl for repo: updates
Cannot find a valid baseurl for repo: extras
Cannot find a valid baseurl for repo: core"

Is this one step further, or the same thing like before??

p.s. thanks for the advice "man command"
 
Old 10-11-2006, 07:56 AM   #8
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Use installation DVD as repo for YUM

Create a .repo file in /etc/yum.repos.d,
As root, type following in terminal
>gedit /etc/yum.repos.d/installdvd.repo
copy following lines & save the file

[installdvd]
name=Fedora Core 5 Installation DVD
baseurl=file:///media/disk
enabled=1
gpgkey=file:///media/disk/RPM-GPG-KEY
gpgcheck=1

## baseurl : give the path where the repodata folder exists
## gpgkey : give path of folder where RPM-GPG-KEY exists

save this file and run yum as root

For making add/remove program work, open the .repo files, and uncomment the baseurl line in the following files
fedora-core.repo
fedora-extras.repo
fedora-updates.repo

If you are behind a proxy server, add following line to /etc/yum.conf
proxy=http://myproxy:myport

Last edited by sn68; 10-11-2006 at 08:01 AM.
 
Old 10-11-2006, 10:06 AM   #9
batasson
LQ Newbie
 
Registered: Oct 2006
Location: Serbia
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
Jeah, finally, yum is working now.
Thanks for your help guys.

Bye.....
 
Old 10-12-2006, 09:34 AM   #10
batasson
LQ Newbie
 
Registered: Oct 2006
Location: Serbia
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
Yo, I got another problem with software installation.
Package installation from Fedora Core Installation disc have no problem, but I have another dvd medium (I think its downloaded from fedoras ftp) with extras packages for Fedora. When I tried to istall software from that disc I get back error message the same as before. I suppose that I have to make another repo file. So, help me to make it , please.

Thank you....
 
Old 10-12-2006, 10:31 AM   #11
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
If the "extra" disc has a RPMS folder where all the rpm files are stored then the baseurl in your extradisc.repo should point to that folder, otherwise you may have to copy the rpm files in a folder and create a repo with createrepo. I am not sure about exact procedure but enough threads exist on the topic
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup Fedora core 3 & Redhat 7.2 software development environment under Fedora core 5 powah Fedora 1 06-16-2006 11:25 AM
DVB Software Fedora core 2.6.4 FedoraFox Linux - Software 0 06-02-2004 10:12 PM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration