[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
Comment #14 is being addressed in bug 1309447. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
hawkerb - vim undo files are bug 1254447. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
In my case this crash was caused by having vim undo files (.something.list.~un) in /etc/apt/sources.list.d, which are binary. Looks like far too many files are being read in process -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
sudo mv /etc/apt/sources.list.d{,-aside} sudo do-release-upgrade # avoids this error ty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
At @Murray's suggestion, I closed 1241541 as a dup of this bug. I'm hoping this one will be reopened and addressed. I can't upgrade my Lenovo X1 carbon laptop raring - saucy. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
This bug is not a duplicate of bug 1001335 which contains a traceback about a UnicodeDecodeError in check-new-release, whereas this traceback is about apt-clone. ** This bug is no longer a duplicate of bug 1001335 do-release-upgrade crashed with UnicodeEncodeError in /usr/lib/update-manager/check-new-release: 'ascii' codec can't encode character u'\xe7' in position 8: ordinal not in range(128) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
*** This bug is a duplicate of bug 1001335 *** https://bugs.launchpad.net/bugs/1001335 ** This bug has been marked a duplicate of bug 1001335 do-release-upgrade crashed with UnicodeEncodeError in /usr/lib/update-manager/check-new-release: 'ascii' codec can't encode character u'\xe7' in position 8: ordinal not in range(128) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
It still has to be backported to Raring, having it fixed in Saucy won't help those who are stuck in Raring because of this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
Release upgrades work by downloading a tarball of ubuntu-release- upgrader for the release that you are upgrading to and the code affected here (apt-clone) is included in that tarbarll, so it does not need to be fixed in Raring. apt-clone in the release upgrader has been updated so this should just work now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
** Branch linked: lp:ubuntu/saucy-proposed/apt-clone -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
This bug was fixed in the package apt-clone - 0.3.1~ubuntu6 --- apt-clone (0.3.1~ubuntu6) saucy; urgency=low * Properly handle unicode when rewriting source files, thanks to Colin Watson for the patch. (LP: #1212025) -- Brian Murray br...@ubuntu.com Fri, 06 Sep 2013 14:50:16 -0700 ** Changed in: apt-clone (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
** Branch linked: lp:apt-clone -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apt-clone (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
** Also affects: apt-clone (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
** Package changed: update-manager (Ubuntu) = ubuntu-release-upgrader (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
This bug affects me too. French locale. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: update-manager (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
I was with the same error, the only diference it that my locale it is portuguese. But I managed to fix by removing old files from /etc/apt (remains from upgrades from old versions). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
Thank you, I finally made this workaround work too; I had to delete the hidden files in /etc/apt/sources.list.d/ too. Still, I hope this problem grabs someone's attention. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
** Summary changed: - Upgrading to Saucy crashes in Hebrew locale with a unicode error + Upgrading to Saucy crashes with a unicode error -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
I checked it with user and system-wide language set to English and the crash still occurs. ** Description changed: - Trying to upgrade from 13.04 to 13.10 using a Hebrew locale I experience - this, then update-manager quits: + Trying to upgrade from 13.04 to 13.10 I experience this, then update- + manager quits: yotam@aku:~$ sudo update-manager -d - [sudo] password for yotam: + [sudo] password for yotam: מתבצעת בדיקה להימצאות גרסה חדשה של אובונטו - אימות 'saucy.tar.gz' כנגד 'saucy.tar.gz.gpg' + אימות '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) + 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' + 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1212025] Re: Upgrading to Saucy crashes with a unicode error
The crash still occurs after deleting all the files in /etc/apt/sources.list.d/ and restarting. I guess that somehow, one of the automatic system tools inserted a translated Hebrew string somewhere and the current upgrader can't handle it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212025 Title: Upgrading to Saucy crashes with a unicode error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1212025/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs