The way I handle it is use dselect do the update.. and then select.. you can choice to unselect the updated new package... that way you won't get the problem..but very slow :) also.. as I remeber.. debian provide something call majoy update ( which mean it only update the essential package ) you may check that out also. Perl just like C you can set your locale by using gettext and set locale..that's why you get the error...(so do I) the problem is the program itself didn't (perl) come with a chinese locale interface..when the program look for (/usr/share/locale/"your-locale"/"your-app".mo) is not there.. then they use the default locale..that's what I understand... hope it will help you.. so if you really want perl to show chinese message..then you may build the mo file form Perl source code and put it in that location. Or you can search in the net and see anyone already did that... :) Not all app using gettext.. == Not all app can use locale. But I think Perl use gettext. Good luck Alex
> On Tue, Dec 19, 2000 at 12:16:17AM +0800, [EMAIL PROTECTED] wrote: > > 1. 使用dselect upgrade/apt-get [EMAIL PROTECTED] > > 執行了install,[EMAIL PROTECTED],立刻就終止了. 但是 > > 以後執行安裝的時候apt-get這些包管理程序總是抱怨而且試圖安裝 > > 下去. 我想恢復沒有upgrade之前的狀態, 有沒有什麼比較方便直接 > > 的命令行呢? 也就是說, 我如何取消dselect的upgrade並不讓其提示 > > upgrade? 我手工編輯/var/cache和/var/state,/var/lib下面apt, > > dpkg相關的文件來解決是問題不大的, 只是好麻煩的說. clean, autoclean, > > [EMAIL PROTECTED] 我想我的方式是最接近底層的了. apt的 > > source都打開來看了. 呵呵... > > 我好象是用 dselect ,把搗亂的包 _ 了. apt-get 應該沒有取消 > 選擇的方法.不想升級的包使用 hold 把它懸起來. > > > > 2. [EMAIL PROTECTED], [EMAIL PROTECTED] > > 有好幾個語種的信息, 只是根據/usr/share/locale/下面的language.codeset > > 修改之後運行apt-setup竟然會報錯並執著地使用LANG=C. 我看了perl > > doc,也沒有看出來能用其它的語種包括it,de,pl,fr等都不靈光了. 不 > > 知道哪位道友有過給perl設置可用的i18n/l10n環境變量的沒有? 給小弟 > > 說說何如? > > perl 就不知道了,好象它也可以用 gettext 吧? > > -- > Best regard > hashao > > -- > | This message was re-posted from [email protected] > | and converted from gb2312 to big5 by an automatic gateway. > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

