Packaging issue: what to do about debuginfo after arch->noarch change?

Tom Lane tgl at
Mon May 14 15:02:53 UTC 2012

Tom Callaway <tcallawa at> writes:
> On 05/14/2012 10:34 AM, Tom Lane wrote:
>> I recently converted mysql-connector-java from arch to noarch (it used
>> to use GCJ to build, now it doesn't).  Martin Cermak pointed out to me
>> that if you had the debuginfo subpackage installed, and you upgrade,
>> the old debuginfo will still be there even though it's now irrelevant.
>> Is this a bug, and if so what should I do about it?

> Hmm. I'm inclined to say that we ought to resolve this either in
> anaconda or preupgrade by running some sort of "cleanup" script that
> looks for orphan debuginfo and flushes them down the drain, as opposed
> to carrying Obsoletes.

Note that the case Martin was concerned about was a plain old "yum
update" of the package, not an OS-wide upgrade.  I'm unsure to what
extent yum knows about debuginfo, but that's where smarts would need
to be added to address his concern.

			regards, tom lane

More information about the devel mailing list