update etch to lenny and save old java
hi
I'd like to upgrade my etch to lenny and save old java 1.5 installed: Code:
# java -version |
Don't upgrade.
Never upgrade. If you want a new version then make a clean installation on a spare partition. |
Quote:
|
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. |
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. |
Quote:
|
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. |
All times are GMT -5. The time now is 12:14 PM. |