[Bug 1046888] Re: do-release-upgrade fails if UTF-8 comments in sources.list

matthieu vidal 1046888 at bugs.launchpad.net
Fri Sep 7 15:13:46 UTC 2012

Same problem here ... I did not look after the UTF8 chararcters.

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in

  do-release-upgrade fails if UTF-8 comments in sources.list

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

Bug description:
  This has been found out and proven while trying to upgrade several
  machines from Precise to Quantal Alpha3.

  It may or may not still be true with latest version of do-release-
  upgrade ...?

  do-release-upgrade will fail miserably, python complaining about can't
  parse UTF-8, if any "deb" line in /etc/apt/sources.list or
  /etc/apt/sources.list.d/* has a trailing "#" comment containg UTF-8
  chars such as accentuated éèà ...

  The matter is that some of these comments containing UTF-8 may have
  been auto-generated when upgrading from previous Ubuntu versions...
  Depending upon system locale, etc.

  Removing said characters in comments allow do-release-upgrade to then
  succed, so the problem is 100% sure, proven and located.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubuntu-release-upgrader-core 1:0.180
  ProcVersionSignature: Ubuntu 3.5.0-13.14-generic 3.5.3
  Uname: Linux 3.5.0-13-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.5.1-0ubuntu4
  Architecture: amd64
  CheckboxSubmission: 1ea6109db29b53f721a523a77b7f3abf
  CheckboxSystem: d00f84de8a555815fa1c4660280da308
  Date: Thu Sep  6 16:59:43 2012
  EcryptfsInUse: Yes
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to quantal on 2012-08-28 (9 days ago)
  VarLogDistupgradeAptclonesystemstate.tar.gz: Error: [Errno 13] Permission non accordée: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list