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 /
There's no reason whatsoever to use this deprecated syntax. emerge -f =gentoo-sources-2.6.15-r7 works just fine.
> 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.
>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.