Upgrading from 7.04? How?

Asked by uwa45

Hi, i downloaded ltsp-5.0.7 for ubuntu 7.04 from a link on lunchpad .net.now my question is how do i go about installing it using the downloaded package.

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ltsp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
jetbundle (mbrane) said :
#1

Why don't you install it in the standard way off the repositories, using adept, synaptics, apt-get or your method of choice?

Revision history for this message
uwa45 (uwa45) said :
#2

i tried that method but i got " couldn't find package ltsp-server-standalone.

Revision history for this message
jetbundle (mbrane) said :
#3

How about a search in synaptics/adept? Sometimes package names are slightly unexpected.

Revision history for this message
Tom (tom6) said :
#4

7.04 is no longer supported and the repositories have gone. Please upgrade to 8.04 (for longer term support) or 8.10, but prepare to upgrade again soon if you do as 9.04 is nearly here.

https://help.ubuntu.com/community/HardyUpgrades

Good luck and regards from
Tom :)

Revision history for this message
jetbundle (mbrane) said :
#5

That's true. There's actually an old thread here how to to upgrade from an unsupported version.

Revision history for this message
jetbundle (mbrane) said :
#6

check the following:
https://answers.launchpad.net/ubuntu/+source/update-manager/+question/62184

It's a bit scetchy, but if you read through, you should be successful in upgrading.

Revision history for this message
Tom (tom6) said :
#7

Blimey, a very long thread and it's unclear which actions were wrong and which were the right ones. Also that seems to have been from 7.10 rather than 7.04 and so there are extra complexities this time.

I think to start with it would be a good plan if you could back-up your /home folder onto an external drive or dvd's or Usb. copying your entire /home directory should ensure you keep all your data and settings if things go wrong.

Please let us know when you've done that so we can procede

Good luck and regards from
Tom :)

Revision history for this message
Cruncher (ubuntu-wkresse) said :
#8

OK, several things:
- as 7.04 is no longer officially supported (and 7.10 soon won't be, either), I strongly recommend to upgrade to 8.04 LTS, to "get back on the train"
- 8.04 has long term support until April 2011, so for you it would probably be a better choice than 8.10 or 9.04 (unless you want to upgrade regularly at least once a year)
- if you insist on using 7.04, you can get access to the old repositories by adjusting your /etc/atp/sources.list. Essentially, you need to have your repositories point to old-releases.ubuntu.com, by adding these lines:

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-src http://old-releases.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-backports main/debian-installer

- with these changes you should be able to install ltsp regularly using apt/adept/synatpic. Note that the versions of these packages in that repository are rather old, so a system upgrade is strongly recommended.
- in case you need further/general help on installing/using ltsp, take a look here: https://help.ubuntu.com/community/UbuntuLTSP and https://help.ubuntu.com/community/UbuntuLTSP/LTSPQuickInstall . However, some package names relating to ltsp have changed since 7.04, so the documentation might no longer be accurate for that version.

Upgrading to 8.04 LTS:
=================
To upgrade your system, you generally have two possibilities. The simple method is to download the 8.04 CD and do a clean install. However, I believe you will lose all your configuration and user settings, and probably also your /home data. There might be a way around that, but I do not know it. I believe Tom knows more about that.

The other possibility is a standard, progressive system upgrade, which will keep all your configuration info, user info, user data, and info about installed packages. The disadvantage here is that you need to upgrade incrementally, that is, first upgrade to 7.10, then to 8.04, which means twice the data download from the internet, and twice the time it takes for the full upgrade.
The second caveat is, that you need to tweak one of your configuration files manually, since the old package archives are no longer on the main Ubuntu server.
I am just now using this second method to upgrade my 7.04 on a spare computer to 8.04 via 7.10, and it seems to work nicely. Here's what you need to do for that method:

How to safely upgrade from an outdated Ubuntu version (7.04->7.10)
----------------------------------------------------------------------------------------------------
jetbundle posted a link to a lengthy thread which contains information on how to do that. Forget that. :o) It contains a lot of experimental and trial-and-error information and might be impossible to understand for the uninitiated.
It *does* contain a working solution in the end it seems, but there is a slightly simpler method I just tried myself. Note: all commands given below you need to issue using a "Terminal/Console", which you can open in Applications->Accessoires->Terminal
1. Edit your sources.list with the command:
sudo gedit /etc/apt/sources.list
2. Comment out all lines in that file, by adding a '#' at the start of every line that starts with "deb" or "deb-src".
3. At the end of the file, add these 6 lines already shown above:

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-src http://old-releases.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-backports main/debian-installer

