Purges all installed locales
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
Fix Released
|
Undecided
|
Unassigned | ||
vm-builder (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi
The first time one runs vm-builder on a freshly installed Ubuntu system with a locale which isn't on the host system, it will run locale-gen $lang to test whether the --lang locale is valid. On a newly installed system, /var/lib/belocs is missing and this causes locale-gen to switch to "purge" mode. As a result, all locales on the system are lost after the test.
The second time, because /var/lib/belocs exists, this doesn't happen.
Bye,
ProblemType: Bug
Architecture: amd64
Date: Wed Feb 24 23:03:07 2010
DistroRelease: Ubuntu 10.04
Package: python-vm-builder 0.12.0-0ubuntu1
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=fr_FR.UTF-8
SHELL=/bin/zsh
ProcVersionSign
SourcePackage: vm-builder
Uname: Linux 2.6.32-14-generic x86_64
Related branches
Changed in vmbuilder: | |
status: | New → Fix Released |
Hmm I'm not sure /var/lib/belocs was missing on my system; another explanation is that old md5sum were not present, see gen_md5sum() in /usr/sbin/ locale- gen. I certainly have hashfile.new and .old files in /var/lib/belocs.