PDA

View Full Version : [ubuntu] 7.04 to 7.10



tog_benson
July 5th, 2009, 05:36 PM
Due to childbirths and other life events, I am behind in my server maintenance.

As I understand it, I need to get my 7.04 server to 7.10 before I can think about getting to 8 or 9.

I have seen posts and tutorials demonstrating that "do-release-upgrade" could make the upgrade easy.

When I run that however, I get an error (excerpt: "line 98, in extractDistUpgrader)

I downloaded the 7.10 alternate cd before reading that you can't boot from the cd and upgrade; it has a graphical upgrade tool. My server has no gui.

I really don't want to hose the machine. Does anyone have any tutorials out there for this? I have googled endlessly with no clear solution.

I am currently up-to-date (as much as I can be) using these sources:

deb http://old-releases.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-backports main/debian-installer
deb-src http://old-releases.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

snowpine
July 5th, 2009, 05:49 PM
The official answer: https://help.ubuntu.com/community/EOLUpgrades

Unofficial answer: Now is a good time to start fresh, with a clean install of Ubuntu 8.04 (long term support) or 9.04 (current).

tog_benson
July 5th, 2009, 05:56 PM
Man, I do not have the time to reconfigure a new server and migrate all my data. That sounds so Microsoft.

snowpine
July 5th, 2009, 06:11 PM
Another, brute-force, option, is to simply change all of the 'feisty' to 'gutsy' in your /etc/apt/sources.list, then 'sudo apt-get update && apt-get dist-upgrade' ... that is sort of a "Debian way" to do it.

tog_benson
July 5th, 2009, 06:52 PM
That sounds appealing. I think I used to do that in the debian days.

Any guess on the odds of success/failure?

snowpine
July 5th, 2009, 07:21 PM
I used the "debian method" to upgrade Fluxbuntu 7.10 to 8.04 (7.10 was not in old-releases at that time however), no problems. Ubuntu is based on debian of course. But, I have not tried it personally going from 7.04 to 7.10. Good luck! :)

oldos2er
July 5th, 2009, 10:17 PM
You should look here for 7.10 repositories, since it's reached its end-of-life support: http://old-releases.ubuntu.com/releases/7.10/

aysiu
July 5th, 2009, 10:26 PM
Man, I do not have the time to reconfigure a new server and migrate all my data. That sounds so Microsoft.
You don't have separate /var and /home partitions?

A reinstall really shouldn't take that long, really. And if you install 8.04, you will get support for five years, since it's a server (only three years for the desktop/laptop), and I believe there is support for upgrading directly from an Long-Term Support release to another LTS.

Sef
July 6th, 2009, 12:21 AM
...and I believe there is support for upgrading directly from an Long-Term Support release to another LTS.That is correct. People could upgrade directly from the LTS Dapper Drake, 6.06 to the LTS Hardy Heron, 8.04. That is a feature that will be kept for future LTS releases.

scorp123
July 6th, 2009, 12:40 AM
Any guess on the odds of success/failure? I did that here yesterday: from 8.10 to 9.04 using the "Debian way". It worked ... but there were a few hickups that I had to fix along the way.

I use lots of third-party repos. And using "do-release-upgrade" disables them and only upgrades the core OS, leaving it to the user to upgrade any third-party apps to the current release.

I don't like that. But yes, it would be an advantage and disabling third-party repos does help to avoid problems.

Nontheless I went ahead without disabling them. So I removed my old Ubuntu 8.10 /etc/apt/sources.list and /etc/apt/sources.list.d/*.list files and replaced them with files from a working Ubuntu 9.04 installation.

I downloaded the keys for each extra-repo and I went ahead:

sudo apt-get update
sudo apt-get dist-upgrade

It downloaded several 1000 files and 1.6 GB of data.

But during the "dist-upgrade" process something went wrong: two packages wanted to overwrite the same file, "dpkg" aborted.

I removed the two offending packages ... and voila, "dpkg" continued. If "dpkg" ever aborts for some odd reason: read the error message. It will usually tell you precisely what you need to type to get it going again.

When I rebooted I wanted to get rid of the old 8.10 kernels that were still around, and "apt" complained about "505 packages not upgraded". Odd. When I tried to trigger the upgrade it now complained about the two missing packages I had removed earlier because of file conflicts. "apt" suggested I run the "-f" option, which means this command:

sudo apt-get -f install

After that command "dpkg" resumed as expected and configured all packages that were not yet completely upgraded.

So my upgrade from 8.10 to 9.04 wasn't exactly 100% smooth ... but manageable. Just do what "apt" or "dpkg" say if they complain about anything.

So in my opinion it should be possible for you to upgrade your installation using "the Debian way". It's just that there might be some minor hickups. No big deal though if you just read and follow the instructions that "apt" or "dpkg" spit out.