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.

For upgrading a release (e.g. from Quantal to Raring), apt-get dist-upgrade does work. I wonder what happens if simply changing the repository (e.g. from Quantal to Raring) then utilizing normal apt-get update and apt-get upgrade?

Changing

deb http://us.archive.ubuntu.com/ubuntu/ quantal main
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal main

to

deb http://us.archive.ubuntu.com/ubuntu/ raring main
deb-src http://us.archive.ubuntu.com/ubuntu/ raring main

then

apt-get update && apt-get upgrade

Can this method actually upgrade to the latest release of ubuntu?

I am curious what happens by this approach.

share|improve this question
add comment

1 Answer 1

upgrade refuses add or remove packages, even if they are required by or conflict with new versions of packages to be upgraded, thus, you must use dist-upgrade or you will end up with a partially upgraded system.

share|improve this answer
add comment

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.