1 |
Enrico Weigelt <weigelt@×××××.de> posted |
2 |
20060803160326.GC19696@××××××.local, excerpted below, on Thu, 03 Aug 2006 |
3 |
18:03:26 +0200: |
4 |
|
5 |
> * Duncan <1i5t5.duncan@×××.net> schrieb: |
6 |
> |
7 |
> <snip> |
8 |
> |
9 |
>> Just to add... 30 days is the usual package mask. As AW states, |
10 |
>> the idea of the mask is so users will have time after masking to |
11 |
>> save the masked ebuild to their overlay and/or file a bug saying |
12 |
> |
13 |
> but then it may be too late. |
14 |
> I just did a test, moved by package.mask away and called |
15 |
> emerge --pretend --update world . |
16 |
> It would downgrade lots of packages, ie. bugzilla to an older version |
17 |
> not yet supporting postgresql and so immediately make many services |
18 |
> (ie. all my bugzilla installations) unusable. |
19 |
> |
20 |
> Re-masking must be handled very carefully. At least portage has to |
21 |
> know how some package was masked at installation time and shout out |
22 |
> an big-fat warning, if an mask was added later. |
23 |
|
24 |
How can it be too late? You sync during that 30 days it's masked, do an |
25 |
emerge --pretend --update world, and see that it's going to downgrade. |
26 |
You check and the package is still there, so it's obviously a package.mask |
27 |
thing. You check package.mask and sure enough, there's a note in there |
28 |
saying that it's being removed. You decide you want to keep it, and move |
29 |
the still intact ebuild to your overlay and add an appropriate entry to |
30 |
your package.unmask. |
31 |
|
32 |
As others have pointed out, even if it's not in the tree any more, it's in |
33 |
/var/db/pkg. Even if for some reason insanity strikes and you don't do an |
34 |
emerge --pretend before you do the real emerge --update, and it's gone out |
35 |
of both the tree and /var/db/pkg, if you are running FEATURES=buildpkg (a |
36 |
/great/ way to avoid remerging, and have customized binary backups |
37 |
available to reinstall if necessary), you can get it from there (the |
38 |
ebuild is tacked onto the end of the tarball, thus the warning about |
39 |
additional data after the end of the tarball if you open it using tar or |
40 |
whatever, I've rescued or compared install ebuilds to current tree ebuilds |
41 |
from there a couple times). Even if all local copies, including backups, |
42 |
are wiped, the ebuilds and related files are in the viewCVS attic, as long |
43 |
as the raw sources are still available somewhere. |
44 |
|
45 |
-- |
46 |
Duncan - List replies preferred. No HTML msgs. |
47 |
"Every nonfree program has a lord, a master -- |
48 |
and if you use the program, he is your master." Richard Stallman |
49 |
|
50 |
-- |
51 |
gentoo-dev@g.o mailing list |