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)
Bug #1278280 reported by
蒋卓玮
This bug report is a duplicate of:
Bug #1251588: ubuntu-release-upgrader crashed in save() with UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 103: ordinal not in range(128).
Edit
Remove
This bug affects 12 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
In Progress
|
High
|
Michael Vogt | ||
Trusty |
In Progress
|
High
|
Michael Vogt |
Bug Description
Errors bucket: https:/
部分升级错误
ProblemType: BugDistroRelease: Ubuntu 14.04
Package: ubuntu-
Uname: Linux 3.14.0-
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)
PackageArchitec
UpgradeStatus: Upgraded to trusty on 2013-11-02 (99 days ago)
VarLogDistupgra
Related branches
lp://staging/ubuntu/trusty-proposed/ubuntu-release-upgrader
Ready for review
for merging
into
lp://staging/ubuntu/trusty/ubuntu-release-upgrader
- Ubuntu branches: Pending requested
-
Diff: 81663 lines (+14939/-14920)130 files modifiedDistUpgrade/DistUpgradeApport.py (+8/-10)
DistUpgrade/DistUpgradeCache.py (+18/-4)
DistUpgrade/DistUpgradeMain.py (+1/-0)
DistUpgrade/DistUpgradeVersion.py (+1/-1)
DistUpgrade/DistUpgradeView.py (+6/-0)
DistUpgrade/DistUpgradeViewGtk3.py (+18/-9)
DistUpgrade/DistUpgradeViewText.py (+13/-4)
DistUpgrade/build-tarball.sh (+3/-3)
data/mirrors.cfg (+152/-0)
data/removal_blacklist.cfg (+1/-1)
debian/changelog (+64/-0)
po/af.po (+124/-126)
po/am.po (+125/-127)
po/an.po (+126/-128)
po/ar.po (+122/-124)
po/ast.po (+119/-121)
po/az.po (+124/-126)
po/be.po (+125/-127)
po/bg.po (+122/-124)
po/bn.po (+119/-121)
po/bo.po (+122/-124)
po/br.po (+124/-126)
po/bs.po (+119/-121)
po/ca.po (+122/-124)
po/ca@valencia.po (+135/-131)
po/ceb.po (+129/-131)
po/ckb.po (+126/-128)
po/crh.po (+122/-124)
po/cs.po (+122/-124)
po/csb.po (+124/-126)
po/cv.po (+129/-131)
po/cy.po (+127/-129)
po/da.po (+119/-121)
po/de.po (+119/-121)
po/dv.po (+126/-128)
po/el.po (+122/-124)
po/en_AU.po (+153/-155)
po/en_CA.po (+153/-155)
po/en_GB.po (+139/-141)
po/eo.po (+120/-122)
po/es.po (+122/-124)
po/et.po (+125/-127)
po/eu.po (+122/-124)
po/fa.po (+129/-131)
po/fi.po (+121/-123)
po/fil.po (+127/-129)
po/fo.po (+126/-128)
po/fr.po (+122/-124)
po/fr_CA.po (+122/-124)
po/fur.po (+127/-129)
po/fy.po (+126/-128)
po/ga.po (+129/-131)
po/gd.po (+119/-121)
po/gl.po (+122/-124)
po/gu.po (+129/-131)
po/gv.po (+129/-131)
po/he.po (+119/-121)
po/hi.po (+122/-124)
po/hr.po (+119/-121)
po/hu.po (+122/-124)
po/hy.po (+129/-131)
po/id.po (+123/-125)
po/is.po (+127/-129)
po/it.po (+123/-125)
po/ja.po (+119/-121)
po/jv.po (+129/-131)
po/ka.po (+124/-126)
po/kk.po (+125/-127)
po/km.po (+122/-124)
po/kn.po (+126/-128)
po/ko.po (+119/-121)
po/ku.po (+124/-126)
po/ky.po (+129/-131)
po/lb.po (+129/-131)
po/lo.po (+129/-131)
po/lt.po (+119/-121)
po/lv.po (+119/-121)
po/mhr.po (+129/-131)
po/mk.po (+124/-126)
po/ml.po (+126/-128)
po/mn.po (+126/-128)
po/mr.po (+126/-128)
po/ms.po (+122/-124)
po/mus.po (+129/-131)
po/my.po (+126/-128)
po/nb.po (+119/-121)
po/nds.po (+126/-128)
po/ne.po (+126/-128)
po/nl.po (+119/-121)
po/nn.po (+122/-124)
po/oc.po (+122/-124)
po/pa.po (+124/-126)
po/pl.po (+119/-121)
po/ps.po (+129/-131)
po/pt.po (+126/-128)
po/pt_BR.po (+119/-121)
po/qu.po (+129/-131)
po/ro.po (+124/-126)
po/ru.po (+122/-124)
po/rw.po (+129/-131)
po/sc.po (+129/-131)
po/sco.po (+127/-129)
po/sd.po (+126/-128)
po/se.po (+129/-131)
po/shn.po (+129/-131)
po/si.po (+127/-129)
po/sk.po (+119/-121)
po/sl.po (+119/-121)
po/sq.po (+119/-121)
po/sr.po (+125/-127)
po/sv.po (+177/-179)
po/ta.po (+126/-128)
po/ta_LK.po (+126/-128)
po/te.po (+122/-124)
po/tg.po (+129/-131)
po/th.po (+122/-124)
po/tl.po (+124/-126)
po/tr.po (+119/-121)
po/ug.po (+120/-122)
po/uk.po (+119/-121)
po/ur.po (+129/-131)
po/uz.po (+126/-128)
po/vi.po (+122/-124)
po/xh.po (+129/-131)
po/zh_CN.po (+119/-121)
po/zh_HK.po (+119/-121)
po/zh_TW.po (+119/-121)
po/zu.po (+129/-131)
utils/demoted.cfg (+9/-2)
utils/demoted.cfg.precise (+5/-18)
summary: |
- can not upgrade + 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) |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Fix Released → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
status: | In Progress → Confirmed |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu Trusty): | |
assignee: | nobody → Michael Vogt (mvo) |
To post a comment you must log in.
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.