Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15144 - RESTRICT="nomirror" doesn't work
Summary: RESTRICT="nomirror" doesn't work
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-04 20:40 UTC by Jonathan Nall
Modified: 2011-10-30 22:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Nall 2003-02-04 20:40:05 UTC
i'm trying to use RESTRICT="nomirror" in an ebuild to avoid trying to download
from mirrors and instead download straight from the SRC_URI. this doesn't work
and emerge still tries to d/l from the mirrors first.

(i also tried RESTRICT="mirror", as this was suggested by seemant. it didn't
work either)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
emerge tries to d/l package from locations in GENTOO_MIRRORS

Expected Results:  
emerge immediately downloads from SRC_URI
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-02-04 22:18:36 UTC
Ummmm...
nomirror disables fetching completely IF you're mirroring...

FEATURES=mirror emerge blah <---- Is mirroring.

RESTRICT=fetch
means don't ever download it.

It will always try the mirror first. But should always fail as it
wouldn't be mirrored due to restrict=nomirror
Comment 2 Jonathan Nall 2003-02-04 23:11:55 UTC
ah, sorry about that. seemant told me that if i had an ebuild whose tarball can only be downloaded from the author (license disallows redistribution) i should put RESTRICT="nomirror" in the ebuild. i assumed this meant it would always pull from SRC_URI and ignore GENTOO_MIRRORS. man, that whole assuming thing, eh?

i'm closing this. sorry for the noise.