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

Re: are packages with diversions not downgradeable?

[I am not subscribed to -dpkg.]

On Wed, Apr 21, 2004 at 10:22:24AM +0100, Scott James Remnant wrote:
> On Thu, 2004-03-11 at 02:44 -0500, Branden Robinson wrote:
> > As you can see, I ran into some problems when upgrading libxft-dev
> > 2.1.2-5 (which used dpkg-divert) to libxft-dev 2.1.2-6 (which removes
> > them), then downgrading to 2.1.2-5 and trying to re-upgrade to 2.1.2-6.
> > 
> > Am I using diversions wrong?  Is this a bug in dpkg-divert?
> > 
> dpkg 1.9 didn't rename files on dpkg-divert --remove unless --rename was
> given, a mirror of the --add behaviour.
> dpkg 1.10 unconditionally renames files, with no way to prevent it.
> I guess what we need here is to either go back to the old behaviour, or
> add a --no-rename option for preinst scripts.
> I've tried both, and they seem to fix the problems for libxft-dev and
> desktop-base.

I'm delighted to hear it, as duplicate bug reports against libxft-dev
continue to trickle in.

Please, please, please...dpkg team, decide on a course of action and
implement it.  I have a mild preference for the 1.9 behavior unless a
good explanation for the change in 1.10 is provided in the dpkg-divert
manual page.

G. Branden Robinson                |    I had thought very carefully about
Debian GNU/Linux                   |    committing hara-kiri over this, but
branden@debian.org                 |    I overslept this morning.
http://people.debian.org/~branden/ |    -- Toshio Yamaguchi

Attachment: signature.asc
Description: Digital signature

Reply to: