Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to upgrade ubuntu server from 12.10 to 13.04 using command line.

I get the follow error when I do this command "sudo do-release-upgrade -d":

 $ 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'

Do you have any idea how to fix this?

Thank you.

share|improve this question

1 Answer 1

The -d switch is not required in this case. At the time of the question, 13.04 was stable not development. The -d switch indicates to do-release-upgrade to install the latest development version, but at the time no distribution was on development. A normal sudo do-release-upgrade will upgrade your system.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.