4. Save and exit
5. Run:
sudo apt-get update
6. Run:
sudo apt-get upgrade
7. If the last command did install some upgrades (especially kernel upgrades), it might be a good idea to reboot now.
8. Run:
sudo do-release-upgrade
9. The last command will probably complain about local repositories, and will ask about replacing all "feisty" with "gutsy" in sources.list. Answer "y". The command will then fail, but that's ok.
10. Edit the sources.list again:
sudo gedit /etc/apt/sources.list
11. Uncomment (by removing the leading '#') all lines where you have put a '#' in front of in step #2
12. Delete the 6 lines you inserted in step #3 at the end of the file (anything containing "old-releases")
13. For the whole file, replace all occurences of "feisty" with "gutsy" (also for words with a dash inbetween, e.g. "feisty-security" with "gutsy-security")
14. At the end of the file, add this line (the "feisty" here is intentional):
deb http://old-releases.ubuntu.com/ubuntu/ feisty-backports main/debian-installer
15. Save and exit
16. Run this command again:
sudo do-release-upgrade
17. If everything worked correctly, the upgrade should now commence.
18. After the upgrade you can delete the line added in step #14.
19. Reboot if the upgrade completed successfully. If you're running low on disk space, run this command before the next step:
sudo apt-get clean

For the second part of the upgrade, from 7.10 to 8.04, you can use the regular method, either with apt-get, or with the normal Update Manager.
This guide will probably have to be adapted once the support cycle for gutsy ends on April 18th, 2009.

Good luck!

Revision history for this message
Cruncher (ubuntu-wkresse) said :
#9

There's also a more concise and user-friendly guide here: https://help.ubuntu.com/community/GutsyUpgrades

Revision history for this message
uwa45 (uwa45) said :
#10

hi all,thanks for your suggestions.but am still with the problem though it is different now. i followed the suggestion by cruncher and did a system update alone.i did not upgrade to 8.10.after the update i was able to do apt-get install ltsp-server-standalone openssh-server and it was all successful.but i could not find the ltsp folder in /etc directory to configure the dhcpd file. am working with a system that has one NIC card.

Secondly, i downloaded ubuntu 8.10 cd iso and burned it to cd but if i try to install with it, it does not work it just remains on the selection menu screen. is it that i didn't burn it well or ??

Revision history for this message
Tom (tom6) said :
#11

imo, if you have successfully got 8.04 (HardyHeron) working with only a couple of things wonky then sticking with that seems a good plan. The 8.10 disc should get you to a working desktop through the "Try Ubuntu without installing anything" option but if it doesn't then something may well have gone wrong. Fixing the couple of things should be fairly easy especially using the forums :)

8.04 is worth sticking with because it has Long Term Support whereas everyone with 8.10 will have to upgrade again in a few days!

There's some info here that might reveal what could have gone wrong
https://help.ubuntu.com/community/BurningIsoHowto
but really that's just a curiosity now.

Good luck and regards from
Tom :)

Revision history for this message
Cruncher (ubuntu-wkresse) said :
#12

So you did upgrade your system to 8.04?

If ltsp-server-standalone installed successfully, there should be a /etc/ltsp folder. Please post the out put of this command to check whether it is really installed:
dpkg -l|grep -i ltsp

Revision history for this message
uwa45 (uwa45) said :
#13

this following was out-putted

root@user-desktop:~# dpkg -l|grep -i ltsp
ii ltsp-server 5.0.7.1
Basic LTSP server environment

root@user-desktop:~#

I guess this means that the package was installed.but no folder is in the /etc directory.
I did not upgrade to 8.04 or 8.10. i only editted the source list and changed the repositories to old-releases. then i did a system update check and installed the updates before installing the ltsp package.
I did not even so apt-get upgrade.

Revision history for this message
Cruncher (ubuntu-wkresse) said :
#14

The example config file seems to sit in another package. Please run:
sudo apt-get install ltsp-server-standalone openssh-server

Revision history for this message
jetbundle (mbrane) said :
#15

Regarding your CD that gets stuck, did you stick it into another computer and check? If it doesn't work there either, then the download went wrong (happened to me once). You can also check the md5 sum. Or do that hack in the thread I suggested to upgrade instead (but that may be more bothersome than a fresh install).

You should really upgrade to a supported version of Ubuntu. Not only will you continue to have troubles like the ones you have now, but also the unsupported versions don't get security upgrades, meaning your system may be vulnerable to security breaches. Best is always to either upgrade to the most recent version (a few weeks after it has been released, if you're conservative) or to the most recent LTS version if you want something more stable.
Also you should enable daily updates, both for bug fixes and security fixes, and also to tell you when there's a new version available.

Revision history for this message
Tom (tom6) said :
#16

I tend to do weekly or monthly updates but try to beat it by choosing a time convenient for me, daily can be a bit much sometimes.

Good luck and regards from
Tom :)

Can you help with this problem?

Provide an answer of your own, or ask uwa45 for more information if necessary.

To post a message you must log in.