ValueError: unknown locale: sr_RS -> Python programs (including software-center) will not start with locale variable (LANG environment variable) set to sr_RS or sr_RS@latin in Ubuntu 10.10
Hello,
When I try to start the program, it says "Loading Ubuntu Software Center" and then just disappears. I have never managed to make it work, so I had to use Synaptic Package Manager all of the time. I could not use .deb files at all.
Can anyone tell me how can I fix this?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2010-10-24
- Last reply:
- 2010-10-25
can you give the output of:
sudo apt-get update; sudo apt-get -y dist-upgrade
Thanks
Ђорђе Васиљевић (susexe) said : | #2 |
Нашао сам: http://
Нашао сам: http://
Прескачем: http://
Нашао сам: http://
Прескачем: http://
Нашао сам: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Прескачем: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Прескачем: http://
Нашао сам: http://
Нашао сам: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Нашао сам: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Прескачем: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Нашао сам: http://
Читам спискове пакета... Урађено
Читам спискове пакета... Урађено
Правим дрво међузависности
Читам информацију стања... Урађено
Правим списак пакета за ажурирање... Урађено
0 ажурираних, 0 новоинсталираних, 0 за уклањање и 0 који неће бити ажурирани.
Sorry, it is not in English. I hope you will find a problem.
Ok looks like a clean update with no necessary updates judging by the pattern.
Can you run:
gksudo software-center
If you get any weird outputs, paste them here as an update
Thanks
Ђорђе Васиљевић (susexe) said : | #4 |
app = SoftwareCenterA
File "/usr/share/
self.history = get_apt_history()
File "/usr/share/
apt_history = AptHistory()
File "/usr/share/
self.rescan()
File "/usr/share/
self.
File "/usr/share/
trans = Transaction(stanza)
File "/usr/share/
"%Y-%m-%d %H:%M:%S")
File "/usr/lib/
_TimeRE_cache = TimeRE()
File "/usr/lib/
self.
File "/usr/lib/
self.lang = _getlang()
File "/usr/lib/
return locale.
File "/usr/lib/
return _parse_
File "/usr/lib/
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: sr_RS
I'd log a bug. In the mean time you can use:
apt-cache search something
to find apps
sudo apt-get install packagename
to install packages
sudo apt-get remove packagename
to remove packages
Ђорђе Васиљевић (susexe) said : | #6 |
Thank you! I hope this will get fixed soon.
I believe that your PC is experiencing the following bugs, for which there is no permanent solution yet:
https:/
https:/
As a workaround procedure, I think that you need to set the LANG environment variable to something else (for example: en_US)
The following document gives more information on how and where to set the LANG environment variable in Ubuntu:
Can you help with this problem?
Provide an answer of your own, or ask Ђорђе Васиљевић for more information if necessary.