Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Upgrading very old OS

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
circus78
Posts: 35
Joined: 2012-09-14 08:47

[SOLVED] Upgrading very old OS

#1 Post by circus78 »

Hi,
I would like to upgrade an old Lenny installation.
When I run "apt-get update", I get this:

Code: Select all

# apt-get update
Get:1 http://archive.debian.org squeeze Release.gpg [1655B]
Ign http://archive.debian.org squeeze/main Translation-en_US
Hit http://archive.debian.org squeeze Release
Err http://archive.debian.org squeeze Release

Get:2 http://archive.debian.org squeeze Release [96.0kB]
Ign http://archive.debian.org squeeze Release
Ign http://archive.debian.org squeeze/main Packages/DiffIndex
Hit http://archive.debian.org squeeze/main Packages
Fetched 97.7kB in 0s (260kB/s)
Reading package lists... Done
W: GPG error: http://archive.debian.org squeeze Release: The following signatures were invalid: KEYEXPIRED 1520281423 KEYEXPIRED 1501892461
W: You may want to run apt-get update to correct these problems
How can I go ahead?
Thank you !
Last edited by circus78 on 2018-05-05 09:12, edited 1 time in total.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Upgrading very old OS

#2 Post by Lysander »

Backup your important files and do a clean install of Stretch.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Upgrading very old OS

#3 Post by debiman »

shouldn't your sources be lenny then, and not squeeze?
anyhow, squeeze and i believe also wheezy went EOL. there's no upgrade path.
you really need to reinstall.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Upgrading very old OS

#4 Post by Wheelerof4te »

Even though Debian keeps old major versions in an archive somewhere, I don't think mirrors are kept for long after an EOL.
+1 for reinstall of Stretch.

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Upgrading very old OS

#5 Post by Bulkley »

The problem with dist-upgrading is that you will have to do it in sequence testing each version along the way. It is possible but tedious and fraught with difficulties. That you asked suggests that you should avoid it. So, I have to agree with the others above and recommend doing a backup and a fresh install.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Upgrading very old OS

#6 Post by GarryRicketson »

Postby circus78 » 2018-03-08 15:01
Hi,
I would like to upgrade an old Lenny installation.
It would help to know what the OP wants to upgrade to. If they want to upgrade to the current Debian stable (stretch) then I agree, it would be easier to just copy /save any data they need to save, then install the current stable version.
There are a few unknown factors here, like if this is a server, or what, ?
The hardware is a factor as well, anything newer the Debian 7 , might not be the best choice ,
Postby circus78 >>How can I go ahead?
Thank you !
With out more details on your hardware, and what the machine being used is for, etc. I can not / will not , suggest anything. Linux and Debian have changed considerably since Debian Lenny.
GPG error: http://archive.debian.org squeeze Release: The following signatures were invalid: KEYEXPIRED 1520281423 KEYEXPIRED 1501892461
W: You may want to run apt-get update to correct these problems
Did you run 'apt-get update', again like it said ? What were the results ? The message is clear, you need to get valid signatures, or just not use them, and that opens a can of worms on security issues.
As Bulkley said:
That you asked suggests that you should avoid it.
It sounds like it is something you are not capable of dealing with, and it will be extremely hard, if not impossible to find any one to help on a system that far out of date. More so if you are not able or willing to pay for a good ,qualified tech to do what needs to be done.

circus78
Posts: 35
Joined: 2012-09-14 08:47

Re: Upgrading very old OS

#7 Post by circus78 »

Hi all, sorry for retard :)
I am going to proceed with a fresh install of Stretch :)
Thank you very much!

Post Reply