1 |
On 08/03/2013 18:27, Matt Joyce wrote: |
2 |
> Ok, I really just do not get what on earth it thinks I'm doing wrong |
3 |
> here, trying to install java firstly the ebuild in portage it appears is |
4 |
> too old, it wants me to fetch a copy of 7u15 from a page that now only |
5 |
> has 7u17 on it so fail there no problem just update it surely can't be |
6 |
> that hard err right so created an up to date copy of the ebuild in my |
7 |
> overlay directory except it wont create the manifest repeatedly tells me |
8 |
> to put the file jre-7u17-linux-x64.tar.gz in /usr/portage/distfiles, |
9 |
> great ok so... |
10 |
|
11 |
|
12 |
your tree is out of date, do a sync |
13 |
|
14 |
the tree closely tracks Oracle's latest |
15 |
mind-fuck-of-the-day-version-whatever-that-is, so syncing often becomes |
16 |
a must with their java |
17 |
|
18 |
|
19 |
|
20 |
> |
21 |
> zeus oracle-jre-bin # cp ~/Downloads/jre-7u17-linux-x64.tar.gz |
22 |
> /usr/portage/distfiles |
23 |
> zeus oracle-jre-bin # ebuild *.ebuild manifest |
24 |
> |
25 |
> !!! dev-java/oracle-jre-bin-1.7.0.17 has fetch restriction turned on. |
26 |
> !!! This probably means that this ebuild's files must be downloaded |
27 |
> !!! manually. See the comments in the ebuild for more information. |
28 |
> |
29 |
> * Please download 'jre-7u17-linux-x64.tar.gz' from: |
30 |
> * |
31 |
> 'http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html' |
32 |
> * and move it to '/usr/portage/distfiles' |
33 |
> !!! Fetch failed for jre-7u17-linux-i586.tar.gz, can't update Manifest |
34 |
> |
35 |
> Err confused repeat, same, redownload same, try again, at this point |
36 |
> starting to meet the definition of insanity as the result isn't changing |
37 |
> finally after the third time finally notice the last line properly, I've |
38 |
> been there dutifully doing as it told me and failed to realize the real |
39 |
> issue is that it wants the x86 version of the download as well. |
40 |
> |
41 |
> Next it will point you to a wrong URL asking you to download |
42 |
> UnlimitedJCEPolicyJDK7.zip the following URL is the correct one, ty google. |
43 |
> |
44 |
> http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html |
45 |
> |
46 |
> After adding that ebuild manifest should work and the ebuild merges fine. |
47 |
> |
48 |
> I could have just attached the updated one I guess but I havn't for two |
49 |
> reasons firstly I had already written half this post when I noticed what |
50 |
> the real problem was and secondly I felt there was likely to be more |
51 |
> value to others in sharing the experience than there would in simply |
52 |
> attaching the file, I guess similar potential little gotchas may exist |
53 |
> with other packages also. |
54 |
> |
55 |
> Real lesson here is probably pretty much read *ALL* the output and don't |
56 |
> make assumptions, but anyway if it saves someone else some frustration |
57 |
> this was worth typing out. |
58 |
> |
59 |
|
60 |
|
61 |
-- |
62 |
Alan McKinnon |
63 |
alan.mckinnon@×××××.com |