assistance with ubuntu-docs bug

Steve Langasek steve.langasek at
Thu Apr 2 04:41:12 BST 2009

On Wed, Apr 01, 2009 at 11:47:28PM +0100, Max Bowsher wrote:

> > Another benefit of doing this in the postinst is that if something else has
> > added files under /usr/share/gnome/help/libs without talking to you, the
> > maintainer script will abort instead of silently rm -r'ing the files.

> I understand the general purpose of using dpkg --compare-versions for
> selectively applying broken-version fixups.

> However, as a point of interest, in this specific case, is there any
> reason to use a version comparison?

It is possible, though very unlikely, that a user may have manually switched
back to using a symlink by choice.  This is arguably unsupported and Not Our
Problem, but it's trivial to check the version (and consistent with lots of
other cases where it's much more necessary).

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                          
slangasek at                                     vorlon at

More information about the ubuntu-devel mailing list