severity 363059 grave
thanks

> Sure, but I still doubt that this is a bug of crystalcursors. Please try
> something:
>  - purge crystalcursors
>  - undo any hand-made changes (like creating /usr/share/icons/default)
>  - install crystalcursors

> If I do this on my boxes, this error does not occur.

What created/owns /usr/share/icons/default on your system?  It does not
exist here; if you expect this directory to exist, you must ship it in your
package.

> It only occurred once when upgrading from the old crystalcursors to the
> current version.  And the only mayor change I've made is to move the
> install location from /usr/X11R6/libs/X11/icons to /usr/share/icons (which
> is the new default after the upgrade to Xorg 7).

Er, do you mean you've done this by hand?  I mean, it's clear that within
the crystalcursors package files have been moved to /usr/X11R6/lib/X11/icons
to /usr/share/icons, but I don't see what created the
/usr/share/icons/default directory for you.

> Since update-alternatives for x-cursor-theme is currently broken (You
> can chose one but it does not actually *become* the default icon until
> you create a symlink:

> /usr/share/icons/default -> /usr/share/icons/yourfavtheme

> I strongly believe your reported bug belongs to dpkg (which includes
> update-alternatives).

Definitely not.  The command you're calling in your postinst is (with
variables expanded):

 update-alternatives --install /usr/share/icons/default/index.theme \
        x-cursor-theme /usr/share/icons/crystalblue/index.theme 50

If you expect this to make */usr/share/icons/default* a symlink, your
invocation of u-a is broken.

If you expect this to create a symlink *within* /usr/share/icons/default,
your package is broken for expecting that directory to be there when you
haven't created it.

I don't know which behavior is correct, since policy says nothing about X
icon handling, but in neither case should dpkg (update-alternatives) be
expected to create this directory for you.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to