Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-23-2006, 06:51 PM
|
#1
|
LQ Newbie
Registered: Jun 2006
Posts: 6
Rep:
|
installing addtional packages in fc6, with no network or net connection
I installed fc6, i686, choosing to install it as a workstation. It installed fine, i got no errors or anything.
Now i want to install the rest of the packages. when i try to run the "add/remove software", a popup appears telling me to put the root password in, which i do. THen the add/remove program runs, and says that it is checking for network connections. Then i get an error, saying that no network connection is found, and the program exits. I dont have a network connection, im not connected to the internet, but i do have the cd's for fc6 and i want to just install off them. How do i do it without having to set up a network or internet connection? cuz i dont want to do that at the moment.
Thanks,
ianbobisveck
|
|
|
11-23-2006, 08:37 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You could use the rpm command directly to install the package you want.
rpm -Uhv <full/path/to/rpm/package/filename>
You might also try commenting out lines in /etc/yum.conf that point to files in /etc/yum.repos.d/ that reference repo urls.
|
|
|
11-24-2006, 03:23 AM
|
#3
|
LQ Newbie
Registered: Jun 2006
Posts: 6
Original Poster
Rep:
|
Quote:
You might also try commenting out lines in /etc/yum.conf that point to files in /etc/yum.repos.d/ that reference repo urls.
|
Thanks. I changed the "enabled=1" to "enabled=0", now the add/remove software program runs. However, i can only add/remove the packages taht are already installed. I want to add the other packages from the install cds. I would just use the rpm -Uhv <full/path/to/rpm/package/filename> thing, but theres 2.5 cd's worth of rpms... last check, i want to install a total of more than 500 hundered, and im thinking that typing in each ones name and full path is not gonna be that enjoyable. Any ideas would be appreciated.
|
|
|
11-24-2006, 07:43 AM
|
#4
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Rep:
|
|
|
|
11-24-2006, 07:19 PM
|
#5
|
Member
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184
Rep:
|
reply
Hi,
I am in a similiar jam too, I posted a similiar thread on here. The reply was nothing on add/remove but I bet you can reboot off of the cds or dvd and do an upgrade install to just the additional packages you want. I really really suggest they work on getting add/remove working without a network connection as well as with. For those of us with dialup or no connection.
|
|
|
12-30-2006, 07:37 AM
|
#6
|
LQ Newbie
Registered: Dec 2006
Posts: 1
Rep:
|
Creating local repo from fc6 dvd
If you have the dvd version of fc6 and enough hard disk space try the following:
Install createrepo...rpm from the dvd's RPMS directory by clicking on the file from within gnome or using rpm -ivh (it shouldn't require further dependencies with a default gnome install)
Copy RPMS directory and its contents from dvd to suitable location, say /opt
Copy comps.xml from repodata directory on dvd to /opt/RPMS
$su -
#createrepo -g /opt/RPMS/comps.xml /opt/RPMS
Create the file /etc/yum.repos.d/opt.repo containing:
[opt]
name=opt
baseurl=file:///opt/RPMS
enabled=1
gpgcheck=0
Change "enabled=1" to "enabled=0" in all other .repo files in /etc/yum.repos.d
#yum clean all
Add/Remove Software can now be used to install groups or individual packages.
Last edited by andrew7a2; 01-21-2007 at 06:23 AM.
Reason: Simplified procedure
|
|
|
All times are GMT -5. The time now is 01:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|