Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127851

Summary: emerge -f <foo.ebuild> shouldn't complain so loud
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2006-03-28 06:02:44 UTC
Hhm, to fetch "only" sources should be taken more quietly and without waiting, isn't it ?
 
n22 /usr/portage/sys-kernel/gentoo-sources # emerge -f gentoo-sources-2.6.15-r7.ebuild
emerging by path implies --oneshot... adding --oneshot to options.

*** emerging by path is broken and may not always work!!!

Calculating dependencies
*** You are emerging a masked package. It is MUCH better to use
*** /etc/portage/package.* to accomplish this. See portage(5) man
*** page for details.
>>> Waiting 10 seconds before starting...
>>> (Control-C to abort)...
Continuing... in: 10 9 8 7 6 5 4 3 2 1
 ...done!
>>> emerge (1 of 1) sys-kernel/gentoo-sources-2.6.15-r7 to /
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-28 06:31:42 UTC
There's no reason whatsoever to use this deprecated syntax.

emerge -f =gentoo-sources-2.6.15-r7 works just fine.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2006-03-28 07:25:36 UTC
> There's no reason whatsoever to use this deprecated syntax.
> 
> emerge -f =gentoo-sources-2.6.15-r7 works just fine.

It doesn't. Your command will fail when that version is masked on the user's system. What can be done instead (ignoring the message portage provides about /etc/portage/*) is `ebuild gentoo-sources-2.6.15-r7.ebuild fetch`. It won't pull in dependencies, but if it's only for fetching, and not for actually installing, that shouldn't be too much of a problem.
Comment 3 Toralf Förster gentoo-dev 2006-03-28 07:30:43 UTC
>if it's only for fetching, and not for actually installing, that shouldn't be too much of a problem.
Thanks Harald, that's what I want.