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.
Upgrades always lead to problems that you don't experience with fresh installations. Abandoned features in the old system are often not removed during an upgrade. That can leave untidy bits of software laying around which could still be invoked during system startup and which could prevent new features from working properly. The time that you will spend fixing these weird problems would be better spent copying the old system's configuration to the new system.
If you create a new installation on an unused partition then you preserve the old working installation to fall back on. This can be *very* helpful.
If you use the LQ search feature to find problems related to upgrades you will see what I mean. These problems would be avoided if a new installation had been made.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
You can add lenny apt sources, to /etc/apt/sources.list. You can copy line for line, and just change the duplicate lines to say lenny instead of etch. Everything else is the same on each line.
Then, in a terminal, launch 'dselect' as sudo. Do an update, and then move to select. hit enter, space bar, and enter. This will upgrade all possible packages to lenny, without messing up everything else. Once you get it working the way you want with all the upgrades, then you can run the dist upgrade. One shot upgrades are pretty rough. but this method seems to work.
You can add lenny apt sources, to /etc/apt/sources.list. You can copy line for line, and just change the duplicate lines to say lenny instead of etch. Everything else is the same on each line.
Then, in a terminal, launch 'dselect' as sudo. Do an update, and then move to select. hit enter, space bar, and enter. This will upgrade all possible packages to lenny, without messing up everything else. Once you get it working the way you want with all the upgrades, then you can run the dist upgrade. One shot upgrades are pretty rough. but this method seems to work.
thx, but normally after backup and changes in /etc/apt/sources.list, I start directly with apt-get dist-upgrade
If java was installed using Suns installer then Debian shouldn't touch it..
how was java originally installed ? do you have to install files so you can re-install it if needed ?
other options are also available, as this blog post shows.. Multiple versions of Java on Debian
Goal: To install both Java6 and Java7 from Sun and configure a simple way to change which one is used as system default. http://anshee.blogspot.com/2008/05/m...on-debian.html
As with anything else you should attempt the upgrade on a test machine first if the live system is critical..
build a duplicate working environment, upgrade it to lenny, and ensure everything is working and unchanged. If it works then do the upgrade on the live system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.