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 |
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.
|
 |
01-21-2009, 07:34 PM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 4
Rep:
|
Updating a standalone machine
What is the best way to regularly update a fedora machine that is not connected to the Internet?
|
|
|
01-22-2009, 01:45 AM
|
#2
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Rep:
|
Hi.
One way or another you'll need access to the update packages. One way to do this is to download the packages to another server (say, server A) in your network, and set up your Fedora server to use server A as a package repository.
|
|
|
01-22-2009, 05:34 AM
|
#3
|
LQ Newbie
Registered: Jan 2009
Posts: 4
Original Poster
Rep:
|
Ken, thanks for responding. I'm looking for a different solution because as I said in the OP the machine is not connected to the Internet so your suggestion is not possible.
|
|
|
01-22-2009, 06:09 AM
|
#4
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Rep:
|
Quote:
Originally Posted by Brad_
Ken, thanks for responding. I'm looking for a different solution because as I said in the OP the machine is not connected to the Internet so your suggestion is not possible.
|
My mistake. I figured that your machine did infact have a network card, and were connected to other machines in the network.
Anyways. So your only way of getting data to you machine is via USB-pen, CD/DVD, and such?
|
|
|
01-22-2009, 11:57 AM
|
#5
|
LQ Newbie
Registered: Jan 2009
Posts: 4
Original Poster
Rep:
|
Ken,
Yes CD/DVD would be the only option. I know I could go to the update repository and download the RPMs, burn them to DVD, then use the DVD as a local yum repository but I was wondering if there was a more elegant solution.
|
|
|
01-22-2009, 12:37 PM
|
#6
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Rep:
|
Well, maybe there are better ways, but since you're limited to DVDs I can't think of other ways of doing this. Did you have some idea of how you'd like to set this up? I mean, since you don't have any networking up and running, you're stuck with doing these things manually.
|
|
|
01-22-2009, 04:45 PM
|
#7
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
Consider buying a USB Hard Drive. Depending on the distro you are running, Linux has a LOT of updates every (week/month again depending on distro). Fedora is one of the faster cycling distros (lot of updates every week). Any one version of Fedora is only supported for about 13months and a new version is released about every six months. You really cannot just grab the rpms you want by themselves due to the nature of linux. Any one rpm MAY depend on any number of other rpms in order to function (you have to install the rpm and all of its dependencies in order for it to work) and each of those rpms it requires may also require a number of other rpms (dependencies of its own). In the end it is usually easier (and faster) to just grab all the rpms in the repo (yes, I know this can be 50GB or more). The other way it to go grab the rpm you want, try to install it, find out what it's dependencies are, go back download those rpms and repeat (until you get everything installed). Linux was really designed to have a internet connection readily available.
Last edited by lazlow; 01-22-2009 at 04:51 PM.
|
|
|
01-23-2009, 01:32 AM
|
#8
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Rep:
|
Quote:
Originally Posted by lazlow
Consider buying a USB Hard Drive. Depending on the distro you are running, Linux has a LOT of updates every (week/month again depending on distro). Fedora is one of the faster cycling distros (lot of updates every week). Any one version of Fedora is only supported for about 13months and a new version is released about every six months. You really cannot just grab the rpms you want by themselves due to the nature of linux. Any one rpm MAY depend on any number of other rpms in order to function (you have to install the rpm and all of its dependencies in order for it to work) and each of those rpms it requires may also require a number of other rpms (dependencies of its own). In the end it is usually easier (and faster) to just grab all the rpms in the repo (yes, I know this can be 50GB or more). The other way it to go grab the rpm you want, try to install it, find out what it's dependencies are, go back download those rpms and repeat (until you get everything installed). Linux was really designed to have a internet connection readily available.
|
Yeah, it's going to take a lot of effort updating the system this way. 
|
|
|
01-23-2009, 01:34 AM
|
#9
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Rep:
|
By the way, let me ask you this: Why do you feel that you need to update your system regularly?
If it's not connected to any network it is less likely to be attacked by a cracker. So updating from a security point of view is then maybe less important.
If you need to update because of support for new features, hardware and stuff I think you should consider just downloading the packages you actually need (along with the dependices of course).
|
|
|
01-25-2009, 04:26 PM
|
#10
|
LQ Newbie
Registered: Jan 2009
Posts: 4
Original Poster
Rep:
|
@ken
I never said the computer wasn't connected to any network. I said it wasn't connected to the Internet. (It is a common logical fallacy to assume a machine not connected to the Internet is not connected to any network) Thanks for your input.
@laz
Thanks for the suggestions. I will consider that option.
|
|
|
All times are GMT -5. The time now is 10:22 PM.
|
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
|
|