Confirmed on Hardy.
dpkg -P kubuntu-default-settings (8.04-11) does:
$ LANG=C sudo dpkg -P kubuntu-default-settings 2>&1 | tee /tmp/dpkg-p.log
(Reading database ... 385424 files and directories currently installed.)
Removing kubuntu-default-settings ...
Unsetting kubuntu as default mouse cursor theme ...
Purging configuration files for kubuntu-default-settings ...
dpkg - warning: while removing kubuntu-default-settings, directory 
`/usr/X11R6/lib/X11/icons/default' not empty so not removed.
dpkg - warning: while removing kubuntu-default-settings, directory 
`/usr/X11R6/lib/X11/icons' not empty so not removed.
dpkg - warning: while removing kubuntu-default-settings, directory 
`/usr/X11R6/lib/X11' not empty so not removed.
dpkg - warning: while removing kubuntu-default-settings, directory 
`/usr/X11R6/lib' not empty so not removed.

That's when I've started messing around with this directory and move it away. 
Doing so made update-alternatives fail on the next purging (bug 194101).
So it seems like update-alternatives somehow caused the DMZ cursor theme to be 
selected.

It seems that /var/lib/dpkg/alternatives/x-cursor-theme got messed up, only 
having:
auto
/usr/X11R6/lib/X11/icons/default/index.theme

/usr/share/icons/DMZ-White/cursor.theme
50
/usr/share/icons/DMZ-Black/cursor.theme
30

After executing manually the postinst of industrial-cursor-theme, which was 
installed already, it seems to have been added now:
sudo update-alternatives --install /usr/share/icons/default/index.theme 
x-cursor-theme /usr/share/icons/Industrial/cursor.theme 40

$ cat /var/lib/dpkg/alternatives/x-cursor-theme
auto
/usr/share/icons/default/index.theme

/usr/share/icons/DMZ-White/cursor.theme
50
/usr/share/icons/DMZ-Black/cursor.theme
30
/usr/share/icons/Industrial/cursor.theme
40


Seems like some update-alternatives issue to me.
Is there an easy way to reproduce this? Seems like some odd leftover from 
during upgrades. Is there an easy way to reproduce this? What does 
/var/lib/dpkg/alternatives/x-cursor-theme look like for you?

Workaround appears to be: reinstall industrial-cursor-theme or otherwise
fix the x-cursor-theme alternative link.

** Changed in: kubuntu-default-settings (Ubuntu)
   Importance: Low => Medium
       Status: Confirmed => Triaged

-- 
Default mouse cursor does not revert when uninstalling Kubuntu
https://bugs.launchpad.net/bugs/35969
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kubuntu-default-settings in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to