do-dist-upgrade fails. Fatal error.

Bug #1275976 reported by Prakhar Singh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

root@axiom:~# 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 6s (79.5 kB/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-hnewsk/saucy", line 10, in
<module>
sys.exit(main())

File
"/tmp/ubuntu-release-upgrader-hnewsk/DistUpgrade/DistUpgradeMain.py",
line 240, in main
save_system_state(logdir)

File
"/tmp/ubuntu-release-upgrader-hnewsk/DistUpgrade/DistUpgradeMain.py",
line 133, in save_system_state
scrub_sources=True)

File "/tmp/ubuntu-release-upgrader-hnewsk/DistUpgrade/apt_clone.py",
line 149, in save_state
self._write_state_sources_list(tar, scrub_sources)

File "/tmp/ubuntu-release-upgrader-hnewsk/DistUpgrade/apt_clone.py",
line 241, in _write_state_sources_list
"./etc/apt/sources.list.d/"+source)

File "/tmp/ubuntu-release-upgrader-hnewsk/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 0xfa in position
18: invalid start byte

Revision history for this message
Brian Murray (brian-murray) wrote :

Could you please add the contents of /etc/apt/sources.list.d/ as attachments (after ensuring there are no passwords in the files) to this bug report? Thanks in advance.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Prakhar Singh (prakharsingh95) wrote :

Sorry for the late response.
I attached the output of:

root@axiom:/etc/apt/sources.list.d# cat * > ~/dump

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.