[Bug 1021872] [NEW] precise to quantal: No view can be imported, aborting

Alexander Schlarb alexander255 at lavabit.com
Fri Jul 6 18:52:06 UTC 2012


Public bug reported:

Short version: ./DistUpgrade.cfg is missing

Long version:
When upgrading the downloaded upgrade package crashes with an error message, that pretty much just says that the key Files/BackupExt was not found, since there is no config file:

alexander at Alexander-NB:~/bin$ sudo do-release-upgrade -d
[sudo] password for alexander: 
Neue Veröffentlichungen von Ubuntu werden gesucht
Hole:1 Signatur der Aktualisierungsanwendung [198 B]                           
Hole:2 Aktualisierungsanwendung [1.143 kB]                                     
Es wurden 1.143 kB in 6 s geholt (155 kB/s)                                    
»quantal.tar.gz« wird gegenüber »quantal.tar.gz.gpg« legitimiert 
»quantal.tar.gz« wird entpackt

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/update-manager-LWEgGQ/quantal", line 10, in <module> 
sys.exit(main()) 

File "/tmp/update-manager-LWEgGQ/DistUpgrade/DistUpgradeMain.py", 
line 221, in main 
app = DistUpgradeController(view, options, datadir=options.datadir) 

File 
"/tmp/update-manager-LWEgGQ/DistUpgrade/DistUpgradeController.py", 
line 129, in __init__ 
self.sources_backup_ext = "."+self.config.get("Files","BackupExt") 

File "/usr/lib/python2.7/ConfigParser.py", line 607, in get 
raise NoSectionError(section) 

NoSectionError: No section: 'Files'


Update-manager version:
update-manager:
  Installed: 1:0.156.14.5
  Candidate: 1:0.156.14.5
  Version table:
 *** 1:0.156.14.5 0
        500 http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ precise-updates/main i386 Packages
        500 http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ precise-security/main i386 Packages
        100 /var/lib/dpkg/status
     1:0.156.14 0
        500 http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ precise/main i386 Packages


No /var/log/dist-upgrade/apt.log file since update-manager didn't get that far.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dist-upgrade

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1021872

Title:
  precise to quantal: No view can be imported, aborting

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  Short version: ./DistUpgrade.cfg is missing

  Long version:
  When upgrading the downloaded upgrade package crashes with an error message, that pretty much just says that the key Files/BackupExt was not found, since there is no config file:

  alexander at Alexander-NB:~/bin$ sudo do-release-upgrade -d
  [sudo] password for alexander: 
  Neue Veröffentlichungen von Ubuntu werden gesucht
  Hole:1 Signatur der Aktualisierungsanwendung [198 B]                           
  Hole:2 Aktualisierungsanwendung [1.143 kB]                                     
  Es wurden 1.143 kB in 6 s geholt (155 kB/s)                                    
  »quantal.tar.gz« wird gegenüber »quantal.tar.gz.gpg« legitimiert 
  »quantal.tar.gz« wird entpackt

  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/update-manager-LWEgGQ/quantal", line 10, in <module> 
  sys.exit(main()) 

  File "/tmp/update-manager-LWEgGQ/DistUpgrade/DistUpgradeMain.py", 
  line 221, in main 
  app = DistUpgradeController(view, options, datadir=options.datadir) 

  File 
  "/tmp/update-manager-LWEgGQ/DistUpgrade/DistUpgradeController.py", 
  line 129, in __init__ 
  self.sources_backup_ext = "."+self.config.get("Files","BackupExt") 

  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get 
  raise NoSectionError(section) 

  NoSectionError: No section: 'Files'

  
  Update-manager version:
  update-manager:
    Installed: 1:0.156.14.5
    Candidate: 1:0.156.14.5
    Version table:
   *** 1:0.156.14.5 0
          500 http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ precise-updates/main i386 Packages
          500 http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ precise-security/main i386 Packages
          100 /var/lib/dpkg/status
       1:0.156.14 0
          500 http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ precise/main i386 Packages

  
  No /var/log/dist-upgrade/apt.log file since update-manager didn't get that far.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1021872/+subscriptions




More information about the foundations-bugs mailing list