LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Software installation under Fedora Core 5 (https://www.linuxquestions.org/questions/linux-software-2/software-installation-under-fedora-core-5-a-491121/)

batasson 10-10-2006 10:27 AM

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..........

dudeman41465 10-10-2006 10:39 AM

Go here and follow the directions for configuring and setting up yum.

http://www.stanton-finley.net/fedora...ion_notes.html

batasson 10-10-2006 11:52 AM

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?? :)

lazlow 10-10-2006 12:18 PM

yum localinstall

See man yum.

Lazlow

batasson 10-10-2006 05:00 PM

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).

lazlow 10-10-2006 05:15 PM

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

batasson 10-11-2006 05:52 AM

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"

sn68 10-11-2006 06:56 AM

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

batasson 10-11-2006 09:06 AM

Jeah, finally, yum is working now.
Thanks for your help guys.

Bye.....

batasson 10-12-2006 08:34 AM

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....

sn68 10-12-2006 09:31 AM

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


All times are GMT -5. The time now is 09:57 AM.