Gentoo "emerge sync" through restrictive firewall

Collins Richey erichey2
Mon May 17 11:58:23 PDT 2004


On Mon, 19 Jan 2004 17:22:36 -0500
Matthew Carpenter <matt at eisgr.com> wrote:

> Here's one for the Gentoo gurus.
> 
> Trying to install my first Gentoo install, using Stage3 and installing 
> through an existing SuSE 9.0 install.
> I have downloaded and expanded the .tar.bz2 image onto it's own 
> partition.  But emerging the kernel has become and issue.
> The instructions say to chroot to the partition mount point, "source 
> /etc/profile", and then "emerge sync" .
> Unfortunately the "emerge sync" causes an rsync error, since rsync is 
> not allowed through our firewall.  And "emerge gentoo-dev-sources" fails 
> as well.
> 
> Any other ways to do this?  The documentation I have been searching does 
> not show any other way.
> 

You will need to do some reading up in the other gentoo docs, or look on the gentoo forums or the gentoo-user list.  I don't have a clue to get past your firewall.  

The simplest solution is to relax your firewall rules, especially since 'emerge sync' (rsync) is the only easy way to get updated packages for your system.

If you can find a way to download the complete portage tree (full contents of /usr/portage) to /usr/portage on your new partition, that will accomplish the same as 'emerge [r]sync'.  However, every emerge needs to download stuff, so is that going to get past your firewall?  The workaround here is to download each tarball yourself and place it in /usr/portage/distfiles.  Then when you emerge the package, portage will not try to download the package again.

Maybe you'll find help elsewhere.

HTH and good luck,

-- 
Collins - Denver Area - Gentoo stable kernel 2.6.1-mm2
[ M$ ] "A customer is only a cash-delivery vehicle and a partner 
is only a potential target to be acquired, destroyed or slowed at 
all costs." -OrangeCrate.com, Novell: Quiet Warriors, Jan 17, 2004


More information about the Linux-users mailing list