Subject: warn only after the installation is complete if something is still wrong
Date: Sat, 23 Jan 2010 11:43:57 +0800
Package: locales
Version: 2.10.2-1
Severity: wishlist
Shouldn't the warnings be held back on the first run of this... give the
user a chance to first install the package.
# dpkg -i /var/cache/apt/archives/locales_2.10.2-1_all.deb
Selecting previously deselected package locales.
(Reading database ... 107811 files and directories currently installed.)
Unpacking locales (from .../locales_2.10.2-1_all.deb) ...
Setting up locales (2.10.2-1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MESSAGES = "C",
LC_COLLATE = "C",
LC_CTYPE = "zh_TW.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
en_US.ISO-8859-1... done
en_US.UTF-8... done
zh_CN.GB2312... done
zh_TW.BIG5... done
zh_TW.UTF-8... done
Generation complete.
Processing triggers for man-db ...
# dpkg -i /var/cache/apt/archives/locales_2.10.2-1_all.deb
(Reading database ... 108376 files and directories currently installed.)
Preparing to replace locales 2.10.2-1 (using .../locales_2.10.2-1_all.deb) ...
Unpacking replacement locales ...
Setting up locales (2.10.2-1) ...
Generating locales (this might take a while)...
en_US.ISO-8859-1... done
en_US.UTF-8... done
zh_CN.GB2312... done
zh_TW.BIG5... done
zh_TW.UTF-8... done
Generation complete.
Processing triggers for man-db ...
P.S.,
The following packages have unmet dependencies:
locales: Depends: glibc-2.11-1 which is a virtual package.
here in experimental.
Reply sent
to Aurelien Jarno <[email protected]>:
You have taken responsibility.
(Mon, 25 Jan 2010 10:36:14 GMT) (full text, mbox, link).
Subject: Re: Bug#566349: warn only after the installation is complete if something
is still wrong
Date: Mon, 25 Jan 2010 11:33:19 +0100
[email protected] a écrit :
> Package: locales
> Version: 2.10.2-1
> Severity: wishlist
>
> Shouldn't the warnings be held back on the first run of this... give the
> user a chance to first install the package.
The warning are not emitted by the locale script, but by debconf which
calls perl.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
[email protected]http://www.aurel32.net
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.