Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About trying to prevent downgrades of packages that cause system breakage
Date: Sat, 30 Jun 2012 15:18:20
Message-Id: 201206301116.52399.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] About trying to prevent downgrades of packages that cause system breakage by Zac Medico
1 On Saturday 30 June 2012 07:22:39 Zac Medico wrote:
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 doing it on a per-ebuild basis doesn't make much sense. a simple version
15 compare (like we do in glibc as an exception to this rule because of its much
16 wider implication) is incorrect: the new version might not introduce any new
17 symbols compared to the old one, and even if it has, other packages might not
18 have been linked against the new symbols.
19 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies