FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-29-2012, 07:10 PM
Patrick Dupre
 
Default update from another machine

Hello,

At home I have a slow internet connection, Thus, I would like to
prepare an update but only download the packages to another
machine and then copy the file on a stick to make the update from
the stick.

How can I do it?

Thank.


--
================================================== ====================
Patrick DUPRÉ | | email: pdupre@kegtux.org
================================================== ====================
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-29-2012, 07:19 PM
Sam Varshavchik
 
Default update from another machine

Patrick Dupre writes:


Hello,

At home I have a slow internet connection, Thus, I would like to
prepare an update but only download the packages to another
machine and then copy the file on a stick to make the update from
the stick.

How can I do it?


Pick your favorite updates mirror, and set up a script to rsync it to your
stick. Format the stick as ext3, rather than fat. Mount the stick, and drop
an entry in /etc/yum.repos.d that points to the stick. Run yum update.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-29-2012, 07:19 PM
Joe Zeff
 
Default update from another machine

On 07/29/2012 12:10 PM, Patrick Dupre wrote:

Hello,

At home I have a slow internet connection, Thus, I would like to
prepare an update but only download the packages to another
machine and then copy the file on a stick to make the update from
the stick.

How can I do it?



My thought is to use yum to check for updates, redirecting the output to
a file. Take that file to your other box and use it to download the
files onto the stick. One warning: doing this won't find any new
dependencies, so you may have problems getting everything properly
updated. I'm sure there are ways to work around this, but I've never
needed them so I don't know.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-29-2012, 07:36 PM
Joe Zeff
 
Default update from another machine

On 07/29/2012 12:19 PM, Sam Varshavchik wrote:


Pick your favorite updates mirror, and set up a script to rsync it to
your stick. Format the stick as ext3, rather than fat. Mount the stick,
and drop an entry in /etc/yum.repos.d that points to the stick. Run yum
update.


Much better than my suggestion. Thanx!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-29-2012, 07:55 PM
Michael Schwendt
 
Default update from another machine

On Sun, 29 Jul 2012 21:10:23 +0200, Patrick Dupre wrote:

> Hello,
>
> At home I have a slow internet connection, Thus, I would like to
> prepare an update but only download the packages to another
> machine and then copy the file on a stick to make the update from
> the stick.
>
> How can I do it?

If you don't want to mirror the entire updates repository, examine
yum-plugin-downloadonly and/or yum-plugin-local, also the createrepo
tool.

--
Fedora release 17 (Beefy Miracle) - Linux 3.4.6-2.fc17.x86_64
loadavg: 0.26 0.18 0.21
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 07-30-2012, 03:09 AM
Larry Horn
 
Default update from another machine

On Sun, 29 Jul 2012 21:10:23 +0200
Patrick Dupre <pdupre@kegtux.org> wrote:

> Hello,
>
> At home I have a slow internet connection, Thus, I would like to
> prepare an update but only download the packages to another
> machine and then copy the file on a stick to make the update from
> the stick.
>
> How can I do it?
>
> Thank.
>
>

I update my laptop at work and rsync to other machines when I get home.
Here's a variation on that:

... On fasthost, modify /etc/yum.conf to set keepcache=1.
... If you've not set keepcache before, then you may still end up downloading
... dependencies (to slowhost) not kept on fasthost from previous runs.

fasthost# yum install/update [ --downloadonly ] THE-PACKAGES-I-WANT
fasthost# rsync -avP --include='*/' --include='*rpm' --exclude='*' /var/cache/yum/ /media/STICK/yum/

... go home ...

slowhost# (edit /etc/yum.conf to set keepcache=1)
slowhost# rsync -avP /media/STICK/yum/ /var/cache/yum/
slowhost# yum update/install

This will only copy the RPMs; yum will still download metadata (see yum.conf for "metadata_expire").

... optionally, rsync RPMs back to STICK, then back to fasthost

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 08-08-2012, 01:44 AM
Patrick Dupre
 
Default update from another machine

Thank for the suggestion.
However, the problem is that
yum (on the "fast host") check that the package for nstallation, update
or reinstallation.


So I did not find a way to down load on the fast host the package for
another

distribution, like a i686 from a host x86_64.
Can I force yum to not check.
Maybe I should use rpm?





At home I have a slow internet connection, Thus, I would like to
prepare an update but only download the packages to another
machine and then copy the file on a stick to make the update from
the stick.

How can I do it?

Thank.




I update my laptop at work and rsync to other machines when I get
home.

Here's a variation on that:

... On fasthost, modify /etc/yum.conf to set keepcache=1.
... If you've not set keepcache before, then you may still end up
downloading
... dependencies (to slowhost) not kept on fasthost from previous
runs.


fasthost# yum install/update [ --downloadonly ] THE-PACKAGES-I-WANT
fasthost# rsync -avP --include='*/' --include='*rpm' --exclude='*'
/var/cache/yum/ /media/STICK/yum/

... go home ...

slowhost# (edit /etc/yum.conf to set keepcache=1)
slowhost# rsync -avP /media/STICK/yum/ /var/cache/yum/
slowhost# yum update/install

This will only copy the RPMs; yum will still download metadata (see
yum.conf for "metadata_expire").

... optionally, rsync RPMs back to STICK, then back to fasthost


--
================================================== ====================
Patrick DUPRÉ | | email: pdupre@kegtux.org
================================================== ====================

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 08-10-2012, 07:04 AM
Michael Schwendt
 
Default update from another machine

On Wed, 08 Aug 2012 03:44:53 +0200, Patrick Dupre wrote:

> Thank for the suggestion.
> However, the problem is that
> yum (on the "fast host") check that the package for nstallation, update
> or reinstallation.
>
> So I did not find a way to down load on the fast host the package for
> another
> distribution, like a i686 from a host x86_64.
> Can I force yum to not check.
> Maybe I should use rpm?

No, the problem you're trying to solve asks for a different approach.
Think about it a little bit. A Fedora x86_64 installation by default
does not have access to the i686 repositories, only the x86_64 repos
which contain a few i686 packages only. And one installation doesn't
"know" which packages you need for the other installation.

If your "fast host" is really fast, it could be convenient enough to
mirror _any_ remote updates repo you need with a tool of your choice.
Be it reposync, rsync, lftp, wget, curl, whatever you are familiar with.
Transfer the mirrored repo to the target machine and make it available
there, either temporarily or as some local enabled-by-default repo which
you would update with your mirrored packages.

--
Fedora release 17 (Beefy Miracle) - Linux 3.5.0-2.fc17.x86_64
loadavg: 0.04 0.07 0.10
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 06:12 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org