public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ways to update portage
@ 2006-02-13 18:40 Daniel da Veiga
  2006-02-13 19:29 ` [gentoo-user] " Harm Geerts
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Daniel da Veiga @ 2006-02-13 18:40 UTC (permalink / raw
  To: gentoo-user

I have this server at work, it has been running ok for a long time,
but I'd like to install some new apps to it, but I have a strongly
configured firewall (no rsync) and emerge-webrsync seems to fail every
time.

Is there another way to update portage tree? For my first update I
downloaded the snapshot and decompressed it directly to the filesystem
(but that requires a reboot and its kinda "brute force"). Is there a
way to download the snapshot and make emerge or even emerge-webrsync
to use the downloaded file instead of trying to download a new one?

Thanks for any sugestion.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: ways to update portage
  2006-02-13 18:40 [gentoo-user] ways to update portage Daniel da Veiga
@ 2006-02-13 19:29 ` Harm Geerts
  2006-02-13 20:16 ` [gentoo-user] " Mike Owen
  2006-02-24 22:40 ` Rick van Hattem
  2 siblings, 0 replies; 5+ messages in thread
From: Harm Geerts @ 2006-02-13 19:29 UTC (permalink / raw
  To: gentoo-user

On Monday 13 February 2006 19:40, Daniel da Veiga wrote:
> I have this server at work, it has been running ok for a long time,
> but I'd like to install some new apps to it, but I have a strongly
> configured firewall (no rsync) and emerge-webrsync seems to fail every
> time.
>
> Is there another way to update portage tree? For my first update I
> downloaded the snapshot and decompressed it directly to the filesystem
> (but that requires a reboot and its kinda "brute force"). Is there a
> way to download the snapshot and make emerge or even emerge-webrsync
> to use the downloaded file instead of trying to download a new one?

There is no reason to reboot after extracting a portage snapshot directly to 
the filesystem. It's not brute force, it's just one of the possible ways to 
update your package tree.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ways to update portage
  2006-02-13 18:40 [gentoo-user] ways to update portage Daniel da Veiga
  2006-02-13 19:29 ` [gentoo-user] " Harm Geerts
@ 2006-02-13 20:16 ` Mike Owen
  2006-02-24 22:40 ` Rick van Hattem
  2 siblings, 0 replies; 5+ messages in thread
From: Mike Owen @ 2006-02-13 20:16 UTC (permalink / raw
  To: gentoo-user

On 2/13/06, Daniel da Veiga <danieldaveiga@gmail.com> wrote:
> I have this server at work, it has been running ok for a long time,
> but I'd like to install some new apps to it, but I have a strongly
> configured firewall (no rsync) and emerge-webrsync seems to fail every
> time.
>
> Is there another way to update portage tree? For my first update I
> downloaded the snapshot and decompressed it directly to the filesystem
> (but that requires a reboot and its kinda "brute force"). Is there a
> way to download the snapshot and make emerge or even emerge-webrsync
> to use the downloaded file instead of trying to download a new one?
>
> Thanks for any sugestion.
>


If you put the snapshot  + md5sum in the directory
$PORTAGE_TMPDIR/emerge-webrsync it will use those without downloading
a new snapshot.

Or, you can manually do the sync yourself. Extract the
portage-snapshot into a directory, and then use the following command:

rsync -av --progress --stats --delete --delete-after \
--exclude='/distfiles' --exclude='/packages' \
--exclude='/local' . ${PORTDIR%%/}

Either define PORTDIR, or replace that with the location of your
portage tree (/usr/portage by default).

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ways to update portage
  2006-02-13 18:40 [gentoo-user] ways to update portage Daniel da Veiga
  2006-02-13 19:29 ` [gentoo-user] " Harm Geerts
  2006-02-13 20:16 ` [gentoo-user] " Mike Owen
@ 2006-02-24 22:40 ` Rick van Hattem
  2006-02-25  5:22   ` Dan Sheffner
  2 siblings, 1 reply; 5+ messages in thread
From: Rick van Hattem @ 2006-02-24 22:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

On Monday 13 February 2006 19:40, Daniel da Veiga wrote:
> I have this server at work, it has been running ok for a long time,
> but I'd like to install some new apps to it, but I have a strongly
> configured firewall (no rsync) and emerge-webrsync seems to fail every
> time.
>
> Is there another way to update portage tree? For my first update I
> downloaded the snapshot and decompressed it directly to the filesystem
> (but that requires a reboot and its kinda "brute force"). Is there a
> way to download the snapshot and make emerge or even emerge-webrsync
> to use the downloaded file instead of trying to download a new one?
>
> Thanks for any sugestion.
>
> --
> Daniel da Veiga
> Computer Operator - RS - Brazil
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
> PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
> ------END GEEK CODE BLOCK------
And it isn't possible to enter the proxy data for emerge-webrsync (if there is 
any)

Btw, just packing /usr/portage from another system and unpacking it again 
shouldn't need a reboot, after unpacking it should be able to run.

-- 
Rick van Hattem	Rick.van.Hattem(at)Fawo.nl

[-- Attachment #2: Type: application/pgp-signature, Size: 200 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] ways to update portage
  2006-02-24 22:40 ` Rick van Hattem
@ 2006-02-25  5:22   ` Dan Sheffner
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Sheffner @ 2006-02-25  5:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1747 bytes --]

emerge-webrsync should work fine over port 80.  Can't you configure the
firewall to accept this port.  You could also write a script that opens the
port calls emerge-webrsync and then locks it back down if you don't want
that port open.  Another safe way to do it is to run it through a proxy
server.  I'm not sure if this is the best way but certainly should work.

On 2/24/06, Rick van Hattem <Rick.van.Hattem@fawo.nl> wrote:
>
> On Monday 13 February 2006 19:40, Daniel da Veiga wrote:
> > I have this server at work, it has been running ok for a long time,
> > but I'd like to install some new apps to it, but I have a strongly
> > configured firewall (no rsync) and emerge-webrsync seems to fail every
> > time.
> >
> > Is there another way to update portage tree? For my first update I
> > downloaded the snapshot and decompressed it directly to the filesystem
> > (but that requires a reboot and its kinda "brute force"). Is there a
> > way to download the snapshot and make emerge or even emerge-webrsync
> > to use the downloaded file instead of trying to download a new one?
> >
> > Thanks for any sugestion.
> >
> > --
> > Daniel da Veiga
> > Computer Operator - RS - Brazil
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.1
> > GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
> > PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
> > ------END GEEK CODE BLOCK------
> And it isn't possible to enter the proxy data for emerge-webrsync (if
> there is
> any)
>
> Btw, just packing /usr/portage from another system and unpacking it again
> shouldn't need a reboot, after unpacking it should be able to run.
>
> --
> Rick van Hattem Rick.van.Hattem(at)Fawo.nl
>
>
>

[-- Attachment #2: Type: text/html, Size: 2127 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-25  5:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-13 18:40 [gentoo-user] ways to update portage Daniel da Veiga
2006-02-13 19:29 ` [gentoo-user] " Harm Geerts
2006-02-13 20:16 ` [gentoo-user] " Mike Owen
2006-02-24 22:40 ` Rick van Hattem
2006-02-25  5:22   ` Dan Sheffner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox