Hello,

On Tue, 18 Feb 2014 05:37:07 +0000
Raf Czlonka <rafal.czlo...@gmail.com> wrote:

> New uploaded version hasn't resolved the issue because both 0.9.4-2
> and 0.9.5-1, and possibly earlier, versions introduced a bug where
> they create '/usr/share/pkg-config-crosswrapper' directory with
> 'pkg-config-crosswrapper' shell script inside it.
> 
> Whoever installed any of those versions will get into this problem:
> 
> dpkg-divert: error: cannot divert directories
> 
> Which is correct, since 'dpkg-divert' has the wrong information -
> since 'dpkg-divert' entries are in 'pkgconf.preinst' script,
> diversion takes place *before* the directory gets created so there
> aren't any installation issues. However, upon deinstallation, the
> directory being there, causes an issue with 'dpkg-divert' which
> expects a 'pkg-config-crosswrapper' file, not a directory.
> 
> Package version 0.9.5-2 installs just fine on a system where none of
> the above versions were installed, but does not resolve the issues
> introduced by either of the earlier versions of the package.

Yes, that's true; I don't currently know how to solve that issue
properly. I've added a check in preinst script to remove that bogus
directory, but that won't help with removing broken versions of the
package co-installed with pkg-config: the only way to fix them is to
upgrade then to a new version (or to fix the issue manually).

-- 
Cheers,
  Andrew

Attachment: signature.asc
Description: PGP signature

Reply via email to