Bug#648965: comixcursors-righthanded: update-alternatives not used

2013-02-12 Thread Andreas Beckmann
Followup-For: Bug #648965
Control: severity -1 serious

Setting the severity to serious as this is a regression from squeeze. I
don't know if comixcursors is useful even without alternatives - in that
case this can be lowered again.

Note for testers: upgrading from comixcursors/squeeze to
comixcursors-righthanded/wheezy will have the alternatives set up in
squeeze still installed - so first purge the squeeze package and install
the wheezy package afterwards.

The new alternatives code in the maintainer scripts is totally
broken:

* postinst uses
find /etc/X11/cursors -regex '.*ComixCursors-.*/index\.theme$'
  to discover the themes, but that pattern would only match something in
  /usr/share/icons

* preinst could call u-a with a missing argument (if REMOVED_LIST would
  not be empty)
update-alternatives --remove $ICONDIR/$theme
  That should be 
update-alternatives --remove x-cursor-theme $ICONDIR/$theme
  And why is there a
rm -f $ICONDIR/$theme
  following it? If this is about removing obsolete conffiles, please
  have a look at dpkg-maintscript-helper

* prerm (only comixcursors-righthanded) uses a pattern that would match
  the cursor themes installed by the other variants (e.g. -lefthanded),
  too, if it were applied in the correct directory, and would therefore
  unregister *all* comixcursors-* themes, not just the ones from
  comixcursors-righthanded. ComixCursors- is a prefix of
  ComixCursors-Opaque, ComixCursors-LH, ComixCursors-LH-Opaque.
  Right now it unregisters exactly the alternatives set up by the
  postinst: NONE.


I noticed this while investigating the missing removal of the
alternatives during a piuparts distupgrade squeeze-wheezy + purge test.


Andreas


comixcursors_0.7.2-2.log.gz
Description: GNU Zip compressed data


Bug#648965: comixcursors-righthanded: update-alternatives not used

2012-01-08 Thread Oleg Kostyuk
Package: comixcursors-righthanded
Version: 0.7.2-2
Followup-For: Bug #648965

Experienced exactly same problem.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (710, 'stable-updates'), (700, 'stable'), (600, 
'unstable'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

comixcursors-righthanded depends on no packages.

comixcursors-righthanded recommends no packages.

Versions of packages comixcursors-righthanded suggests:
pn  comixcursors-lefthanded  none
pn  comixcursors-lefthanded-opaque   none
pn  comixcursors-righthanded-opaque  none

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648965: comixcursors-righthanded: update-alternatives not used

2011-11-16 Thread Andre Naujoks
Package: comixcursors-righthanded
Version: 0.7.2-2
Severity: normal

Dear Maintainer,

I was installing the cursor theme package and I am using the update-
alternatives approach for choosing my cursor theme. However during install of
the package the themes are not added to the list of alternatives.

I helped myself by manually adding the alternatives to the list like this.

for i in `dpkg -L comixcursors-righthanded | grep .theme | grep X11`; do
update-alternatives --install /usr/share/icons/default/index.theme x-cursor-
theme $i 10; done

, but I think, this should be done by the package itself.

Regards,
  Andre Naujoks



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

comixcursors-righthanded depends on no packages.

comixcursors-righthanded recommends no packages.

Versions of packages comixcursors-righthanded suggests:
pn  comixcursors-lefthanded  none
pn  comixcursors-lefthanded-opaque   none
pn  comixcursors-righthanded-opaque  none

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org