[Bug 1099569] Re: do-release-upgrade from 12.04 LTS to 12.10 fails

Kevin Herrera kevin at herrera.io
Mon Jan 14 21:02:15 UTC 2013


*** This bug is a duplicate of bug 346386 ***
    https://bugs.launchpad.net/bugs/346386

** This bug has been marked a duplicate of bug 346386
   [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header"

-- 
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/1099569

Title:
  do-release-upgrade from 12.04 LTS to 12.10 fails

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

Bug description:
  root at dev:/etc/update-manager# cat release-upgrades
  # Default behavior for the release upgrader.

  [DEFAULT]
  # Default prompting behavior, valid options:
  #
  #  never  - Never check for a new release.
  #  normal - Check to see if a new release is available.  If more than one new
  #           release is found, the release upgrader will attempt to upgrade to
  #           the release that immediately succeeds the currently-running
  #           release.
  #  lts    - Check to see if a new LTS release is available.  The upgrader
  #           will attempt to upgrade to the first LTS release available after
  #           the currently-running one.  Note that this option should not be
  #           used if the currently-running release is not itself an LTS
  #           release, since in that case the upgrader won't be able to
  #           determine if a newer release is available.
  Prompt=normal # was "lts"
  root at dev:/etc/update-manager# vi release-upgrades
  root at dev:/etc/update-manager# clear
  root at dev:/etc/update-manager# cd
  root at dev:~# clear
  root at dev:~# do-release-upgrade
  Checking for a new Ubuntu release
  Get:1 Upgrade tool signature [198 B]
  Get:2 Upgrade tool [1,198 kB]
  Fetched 1,198 kB in 0s (0 B/s)
  authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg'
  extracting 'quantal.tar.gz'

  Err http://security.ubuntu.com quantal-security/restricted
  Translation-en

  Get:78 http://us.archive.ubuntu.com quantal/multiverse Translation-en [100 kB]
  Get:79 http://us.archive.ubuntu.com quantal/restricted Translation-en [2,575 B]
  Get:80 http://us.archive.ubuntu.com quantal/universe Translation-en [3,648 kB]
  Get:81 http://security.ubuntu.com quantal-security/main Translation-en [32.6 kB]
  Get:82 http://security.ubuntu.com quantal-security/restricted Translation-en [20 B]
  Get:83 http://us.archive.ubuntu.com quantal-updates/main Translation-en [81.0 kB]
  Get:84 http://us.archive.ubuntu.com quantal-updates/multiverse Translation-en [4,499 B]
  Get:85 http://us.archive.ubuntu.com quantal-updates/restricted Translation-en [635 B]
  Get:86 http://us.archive.ubuntu.com quantal-updates/universe Translation-en [78.8 kB]
  Get:87 http://us.archive.ubuntu.com quantal-backports/main Translation-en [14 B]
  Get:88 http://us.archive.ubuntu.com quantal-backports/multiverse Translation-en [594 B]
  Get:89 http://us.archive.ubuntu.com quantal-backports/restricted Translation-en [14 B]
  Get:90 http://us.archive.ubuntu.com quantal-backports/universe Translation-en [5,542 B]
  Fetched 25.4 MB in 6s (335 kB/s)

  Checking package manager
  Reading package lists... Done

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

  File "/tmp/update-manager-5r4BEl/DistUpgrade/DistUpgradeMain.py",
  line 240, in main
  if app.run():

  File
  "/tmp/update-manager-5r4BEl/DistUpgrade/DistUpgradeController.py",
  line 1764, in run
  return self.fullUpgrade()

  File
  "/tmp/update-manager-5r4BEl/DistUpgrade/DistUpgradeController.py",
  line 1681, in fullUpgrade
  self.openCache(restore_sources_list_on_fail=True)

  File
  "/tmp/update-manager-5r4BEl/DistUpgrade/DistUpgradeController.py",
  line 207, in openCache
  return self._openCache(lock)

  File
  "/tmp/update-manager-5r4BEl/DistUpgrade/DistUpgradeController.py",
  line 235, in _openCache
  lock)

  File "/tmp/update-manager-5r4BEl/DistUpgrade/DistUpgradeCache.py",
  line 94, in __init__
  apt.Cache.__init__(self, progress)

  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in
  __init__
  self.open(progress)

  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in
  open
  self._cache = apt_pkg.Cache(progress)

  SystemError: E:Encountered a section with no Package: header,
  E:Problem with MergeList
  /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_i18n_Translation-en,
  E:The package lists or status file could not be parsed or opened.
  === Command detached from window (Mon Jan 14 12:45:15 2013) ===
  === Command terminated with exit status 1 (Mon Jan 14 12:45:15 2013) ===

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




More information about the foundations-bugs mailing list