On 2/13/06, Daniel da Veiga <[EMAIL PROTECTED]> 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).
--
[email protected] mailing list