PDA

View Full Version : [ubuntu] Why dpkg speaks chineese in gnome-terminal.



v_mil
November 19th, 2011, 02:55 PM
Dear All!
After upgrading from Natty to Oneiric dpkg speaks English or Ukrainian.
After HDD change and clean installation dpkg starts speak chineese in gnome-terminal. I don't understand it. All other terminal applications speaks Ukrainian or English.
The locale of interface is Ukrainian. How to switch dpkg to Ukrainian or English?
I try to press CTRL+ALT+1, login and use dpkg. It works without any locale problem. Please, help me!
With best regards.
Viktor.

IN GNOME-TERMINAL:
TROUBLE:
~$ dpkg
dpkg: error: 需要一个指示操作的选项

输入 dpkg --help 可获得安装和卸载软件包的有关帮助

使用 dselect 或是 aptitude 就能在友好的界面下管理软件包;
输入 dpkg -Dhelp 可看到 dpkg 除错标志的值的列表;
输入 dpkg --force-help 可获得所有强制操作选项的列表;
输入 dpkg-deb --help 可获得有关操作 *.deb 文件的帮助;

带有
的选项将会输出较大篇幅的文字 - 可使用管道将其输出连接到 less 或 more !

NORMAL BEHAVIOUR (English/Ukrainian):
~$ cd 123
bash: cd: 123: No such file or directory
user@Notebook:~$ sudo apt-get update
Ігн http://extras.ubuntu.com oneiric InRelease
Ігн http://security.ubuntu.com oneiric-security InRelease
Ігн http://ua.archive.ubuntu.com oneiric InRelease
Ігн http://ua.archive.ubuntu.com oneiric-updates InRelease
Ігн http://ua.archive.ubuntu.com oneiric-backports InRelease
Ігн http://ppa.launchpad.net oneiric InRelease
В кеші http://extras.ubuntu.com oneiric Release.gpg
В кеші http://security.ubuntu.com oneiric-security Release.gpg
В кеші http://ua.archive.ubuntu.com oneiric Release.gpg
Отр:1 http://ppa.launchpad.net oneiric Release.gpg [316 B]
...
W: GPG error: http://ppa.launchpad.net oneiric Release: Слідуючі підписи не можуть бути перевірені, тому що, публічний ключ відсутній: NO_PUBKEY 5A9A06AEF9CB8DB0