APT: Unicode Error in changelog

Bug #438076 reported by dino99
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
packagekit (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

karmic a6

i receive this warning when the updates button in title bar is check: updates packages are summarized and a warning box open with this:

Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Value: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
  File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1948, in <module>
    main()
  File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1945, in main
    run(args, options.single)
  File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1907, in run
    backend.dispatcher(args)
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 647, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 537, in dispatch_command
    self.get_update_detail(package_ids)
  File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 753, in get_update_detail
    updated)
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 242, in update_detail
    changelog, state, issued, updated))

i report against update-manager but i'm not sure about that.

ProblemType: Bug
Architecture: i386
Date: Mon Sep 28 13:12:34 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: update-manager 1:0.125.4
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: update-manager
Uname: Linux 2.6.31-11-generic i686

Revision history for this message
dino99 (9d9) wrote :
Revision history for this message
dino99 (9d9) wrote :

i've already had these errors since karmic a5 & it always happen the same way.

Revision history for this message
dino99 (9d9) wrote :

i prefer to read comments on updates before to apply them, so i use SUM. After that control, i upgrade those packages.
Curiously the icon in title bar does not disappear and stay there reminding you that there are updates avaiiable regardless they have been upgraded previously. Rechecking this icon button, it tell you that the system is updated, closing that dialog box, icon still stay in title bar.

Michael Vogt (mvo)
affects: update-manager (Ubuntu) → packagekit (Ubuntu)
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

You are using Kubuntu?

Could you please run the command locale in a Konsole/Terminal and copy&paste the output here?

Which package description do you see at last?

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

What is SUM?

Changed in packagekit (Ubuntu):
status: New → Incomplete
summary: - internal software updates errors
+ Unicode Error in changelog
Revision history for this message
Sebastian Heinlein (glatzor) wrote : Re: Unicode Error in changelog

I fixed this upstream. Will be uploaded to Lucid soon.

Changed in packagekit (Ubuntu):
status: Incomplete → Fix Committed
dino99 (9d9)
Changed in packagekit (Ubuntu):
status: Fix Committed → Invalid
Revision history for this message
ap0stol (x777ozon) wrote :

karmic final affected too

Changed in packagekit (Ubuntu):
status: Invalid → New
Revision history for this message
ap0stol (x777ozon) wrote :

Ubuntu 9.10
Linux 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux

Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Value: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
  File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1952, in <module>
    main()
  File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1949, in main
    run(args, options.single)
  File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1911, in run
    backend.dispatcher(args)
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 647, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 537, in dispatch_command
    self.get_update_detail(package_ids)
  File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 757, in get_update_detail
    updated)
  File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 242, in update_detail
    changelog, state, issued, updated))

Changed in packagekit (Ubuntu):
status: New → Fix Committed
Revision history for this message
Jonathan Riddell (jr) wrote :

I've uploaded packagekit 0.5.7-0ubuntu3 to ppa:jr please run

sudo apt-add-repository ppa:jr
sudo apt-get update
sudo apt-get install packagekit-backend-apt

and check if this bug is fixed or not

Revision history for this message
dino99 (9d9) wrote :

dont have these errors logged anymore

Matthias Klumpp (ximion)
summary: - Unicode Error in changelog
+ APT: Unicode Error in changelog
Revision history for this message
dino99 (9d9) wrote :

dont know if its related or not but now i've this error each time i run :

oem@dub:~$ sudo apt-get install -f
[sudo] password for oem:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
N: Ignoring file 'ubuntu-tweak-stable.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

i've already deleted the previous " .list.save" files generated, but they come back each time ( no sad effect known anyway) for every third party into sources.list

Revision history for this message
dino99 (9d9) wrote :

post # 11 is fixed now but still got some errors related to python2.6, wonder why we dont use 2.7 now.

Matthias Klumpp (ximion)
tags: added: pk-apt-backend
Matthias Klumpp (ximion)
Changed in packagekit (Ubuntu Lucid):
status: New → Invalid
Matthias Klumpp (ximion)
tags: added: pk-backend-apt
removed: pk-apt-backend
Matthias Klumpp (ximion)
Changed in packagekit (Ubuntu):
status: Fix Committed → Fix Released
Changed in packagekit (Ubuntu Lucid):
status: Invalid → Incomplete
dino99 (9d9)
Changed in packagekit (Ubuntu Maverick):
status: Fix Committed → Fix Released
Changed in packagekit (Ubuntu Lucid):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.