locale-gen causes tr extra operand 'm' during postinst

Bug #44302 reported by Brian Brunswick
8
Affects Status Importance Assigned to Milestone
belocs-locales-bin (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: locales

Watching the terminal during a dapper beta upgrade,
I have several times seen errors when locales are regenerated:

Setting up locales (2.3.16) ...
Generating locales...
  bn_BD.UTF-8... done
  bn_IN.UTF-8... done
  de_AT.UTF-8... tr: extra operand `m'
Try `tr --help' for more information.
done
  de_BE.UTF-8... tr: extra operand `m'
Try `tr --help' for more information.
done
  de_CH.UTF-8... tr: extra operand `m'
Try `tr --help' for more information.
done
  de_DE.UTF-8... tr: extra operand `m'
Try `tr --help' for more information.
done

etc.

Unfortunately, running locale-gen --purge manually afterward doesn't reproduce it.

Revision history for this message
Martin Pitt (pitti) wrote :

Heh, that's a funny one. It happens if the current directory contains a single-letter file name ('m' in your case).

Changed in langpack-locales:
assignee: nobody → pitti
status: Unconfirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

 belocs-locales-bin (2.3.5-5ubuntu7) dapper; urgency=low
 .
   * sbin/locale-gen: Quote tr arguments in order to not expand them to
     single-letter file names in the current directory. Closes: LP#44302

Changed in belocs-locales-bin:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.