so i need to upgrade an ubuntu server 10.04 to version 16, i know its impossible to upgrade from version 10 to 16 directly as they are more than one version apart but this is not the problem the problem is that the server has to stay offline and so i cannot use online update/upgrade.
after doing some research i found out about apt-offline but the problem is that this package has to be installed both on my online machine(ubuntu 22) and my offline machine but i just cannot install it on ubuntu 10.
what i have done is i have downloaded apt-offline and it's dependencies using
sudo apt-get install --download-only apt-offline
and i have transferred the .deb file to my ubuntu 10 machine but the problem is that when i run
sudo dpkg -i {package-name.deb}
i get the following error :
dpkg ununderstood data member {something}.tar.xz
after doing some more research i found out that this problem could be resolved by updating dpkg and i guess my online machine has downloaded a very recent version of the package so my older machine cannot parse it. so this has become sort of a chicken and egg problem, any suggestions how to solve it?
also i found out that apt-offline depends on python 3 which is not pre installed on ubuntu 10, does the deb file that i have downloaded also include python3?