[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
Mike Carifio
mike at carif.io
Wed Feb 12 01:30:32 UTC 2014
Still not fixed.
➜ /home/mcarifio% sudo do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1,142 kB]
Fetched 1,142 kB in 0s (0 B/s)
authenticate 'saucy.tar.gz' against 'saucy.tar.gz.gpg'
extracting 'saucy.tar.gz'
Reading cache
A fatal error occurred
Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-02kpob/saucy", line 10, in
<module>
sys.exit(main())
File
"/tmp/ubuntu-release-upgrader-02kpob/DistUpgrade/DistUpgradeMain.py",
line 240, in main
save_system_state(logdir)
File
"/tmp/ubuntu-release-upgrader-02kpob/DistUpgrade/DistUpgradeMain.py",
line 133, in save_system_state
scrub_sources=True)
File "/tmp/ubuntu-release-upgrader-02kpob/DistUpgrade/apt_clone.py",
line 149, in save_state
self._write_state_sources_list(tar, scrub_sources)
File "/tmp/ubuntu-release-upgrader-02kpob/DistUpgrade/apt_clone.py",
line 241, in _write_state_sources_list
"./etc/apt/sources.list.d/"+source)
File "/tmp/ubuntu-release-upgrader-02kpob/DistUpgrade/apt_clone.py",
line 246, in _add_file_to_tar_with_password_check
for line in f.readlines():
File "/usr/lib/python2.7/codecs.py", line 296, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position
1: invalid start byte
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-clone in Ubuntu.
https://bugs.launchpad.net/bugs/1212025
Title:
Upgrading to Saucy crashes with a unicode error
Status in “apt-clone” package in Ubuntu:
Fix Released
Status in “ubuntu-release-upgrader” package in Ubuntu:
Fix Released
Bug description:
Trying to upgrade from 13.04 to 13.10 I experience this, then update-
manager quits:
yotam at aku:~$ sudo update-manager -d
[sudo] password for yotam:
מתבצעת בדיקה להימצאות גרסה חדשה של אובונטו
אימות 'saucy.tar.gz' כנגד 'saucy.tar.gz.gpg'
'saucy.tar.gz' מחולץ
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-3jxib8/saucy", line 10, in <module> sys.exit(main())
File "/tmp/ubuntu-release-upgrader-3jxib8/DistUpgrade/DistUpgradeMain.py", line 240, in main save_system_state(logdir)
File "/tmp/ubuntu-release-upgrader-3jxib8/DistUpgrade/DistUpgradeMain.py", line 133, in save_system_state scrub_sources=True)
File "/tmp/ubuntu-release-upgrader-3jxib8/DistUpgrade/apt_clone.py", line 149, in save_state self._write_state_sources_list(tar, scrub_sources)
File "/tmp/ubuntu-release-upgrader-3jxib8/DistUpgrade/apt_clone.py", line 241, in _write_state_sources_list "./etc/apt/sources.list.d/"+source)
File "/tmp/ubuntu-release-upgrader-3jxib8/DistUpgrade/apt_clone.py", line 252, in _add_file_to_tar_with_password_check source_copy.write(line)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 68-71: ordinal not in range(128)
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: update-manager 1:0.186.1
ProcVersionSignature: Ubuntu 3.8.0-28.41-generic 3.8.13.5
Uname: Linux 3.8.0-28-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Wed Aug 14 02:24:29 2013
GsettingsChanges:
b'com.ubuntu.update-manager' b'first-run' b'false'
b'com.ubuntu.update-manager' b'launch-time' b'1376436121'
b'com.ubuntu.update-manager' b'show-details' b'true'
b'com.ubuntu.update-manager' b'window-height' b'590'
b'com.ubuntu.update-manager' b'window-width' b'555'
InstallationDate: Installed on 2010-05-19 (1182 days ago)
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: Upgraded to raring on 2013-08-13 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions
More information about the foundations-bugs
mailing list