On Friday 14 January 2005 05:21 am, Frank Schafer 
<[EMAIL PROTECTED]> wrote:
> Is there a possibility to emerge a package without rsync?
> I have a quite new inststallation and use to install packages if i need
> them.

Most gentoo package mirrors are http or ftp not rsync.  I'm fairly sure I 
only use rsync for emerge sync and ftp/http via wget for actually pulling 
down distfiles.

> There should be a way to save a package to /usr/portage/distfiles via
> (say) ftp and use this instead of downloading it during emerge.

Sure, you can do this with any package.

> If I get it right this is possible only for binary packages.

No, but for packages intalled from source, you have to get the source 
tarball.  Also, some packages require multiple downloads.

If you open up an ebuild you can see what it will need to install in the 
SRC_URI property.  That property may have variables expanded in it like 
${P} or ${PV}, etc.  Those will either be explicity defined above the 
SRC_USI property, or documented in man ebuild.

> I've tied 
> this last week when there was the problems with CUPS. I ftp-ed the
> needed package to /usr/portage/distfiles and ...
>
> emerge
>
> ... started a new (unsuccessful) download.

Clearly, either the filename didn't match, or not all the files were 
available.  It could also be the case that the filesize or md5sum do not 
match, indicating an incomplete or corrupt download.

> I'm behind a firewall at work. Just now I use to write down the package
> and emerge it after work at home. Sometimes I can't wait to tomorrow.

If rsync is the problem, just don't use rsync URLs for the package mirrors.
If for some odd reason ftp is blocked, you can do the same with ftp 
mirrors.
If http is blocked, why does your place of business have teh intarweb?

Note:
A few packages do not try to fetch from the gentoo package mirror system, 
either because they already have a sohihsticated mirror system or because 
their licence prevents redistribution, if they try to use rsync I don't 
really know how to prevent it, but pre-fetching will still work.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy

--
[email protected] mailing list

Reply via email to