How to upgrade Ubuntu 15.10 32 bit to Ubuntu 20.04 64 bit?

Asked by Navin Talati on 2021-01-10

I have got Ubuntu 15.10 32 bit on my system. How can I upgrade it to UBUNTU 20.04 64 bit? - through a terminal.
My system hardwares are competible for 64 bit version.
I tried different commands but could not succeed.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

What happens if you execute

sudo do-release-upgrade


Due to the fact that Ubuntu 15.10 is not supported any more, you may have to apply some additional steps, see e.g.

Maybe creating backup copies of your private files, doing a clean new installation of Ubuntu 20.04 and then restoring the files from the backup is easier.

Navin Talati (n-m-talati) said : #2


On executing “ sudo do-release-upgrade “, the OUT PUT comes as under:

navin@navin:~$ sudo do-release-upgrade
[sudo] password for navin:
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:

Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,254 kB]
Fetched 1,255 kB in 0s (0 B/s)
authenticate 'xenial.tar.gz' against 'xenial.tar.gz.gpg'
extracting 'xenial.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Ign wily InRelease
Ign wily-updates InRelease
Hit wily InRelease
Ign wily-security InRelease
Ign wily-proposed InRelease
Ign wily-backports InRelease
Ign wily Release.gpg
Hit wily InRelease
Ign wily-updates Release.gpg
Ign wily-security Release.gpg
Ign wily-proposed Release.gpg
Ign wily-backports Release.gpg
Ign wily Release
Hit wily InRelease
Ign wily-updates Release
Ign wily-security Release
Ign wily-proposed Release
Ign wily-backports Release
Hit wily/main i386 Packages
Ign wily/main i386 Packages/DiffIndex
Ign wily/restricted i386 Packages/DiffIndex
Ign wily/multiverse i386 Packages/DiffIndex
Ign wily/universe i386 Packages/DiffIndex
Hit wily/main Translation-en
Err wily/main Translation-en

Err wily/multiverse Translation-en

Err wily/restricted Translation-en

Like this all …..E R R O R S ………… as a very long list

Err wily-backports/restricted i386 Packages
  404 Not Found
Fetched 0 B in 6s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Updating repository information

No valid mirror found

While scanning your repository information no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.

Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here it will update all 'wily' to 'xenial' entries.
If you select 'No' the upgrade will cancel.

Continue [yN]
and on giving YES nothing is coming out as fruitful output! All ERRORS as above and finally concludes as under:

, E:Some index files failed to download. They have been ignored, or
old ones used instead.

Restoring original system state

Reading package lists... Done
Building dependency tree
Reading state information... Done

It is true that Ubuntu 15.10 is not supported any more. So as suggested by you (under referencefor EOL), I applied additional steps. No positive result.

Please guide further.

Navin Talati / 11-01-2021

Wipe the install off and do a clean install of Focal (Ubuntu 20.04). To upgrade from 15.04 you will need to upgrade ro 15.10 using a CD, then upgrade to 16.04 using the web. Then from 16.04 upgrade to 18.04 using the web, then use the web yet again to upgrade to 20.04

This will take absolutely ages and I doubt you'll have a happy OS with all the cruft from the old applications

A clean install will get you to where you want to be in one jump and feel like a new OS. You can restore your use files (Images / videos / music / whatever) from your backups. This will give you a cleaner OS and faster

Manfred Hampl (m-hampl) said : #4

"I applied additional steps. No positive result."
It seems that you didn't apply the important additional step (changing the repository server to "")

It is irrelevant, because there is no i386 (=32bit) version of Ubuntu 20.04 any more, just an amd64 (=64bit) version, and there is no possibility to upgrade from your current 32bit version to a 64bit version.

This requires a new install in any case.

Navin Talati (n-m-talati) said : #5

Thanks Sirs for #3 & #4.

You are right the ONLY fresh install will be the best and probably even possible. So I will follow that route only.

My existing O.S. (Ubuntu 15.10) is on a HDD having 3 partitions. TWO (2 nd & 3 rd) of them are of DATA only. On ONE (1 st) is occupied by the O.S.

As far as I remember, the OS is installed along /boot, /, /home and Swap internal partitions.

Could you please guide me how safely can I install a Fresh 20.04 LTS in that without touching DATA partitions?

Navin Talati / 12-01-2021

You'd need to use the "something else" option. Delete the non home partitions then recreate them. Set the current file system used as /home to be mounted as such but NOT be formatted. This should be OK.

Obviously run a final full backup before you start this in case of catastrophe. You can then easily restore the data.

Caution though, old configuration files for newer versions of applications may cause issues but you can wipe them as you go if you see issues

Manfred Hampl (m-hampl) said : #7

When installing a new Ubuntu system you will be asked how to format the hard disk (e.g. delete everything and use the full disk).
If you want to preserve the current /home, /boot and swap partitions, you have to select "something else" in that dialogue and then manually re-allocate the existing partitions in the same way as they currently are.

Due to the fact that any wrong key press (or mouse click) can lead to data loss, I strongly recommend creating backup copies of all your useful files to another medium, to enable restoring in case that something goes wrong.

Can you help with this problem?

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

To post a message you must log in.