[Bug 1278280] Re: ubuntu-release-upgrader crashes with DistUpgrade/sourceslist.py", line 416, in save : UnicodeEncodeError: 'ascii' codec can't encode characters in position 97-114: ordinal not in range(128)

Aurélien COUDERC zecoucou at free.fr
Mon Mar 10 20:05:43 UTC 2014


Yes, this happens when there are non-ascii character in one of the apt
sources files.

…which must be very common because the disabled sources comment added by
the release upgrade process is localized !

For example in French, the following was added to all my sources.list.d/*.list.distUpgrade during former upgrades :
désactivé pour la mise à niveau vers raring désactivé pour la mise à niveau vers saucy
(which translates to something like « disable for raring uprgade disabled for saucy upgrade »)

This gives us a clue that this bug is a regression from the Trusty cycle.
The raring -> saucy upgrade did work eventhough there were already non-ascii characters in sources files.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1278280

Title:
  ubuntu-release-upgrader crashes with DistUpgrade/sourceslist.py", line
  416, in save : UnicodeEncodeError: 'ascii' codec can't encode
  characters in position 97-114: ordinal not in range(128)

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Triaged

Bug description:
  部分升级错误

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.210
  Uname: Linux 3.14.0-031400rc1-lowlatency x86_64
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Mon Feb 10 13:38:40 2014
  InstallationDate: Installed on 2013-09-13 (150 days ago)
  InstallationMedia: UbuntuKylin 13.10 "Saucy Salamander" - Alpha amd64 (20130724)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to trusty on 2013-11-02 (99 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1278280/+subscriptions



More information about the foundations-bugs mailing list