Package: localepurge
Version: 0.7.3.9
Severity: important

dmenu (from suckless-tools) and i3-dmenu-desktop (from package i3-wm) stopped 
working suddenly,
after localepurge was upgraded

Two error messages are shown in .xsession-errors:
warning: no locale support
warning: no locale modifiers support

The locale is set to fr_FR.UTF-8 
$ echo $LANG
fr_FR.UTF-8

but strace shows that dmenu tries to open
   /usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
which is indeed missing, purged today by localpurge on upgrade.

The workaround is simply to add en_US.UTF-8 to locale.nopurge,
reconfigure localepurge and reinstall libx11-data

Not sure why locale en_US.UTF-8 would be required, but it might be related to 
this:

$ grep $LANG /usr/share/X11/locale/locale.dir 
en_US.UTF-8/XLC_LOCALE                  fr_FR.UTF-8
en_US.UTF-8/XLC_LOCALE:                 fr_FR.UTF-8

The comments found in locale.dir suggests that the problem could be rather 
common,
so localepurge should perhaps keep en_US.UTF-8 anyway. 

Thanks!


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 
'oldstable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.14 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages localepurge depends on:
ii  debconf [debconf-2.0]  1.5.74
ii  locales                2.30-8
ii  perl                   5.30.2-1
ii  procps                 2:3.3.16-5
ii  ucf                    3.0038+nmu1

localepurge recommends no packages.

Versions of packages localepurge suggests:
pn  bleachbit  <none>
pn  debfoster  <none>
ii  deborphan  1.7.33

-- debconf information:
  localepurge/showfreedspace: true
  localepurge/dontbothernew: false
  localepurge/remove_no:
  localepurge/none_selected: false
* localepurge/nopurge: en, en_US.UTF-8, fr, fr_FR, fr_FR@euro, fr_FR.UTF-8
* localepurge/mandelete: true
* localepurge/use-dpkg-feature: false
  localepurge/quickndirtycalc: true
  localepurge/verbose: false

Reply via email to