Thanks a lot Sebastian for this quick fix. There's no more crash but package
descriptions are not translated.
I've tried this piece of code in aptBackend.py :
locale.resetlocale()
This works for me but non ASCII characters (like é in French) are
replaced by '?' (unicode issue ?) Another strange
This bug was fixed in the package packagekit - 0.4.9+20090825-0ubuntu2
---
packagekit (0.4.9+20090825-0ubuntu2) karmic; urgency=low
* debian/patches:
- Add disable_werror: Unset the Werror compile flag to fix FTBS on armel
- Add fix_get_depends: Cherry pick fa693068675742e17
Le lundi 31 août 2009 13:14:44, Sebastian Heinlein a écrit :
> It seems that your language settings are broken. I added a workaround to
> packagekit to not fail in this situtaion.
>
> Could you please paste the output of the locale command?
$ locale
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8
Sure.
Output of locale:
LANG=C
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
I haven't made any relevant changes since installing Kubuntu Ka
It seems that your language settings are broken. I added a workaround to
packagekit to not fail in this situtaion.
Could you please paste the output of the locale command?
Have you made any changes to the locale settings?
--
[karmic] aptBackend.py crash
https://bugs.launchpad.net/bugs/420348
Yo
Just to add further since I last responded, this bug also affects
checking for updates on start-up. When I started up the computer and got
to the desktop, I noticed that Apport had already picked up a bug
regarding aptBackend.py, even though I hadn't run KPackageKit myself.
--
[karmic] aptBackend
Bruno Patri: I tried via systemsettings, via the menu and on the command
line and this bug occurs every single time.
--
[karmic] aptBackend.py crash
https://bugs.launchpad.net/bugs/420348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
-
tghe-retford : kpackagekit works if you launch it directly from menu or
command line.
** Description changed:
- Binary package hint: packagekit-backend-apt
-
- Kapackagekit fails to display packages or updates. Apport reports a
- aptBackend.py crash (line 153 setlocale). Unfortunately Apport fai
I am having exactly the same problem, and this is a complete
showstopper. Just to add to the bug description, KPackageKit cannot be
used to install or update packages as a result of this bug.
--
[karmic] aptBackend.py crash
https://bugs.launchpad.net/bugs/420348
You received this bug notification