1 |
Vitaly Ivanov wrote: |
2 |
> Hello all! |
3 |
> |
4 |
> Can any one fix it? |
5 |
> http://bugs.gentoo.org/show_bug.cgi?id=41391 |
6 |
> |
7 |
> Steps to reproduce for lazy |
8 |
> |
9 |
> 1. become online to internet |
10 |
> 2. emerge sync |
11 |
> 3. emerge --fetchonly --pretend world # remember output |
12 |
> 4. emerge --fetchonly world |
13 |
> 5. emerge --fetchonly --pretend world # remember output |
14 |
> |
15 |
> now output of step 3 equivalent output to step 5 |
16 |
> why? I already download needed files by step 4 |
17 |
> output of step 5 must be empty, without urls. |
18 |
> |
19 |
> Thanks for help and support! |
20 |
> |
21 |
> |
22 |
> -- |
23 |
> gentoo-dev@g.o mailing list |
24 |
> |
25 |
Emerge does behave properly in this case. |
26 |
The problem is that you mistakenly interpret --pretend --fetchonly as "pretend |
27 |
to fetch". --pretend will list the packages that would be emerged, --fetchonly |
28 |
either lists the required files or downloads them. |
29 |
This is very handy to know which files would be required and to write your own |
30 |
scripts to check whether you already have them. |
31 |
|
32 |
Behaviour should not change IMHO. |
33 |
|
34 |
-- |
35 |
/ Xavier Neys |
36 |
\_ Gentoo Documentation Project |
37 |
/ French & Internationalisation Lead |
38 |
\ http://www.gentoo.org/doc/en |
39 |
/\ |