[Bug 1077055] [NEW] quantal to raring upgrade fail, python script fails

Javier 1077055 at bugs.launchpad.net
Fri Nov 9 16:23:45 UTC 2012


Public bug reported:

Currently installed version of Ubuntu is Quanta 32-bitl. I tried to
upgrade to raring but i faced a error in a python script, output:

sudo do-release-upgrade -d
Checking for a new Ubuntu release
Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 145, in <module>
    fetcher.run_options += ["--mode=%s" % options.mode,
AttributeError: type object 'DistUpgradeFetcherCore' has no attribute 'run_options'

Just for fun i modified the line 145 of the script from:
fetcher.run_options += ["--mode=%s" % options.mode,

to:
fetcher.run_options = ["--mode=%s" % options.mode,

The i faced another error, output:

Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 150, in <module>
    fetcher.run()
TypeError: run() takes exactly 1 argument (0 given)

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  quantal to raring upgrade fail, python script fails

Status in “ubuntu-release-upgrader” package in Ubuntu:
  New

Bug description:
  Currently installed version of Ubuntu is Quanta 32-bitl. I tried to
  upgrade to raring but i faced a error in a python script, output:

  sudo do-release-upgrade -d
  Checking for a new Ubuntu release
  Traceback (most recent call last):
    File "/usr/bin/do-release-upgrade", line 145, in <module>
      fetcher.run_options += ["--mode=%s" % options.mode,
  AttributeError: type object 'DistUpgradeFetcherCore' has no attribute 'run_options'

  Just for fun i modified the line 145 of the script from:
  fetcher.run_options += ["--mode=%s" % options.mode,

  to:
  fetcher.run_options = ["--mode=%s" % options.mode,

  The i faced another error, output:

  Traceback (most recent call last):
    File "/usr/bin/do-release-upgrade", line 150, in <module>
      fetcher.run()
  TypeError: run() takes exactly 1 argument (0 given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1077055/+subscriptions




More information about the foundations-bugs mailing list