 |
|
 |
|
Next: Upgrading many packages
|
| Author |
Message |
External

Since: Dec 12, 2006 Posts: 2
|
(Msg. 1) Posted: Tue Dec 12, 2006 5:42 am
Post subject: Up2date with no internet connection Archived from groups: linux>redhat>rpm (more info?)
|
|
|
Hi ,
How can i update my linux server without connecting it to the internet?
Is it possible to download everything to a cd, burn it and then install?
If so, how should i do it?
Thanks,
Gal |
|
| Back to top |
|
 |  |
External

Since: Jul 20, 2003 Posts: 71
|
(Msg. 2) Posted: Tue Dec 12, 2006 2:52 pm
Post subject: Re: Up2date with no internet connection [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
gal_m <gal_m RemoveThis @rad.com> wrote:
>
> How can i update my linux server without connecting it to the internet?
> Is it possible to download everything to a cd, burn it and then install?
Yes, as long as you are able to fit that "everything" on a cd.
Copying update package files to a directory on your disk may give
you more flexibility; again, if you have enough space to spare.
> If so, how should i do it?
Mount it, change to a directory with your packages and do
rpm -Fvh *.rpm
Possible problems:
- some updates may depend on not installed yet packages
from a base installation; add those to your set if required
- some packages may have few versions - say for i386, i586 and
i686; you need only _one_ but you grabbed them all and you
are getting conflicts; well, don't do that
- you got "command too long" or something of that sort.
In the last case it is possible to split your updates into
groups but doing that "by hand" will likely be a trial-and-error.
Install 'createrepo' instead, read its docs, use it and write
yourself a config file for yum which is using only local directory.
It will have 'baseurl=file:///path/to/your/repo' and
'reposdir=/dev/null' (and other stuff as usual). Use that with
'yum -c ...' to get yum to do dependency resolution for you.
Michal |
|
| Back to top |
|
 |  |
External

Since: Dec 12, 2006 Posts: 2
|
(Msg. 3) Posted: Wed Dec 13, 2006 3:35 am
Post subject: Re: Up2date with no internet connection [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hi,
Thank you for reply.
I cant understand what should i download from RHN.
Should i download the last Red Hat version which include the RPM's (Iso
file) or can i download the RPM's as package?
Thanks,
Gal
"Michal Jaegermann" <michal.RemoveThis@gortel.phys.ualberta.ca> wrote in message
news:eln4qf$m2k$3@tabloid.srv.ualberta.ca...
> gal_m <gal_m.RemoveThis@rad.com> wrote:
>>
>> How can i update my linux server without connecting it to the internet?
>> Is it possible to download everything to a cd, burn it and then install?
>
> Yes, as long as you are able to fit that "everything" on a cd.
> Copying update package files to a directory on your disk may give
> you more flexibility; again, if you have enough space to spare.
>
>> If so, how should i do it?
>
> Mount it, change to a directory with your packages and do
>
> rpm -Fvh *.rpm
>
> Possible problems:
> - some updates may depend on not installed yet packages
> from a base installation; add those to your set if required
> - some packages may have few versions - say for i386, i586 and
> i686; you need only _one_ but you grabbed them all and you
> are getting conflicts; well, don't do that
> - you got "command too long" or something of that sort.
>
> In the last case it is possible to split your updates into
> groups but doing that "by hand" will likely be a trial-and-error.
> Install 'createrepo' instead, read its docs, use it and write
> yourself a config file for yum which is using only local directory.
> It will have 'baseurl=file:///path/to/your/repo' and
> 'reposdir=/dev/null' (and other stuff as usual). Use that with
> 'yum -c ...' to get yum to do dependency resolution for you.
>
> Michal |
|
| Back to top |
|
 |  |
External

Since: Jul 20, 2003 Posts: 71
|
(Msg. 4) Posted: Wed Dec 13, 2006 1:33 pm
Post subject: Re: Up2date with no internet connection [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
gal_m <gal_m DeleteThis @rad.com> wrote:
>
> I cant understand what should i download from RHN.
RHN? What you are really running and what are your real goals.
RHN is a "subscribers only" service for RHEL users and is different
than, for example, yum repositories used by those who use Fedora
or CentOS (to stay within "Red Hat derivatives").
> Should i download the last Red Hat version
Version of what?
If you are thinking about a release upgrade then installations
sets on CDs, or DVDs, are designed to be used stand-alone and
include all tools which will guide you through the process.
In general it is also not a very good idea to try to do a release
upgrade, as opposed to updating various packages within a release,
by updating a bunch of individual packages. It may work but
you better know really well what you are doing and how to recover
if you messed up the whole installation - which is very easy to do.
None of vendors will support such trickery as there is too many
variables which you need to be prepared to handle on your own.
We were talking about applying current updates to what you happen
to be running.
> which include the RPM's (Iso
> file) or can i download the RPM's as package?
The way you asked your question it does not matter. A file
is a file regardless on what kind of filesystem it is located.
Can you really find iso images with "running updates" for your
distro? This does not seem to be a popular item.
Michal |
|
| Back to top |
|
 |  |
External

Since: Feb 02, 2006 Posts: 337
|
(Msg. 5) Posted: Wed Dec 13, 2006 1:56 pm
Post subject: Re: Up2date with no internet connection [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
gal_m wrote:
> Hi,
> Thank you for reply.
>
> I cant understand what should i download from RHN.
> Should i download the last Red Hat version which include the RPM's (Iso
> file) or can i download the RPM's as package?
>
> Thanks,
> Gal
>
>
> "Michal Jaegermann" <michal.TakeThisOut@gortel.phys.ualberta.ca> wrote in message
> news:eln4qf$m2k$3@tabloid.srv.ualberta.ca...
>
>>gal_m <gal_m.TakeThisOut@rad.com> wrote:
>>
>>>How can i update my linux server without connecting it to the internet?
>>>Is it possible to download everything to a cd, burn it and then install?
>>
>>Yes, as long as you are able to fit that "everything" on a cd.
>>Copying update package files to a directory on your disk may give
>>you more flexibility; again, if you have enough space to spare.
>>
>>
>>>If so, how should i do it?
>>
>>Mount it, change to a directory with your packages and do
>>
>> rpm -Fvh *.rpm
>>
>>Possible problems:
>> - some updates may depend on not installed yet packages
>> from a base installation; add those to your set if required
>> - some packages may have few versions - say for i386, i586 and
>> i686; you need only _one_ but you grabbed them all and you
>> are getting conflicts; well, don't do that
>> - you got "command too long" or something of that sort.
>>
>>In the last case it is possible to split your updates into
>>groups but doing that "by hand" will likely be a trial-and-error.
>>Install 'createrepo' instead, read its docs, use it and write
>>yourself a config file for yum which is using only local directory.
>>It will have 'baseurl=file:///path/to/your/repo' and
>>'reposdir=/dev/null' (and other stuff as usual). Use that with
>>'yum -c ...' to get yum to do dependency resolution for you.
>>
>> Michal
>
>
>
Hi gal_m,
You can download the latest update iso's, but you can also download the
latest packages. The package rpm's are most of the time newer than the
update ISO's.
Kind regards,
Jan Gerrrit Kootstra |
|
| Back to top |
|
 |  |
External

Since: Dec 14, 2006 Posts: 1
|
(Msg. 6) Posted: Thu Dec 14, 2006 11:21 am
Post subject: Re: Up2date with no internet connection [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Le Tue, 12 Dec 2006 11:42:38 +0200, gal_m a écrit :
> Hi ,
>
> How can i update my linux server without connecting it to the internet?
> Is it possible to download everything to a cd, burn it and then install?
> If so, how should i do it?
> Thanks,
> Gal
Hi!
Try Yum, it is a package management system compatible with Redhat/rpms
wich allows you to update your system via a local repository (a simple ftp
or httpd directory containing some rpms). It will upgrade only the
installed packages and solve the depencies problems for you.
you can use it later to install other packages,it is an 'apt like'
system, where you can search/browse/install/upgrade packages.
=Gilles= |
|
| Back to top |
|
 |  |
| Related Topics: | Up2Date Discrepancy - I removed and then re-installed the two rhn rpms (rhn-applet and rhnlib) and the two up2date rpms (up2date and..
up2date and redhat 9 - Hi Whay the redhat 9 wont perform up2date? The error is There was an SSL error: [('SSL routines',..
Error with RH9 and up2date. - I am trying to install the latest rpms for up2date so I can register with the RHN, but I am getting the following... ..
Fedora Up2Date Question - Hi, I used the "Red Hat Network" to bring my Fedora sytem up to date. It all worked. After it was done I n...
to up2date or not 2 uptoodate, that is the question - We tried to up2date a system running RH9 today. It aborted at glibc-common-2.3.2-27.9.7.i386.rpm All sorts of strange...
cannnot use up2date-4.3.19-1 - I cannot get it to do anything. When I type 'up2date --version' I get Traceback (most recent call last): File.. |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|