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'm using Hardy (server) on quite a few machines and I'd like to upgrade to the latest LTS. Is it safe to edit my sources.list file to just point to the new LTS, or should I do a succession of dist upgrades until I reach the latest LTS?

share|improve this question

2 Answers 2

up vote 7 down vote accepted

No. You should never just edit sources.list. Use the update-manager, or if you use command line, use do-release-upgrade. You can upgrade safely from LTS editions to other LTS editions, or otherwise, you need to step via each release. Only those pathways are supported, and prevent some issues that can otherwise occur with improper upgrades.

share|improve this answer

I believe you can upgrade directly from LTS to LTS, see e.g. https://help.ubuntu.com/community/LucidUpgrades

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.