LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-14-2006, 04:58 AM   #1
fara78
LQ Newbie
 
Registered: Apr 2005
Posts: 21

Rep: Reputation: 15
Installing packages from Fedora Core 6 cds after installation


Hi



I have just installed Fedora Core 6.

Question: I want to install some packages after installing FC6. I choose "Add/Remove Software" from "Applications" menu. "Package Manager" window appears and a progress bar saying "Retrieving software information" shows up. I think it's trying to collect some infromation from the Internet. But my PC is not connected to the Internet. After a while it shows a dialog box with just a single "OK" button which says "Unable to retrieve software information". After clicking on the OK button the whole package manager quits and nothing happens. I just want to install some software from the FC6 CDs (5 CDs actually). But I don't want to choose the rpms by exploring the discs manually. So, I would appreciate if anyone can give me a hint to fix this.



Cheers

Faramarz
 
Old 12-14-2006, 06:38 AM   #2
danie_w
LQ Newbie
 
Registered: Apr 2006
Location: Centurion, Gauteng, South Africa
Distribution: Fedora 16, Ubuntu 12.04
Posts: 20

Rep: Reputation: 0
Yes, I have had the same problem. Somewhere (/etc/yum.conf ?) I think you must set (installonline=0 or) something. man yum.conf
 
Old 12-14-2006, 09:03 AM   #3
dip_10
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
i had the same problem with fedora core 5.i reported this to redhat and came to know that "Add/Remove Software" works only when u are online i.e. your system can access to redhat and other repositories.so please check whether it works or not when u are online. they told that this problem would be removed in next release.but i dont know whether it is done or not.....

thanks
dip
 
Old 12-14-2006, 05:00 PM   #4
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
There is a way to configure yum locally, but you will need to copy all the RPMs to a directory, then point yum to it. Since you don't have a network connection, here goes...

1) Set up a directory, for example /usr/local/RPMS
2) Copy the .rpm files in each of the RPMS directories from the install CD's to this directory. (I would suggest cp -a *.rpm /usr/local/RPMS)
3) Generate header files using either yum-arch or createrepo. createrepo is suppose to be a replacement for yum-arch. I don't have FC6 yet so I don't know which one it comes with.
4) Configure the yum.conf file to use this directory. Here is an example.
Code:
# See the yum.conf(5) man page for information on the sytax of this file,
# including failover setup.
 
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
exclude=kernel*
 
[local]
name=Fedora Core 6 Original Packages
baseurl=file:///usr/local/RPMS
You should then be able to use yum to get packages that are on your local system. Note: The reason we copied all the RPM's is so you don't have to go through the process of figuring out dependencies. Yum will do that, but the dependent packages have to be there.

Bill

Last edited by wmakowski; 12-14-2006 at 05:12 PM.
 
Old 01-01-2007, 11:26 PM   #5
fara78
LQ Newbie
 
Registered: Apr 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks everybody

And specially thank you very much Bill.
It worked.

Cheers
Faramarz
 
  


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
Installing rest of Fedora Core - 4 packages libregeek Fedora - Installation 3 11-19-2005 07:51 AM
Installing Fedora Core 3 without CDs infitechdesign Fedora - Installation 1 01-27-2005 05:21 AM
Fedora Core 3 Installation CDs Fix? danielx Fedora - Installation 1 11-21-2004 09:27 PM
Problem With Installing .rpm Packages On Fedora Core 2 FireDemon666 Fedora 8 08-15-2004 08:01 AM
Installation notes wanted for installing Fedora Core on T40 baloo9 Linux - Laptop and Netbook 1 03-12-2004 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:32 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