[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4454: Distribution: unstable' but it goes into project/experimental



On Thu, 12 Sep 1996, Ian Jackson wrote:

> Guy Maor writes ("Re: Bug#4454: `Distribution: unstable' but it goes into project/experimental"):
> > This problem will recur whenever a package moves from one section or
> > distribution to another.  dinstall cannot handle this case because it
> > doesn't know where to look for the older version to unlink it.
> 
> Couldn't it look in the override file ?

How would it know that if the discrepency was a mistake in the .changes
file or a moving package?  I should have said that dinstall can't
handle this case because it can't differentiate it from an incorrect
.changes file.

> > Instead it assumes that the .changes file listed incorrect sections and
> > distributions (a fairly frequent occurrence actually), and installs the
> > package into the old location.  Since package movements are much more
> > rare than .changes files with incorrect locations, dinstall's assumption
> > is the right one.
> 
> I think that we should try to make .changes files right.  I think the
> new source format will help here.  (dchanges made it very easy to say
> `Distribution: unstable' without thinking.)

Yes, that caused problems for me because I had to make certain sections
special, mapping to distributions with the same name.
unstable/contrib, for instance, maps to contrib/contrib.  The new
source format certainly helps, but it doesn't guarantee that this won't
happen.

That reminds me to obsolete dchanges.  Plenty of people are using the
old format, but I'd like to discourage it.

> Could you report the bad Distribution as a bug, if it turns out to be
> true ?

I will make dinstall warn if there was a mistake in the .changes's
Distribution field.


Guy



Reply to: