1 |
Am Samstag 30 Juni 2012, 13:22:39 schrieb Zac Medico: |
2 |
> On 06/30/2012 04:07 AM, Pacho Ramos wrote: |
3 |
> > I would like to discuss a bit more issues like: |
4 |
> > https://bugs.gentoo.org/show_bug.cgi?id=423087 |
5 |
> > |
6 |
> > Even if there are "a lot" of packages that can cause this breakage when |
7 |
> > downgraded, I think it should be prevented and package managers |
8 |
> > shouldn't try to downgrade this kind of packages as they will later |
9 |
> > cause a total breakage. People is not supposed to know that downgrading |
10 |
> > some package system will, for example, have an unusable gcc. |
11 |
> |
12 |
> It seems like a die in pkg_pretend would serve pretty well. |
13 |
|
14 |
As a comparatively simple, user-oriented workaround, since this only happens |
15 |
at downgrades and these should be pretty rare, I have the following |
16 |
suggestion: |
17 |
|
18 |
Make a portage feature that is **on by default**, which causes portage to |
19 |
generate a binpkg of the version to be unmerged, in the case of a downgrade. |
20 |
|
21 |
Rationale: |
22 |
* if you know what you are doing, you can switch this off easily |
23 |
* does not take much space since downgrades are rare |
24 |
* should help our users a lot, whenever someone accidentally or not-knowingly |
25 |
downgrades something critical. |
26 |
|
27 |
Thoughts? |
28 |
|
29 |
Cheers, |
30 |
Andreas |
31 |
|
32 |
-- |
33 |
|
34 |
Andreas K. Huettel |
35 |
Gentoo Linux developer |
36 |
dilfridge@g.o |
37 |
http://www.akhuettel.de/ |