Comment 5 for bug 1013911

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

The upgrade failed!
i had to remove 2.7 and install 2.8 manually

$ apt-cache policy xdiagnose
xdiagnose:
  Installed: 2.7
  Candidate: 2.8
  Version table:
     2.8 0
        500 http://mirrors.fe.up.pt/pub/ubuntu/ quantal/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
 *** 2.7 0
        100 /var/lib/dpkg/status

$ sudo apt-get install xdiagnose
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  xdiagnose
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
1 not fully installed or removed.
Need to get 0 B/84,6 kB of archives.
After this operation, 5120 B disk space will be freed.
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 237, in <module>
    main()
  File "/usr/bin/apt-listchanges", line 48, in main
    debs = apt_listchanges.read_apt_pipeline(config)
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 83, in read_apt_pipeline
    return map(lambda pkg: filenames[pkg], order)
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 83, in <lambda>
    return map(lambda pkg: filenames[pkg], order)
KeyError: 'xdiagnose'
Setting up xdiagnose (2.7) ...
  File "/usr/lib/python3/dist-packages/xdiagnose/assistant.py", line 72
    print 'sixa action setup part1'
                                  ^
SyntaxError: invalid syntax

dpkg: error processing xdiagnose (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 xdiagnose
E: Sub-process /usr/bin/dpkg returned an error code (1)