1 |
On Tue, Jul 13, 2010 at 10:54 AM, Dale <rdalek1967@×××××.com> wrote: |
2 |
> Mark Knecht wrote: |
3 |
>> |
4 |
>> On Tue, Jul 13, 2010 at 10:11 AM, Dale<rdalek1967@×××××.com> wrote: |
5 |
>> |
6 |
>>> |
7 |
>>> Mark Knecht wrote: |
8 |
>>> |
9 |
>>>> |
10 |
>>>> Strange little problem. emerge keeps fetching (not downloading) the |
11 |
>>>> same file but doesn't seem to need to build it: |
12 |
>>>> |
13 |
>>>> c2stable ~ # emerge -fDuN @world |
14 |
>>>> Calculating dependencies... done! |
15 |
>>>> |
16 |
>>>> |
17 |
>>>> |
18 |
>>>>>>> |
19 |
>>>>>>> Fetching (1 of 1) gnome-base/gvfs-1.4.3-r1 |
20 |
>>>>>>> |
21 |
>>>>>>> |
22 |
>>>> |
23 |
>>>> * gvfs-1.4.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... |
24 |
>>>> [ ok ] |
25 |
>>>> * checking ebuild checksums ;-) ... |
26 |
>>>> [ ok ] |
27 |
>>>> * checking auxfile checksums ;-) ... |
28 |
>>>> [ ok ] |
29 |
>>>> * checking miscfile checksums ;-) ... |
30 |
>>>> [ ok ] |
31 |
>>>> c2stable ~ # emerge -DuN @world |
32 |
>>>> Calculating dependencies... done! |
33 |
>>>> |
34 |
>>>> |
35 |
>>>>>>> |
36 |
>>>>>>> Auto-cleaning packages... |
37 |
>>>>>>> |
38 |
>>>>>>> |
39 |
>>>> |
40 |
>>>> |
41 |
>>>>>>> |
42 |
>>>>>>> No outdated packages were found on your system. |
43 |
>>>>>>> |
44 |
>>>>>>> |
45 |
>>>> |
46 |
>>>> c2stable ~ # emerge -fDuN @world |
47 |
>>>> Calculating dependencies... done! |
48 |
>>>> |
49 |
>>>> |
50 |
>>>> |
51 |
>>>>>>> |
52 |
>>>>>>> Fetching (1 of 1) gnome-base/gvfs-1.4.3-r1 |
53 |
>>>>>>> |
54 |
>>>>>>> |
55 |
>>>> |
56 |
>>>> * gvfs-1.4.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... |
57 |
>>>> [ ok ] |
58 |
>>>> * checking ebuild checksums ;-) ... |
59 |
>>>> [ ok ] |
60 |
>>>> * checking auxfile checksums ;-) ... |
61 |
>>>> [ ok ] |
62 |
>>>> * checking miscfile checksums ;-) ... |
63 |
>>>> [ ok ] |
64 |
>>>> c2stable ~ # |
65 |
>>>> |
66 |
>>>> |
67 |
>>>> What controls this? |
68 |
>>>> |
69 |
>>>> I've tried removing the distfile. Then it downloads the file but still |
70 |
>>>> doesn't build it because, as you guessed, it's already installed: |
71 |
>>>> |
72 |
>>>> c2stable ~ # eix -I gvfs |
73 |
>>>> [I] gnome-base/gvfs |
74 |
>>>> Available versions: 1.2.3 1.4.3-r1 ~1.6.3 {archive avahi |
75 |
>>>> bash-completion bluetooth cdda debug doc fuse gdu gnome gnome-keyring |
76 |
>>>> gphoto2 hal +http iphone samba +udev} |
77 |
>>>> Installed versions: 1.4.3-r1(07:15:15 05/06/10)(gdu gnome http |
78 |
>>>> udev -archive -avahi -bash-completion -bluetooth -cdda -doc -fuse |
79 |
>>>> -gnome-keyring -gphoto2 -hal -samba) |
80 |
>>>> Homepage: http://www.gnome.org |
81 |
>>>> Description: GNOME Virtual Filesystem Layer |
82 |
>>>> |
83 |
>>>> c2stable ~ # |
84 |
>>>> |
85 |
>>>> Thanks, |
86 |
>>>> Mark |
87 |
>>>> |
88 |
>>>> |
89 |
>>>> |
90 |
>>> |
91 |
>>> Well, the -f option tells it to only fetch the file. Also, if the |
92 |
>>> package |
93 |
>>> is already installed and up to date, you would need to remove the -u as |
94 |
>>> well, since there is no update. |
95 |
>>> |
96 |
>>> If this package is not something you want in the world file, you may want |
97 |
>>> to |
98 |
>>> use the -1 option, after removing the other options of course. |
99 |
>>> |
100 |
>>> Dale |
101 |
>>> |
102 |
>>> :-) :-) |
103 |
>>> |
104 |
>> |
105 |
>> The package in not in my world file and it's being 'fetched' even |
106 |
>> though it's already on the system. |
107 |
>> |
108 |
>> Using your logic emerge -fDuN @world (meaning 'fetch everything I need |
109 |
>> to do emerge -DuN @world) would 'fetch' everything. It should only |
110 |
>> fetch files that are new (I.e. - meet the -DuN criteria) and indeed |
111 |
>> for all other files it does not fetch them. |
112 |
>> |
113 |
>> The -u option has no effect WRT this problem: |
114 |
>> |
115 |
>> .c2stable ~ # emerge -fDN @world |
116 |
>> Calculating dependencies... done! |
117 |
>> |
118 |
>> |
119 |
>>>>> |
120 |
>>>>> Fetching (1 of 1) gnome-base/gvfs-1.4.3-r1 |
121 |
>>>>> |
122 |
>> |
123 |
>> * gvfs-1.4.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... |
124 |
>> [ ok ] |
125 |
>> * checking ebuild checksums ;-) ... |
126 |
>> [ ok ] |
127 |
>> * checking auxfile checksums ;-) ... |
128 |
>> [ ok ] |
129 |
>> * checking miscfile checksums ;-) ... |
130 |
>> [ ok ] |
131 |
>> c2stable ~ # |
132 |
>> |
133 |
>> The 'fetch' is acting like it's 'new' as the -N option is what's |
134 |
>> kicking this off: |
135 |
>> |
136 |
>> c2stable ~ # emerge -fDu @world |
137 |
>> Calculating dependencies... done! |
138 |
>> c2stable ~ # |
139 |
>> |
140 |
>> However, it's not 'new'. It's already installed. |
141 |
>> |
142 |
>> I suspect this is some weird manifest issue or something having to do |
143 |
>> with the ebuilds but I personally don't want to touch any of that by |
144 |
>> hand. |
145 |
>> |
146 |
>> The problem has existed for 2-3 weeks at least. |
147 |
>> |
148 |
>> Cheers, |
149 |
>> Mark |
150 |
>> |
151 |
> |
152 |
> In the past, if something has a digest failure, there is a error. Maybe |
153 |
> that has changed but that is what I have got in the past. I see this a lot |
154 |
> with googleearth for example. |
155 |
> |
156 |
> Maybe I am misreading something regarding the error but it seems it is doing |
157 |
> what you tell it to do to me. The -N option is for USE flags not new |
158 |
> packages. From the man page: |
159 |
> |
160 |
> --newuse (-N) |
161 |
> Tells emerge to include installed packages where USE flags have |
162 |
> changed since compilation. This |
163 |
> option also implies the --selective option. USE flag changes |
164 |
> include: |
165 |
> |
166 |
> A USE flag was added to a package. A USE flag was removed |
167 |
> from a package. A USE flag was turned |
168 |
> on for a package. A USE flag was turned off for a package. |
169 |
> |
170 |
> USE flags may be toggled by your profile as well as your USE |
171 |
> and package.use settings. |
172 |
> |
173 |
> |
174 |
> The -f option will only fetch so the reason it is not compiling it again is |
175 |
> because you are not telling it to compile but only to fetch. |
176 |
> |
177 |
> Maybe someone else will come along and read this differently and see |
178 |
> something I am missing. |
179 |
> |
180 |
> Dale |
181 |
|
182 |
Right. I misspoke. New use flags, not new a package. |
183 |
|
184 |
However the outcome is consistent. It says it's 'fetching' because |
185 |
it's responding to the idea that there's a new use flag, but then |
186 |
fetches nothing because the file is already here and builds nothing |
187 |
because it's already been built. |
188 |
|
189 |
It's not a big deal. The machine is fine. Everything is consistent as |
190 |
far as I know. However some portion of the download logic in emerge is |
191 |
confused. |
192 |
|
193 |
I've seen this sort of thing a few times in the past but it's always |
194 |
cleared up in a day or two. This one has gone on for weeks. |
195 |
|
196 |
Note that I do use ~amd64 on portage & eix. Maybe it's a bug that |
197 |
hasn't been cleaned up yet. |
198 |
|
199 |
So, following through, there does appear to be a new flag setting |
200 |
(-gdu) however it's not triggered emerging @world even though packages |
201 |
on the system require gvfs according to equery. |
202 |
|
203 |
Somethings inconsistent. (Possibly my brain!) |
204 |
|
205 |
Cheers, |
206 |
Mark |
207 |
|
208 |
c2stable ~ # emerge -pvDuN gvfs |
209 |
|
210 |
These are the packages that would be merged, in order: |
211 |
|
212 |
Calculating dependencies... done! |
213 |
[ebuild R ] gnome-base/gvfs-1.4.3-r1 USE="gnome http udev |
214 |
-archive -avahi -bash-completion -bluetooth -cdda -doc -fuse -gdu* |
215 |
-gnome-keyring -gphoto2 -hal -samba" 0 kB |
216 |
|
217 |
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
218 |
c2stable ~ # emerge -pvDuN @world |
219 |
|
220 |
These are the packages that would be merged, in order: |
221 |
|
222 |
Calculating dependencies... done! |
223 |
|
224 |
Total: 0 packages, Size of downloads: 0 kB |
225 |
c2stable ~ # equery depends gvfs |
226 |
* These packages depend on gvfs: |
227 |
app-cdr/brasero-2.28.3 (gnome-base/gvfs) |
228 |
gnome-base/gnome-2.28.2 (>=gnome-base/gvfs-1.4.3[gdu]) |
229 |
gnome-base/libgnome-2.28.0 (gnome-base/gvfs) |
230 |
gnome-base/nautilus-2.28.4-r1 (>=gnome-base/gvfs-0.1.2) |
231 |
c2stable ~ # |
232 |
|
233 |
|
234 |
Just curious. |
235 |
|
236 |
Cheers, |
237 |
Mark |