[SOLVED] Skipping one major version in distupgrading.
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried it and it didn't work. After having to run apt-get dist-upgrade and apt-get -f install it finally got stuck with not being able to configure a few packages.
If you mean that you skipped a release - predictable (if you read the release notes there is a rather large stumbling block preventing a direct upgrade from lenny to wheezy...)
If you mean that upgrading from lenny to squeeze to wheezy failed - post the output you're seeing from apt-get dist-upgrade and apt-get -f install
Should have been more clear in my previous post. I wanted to see what happens if i skip a release in the upgrade process. That an upgrade this way can fail was clear to me, I just wanted to experiment with it. I think I will try that with a Slackware installation next and see if that is possible there.
I tried it and it didn't work. After having to run apt-get dist-upgrade and apt-get -f install it finally got stuck with not being able to configure a few packages.
Did you try using aptitude since it was prefered in Lenny?
There was a major udev update in squeeze, which required a 2.6.26 kernel minimum, but lenny's 2.6.26 does not meet the requirements due to it's configuration (read release notes to find out why) so you have to install the squeeze 2.6.32 kernel, then upgrade udev, then reboot into the squeeze kernel and, only then dist-upgrade. You would have needed to install a newer kernel first before attempting the upgrade, then you would need to update udev... trying to get a kernel and udev from wheezy to install in lenny would be... interesting. That's just the start of all your troubles however.
I tried it and it didn't work. After having to run apt-get dist-upgrade and apt-get -f install it finally got stuck with not being able to configure a few packages.
In that case I would try to uninstall the offending packages and reinstall them again when the upgrade step is ready. I did that in situations when a dist-upgrade failed complaining of breakages, unmet dependencies and incompatible packages, and it worked without problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.