Upgrade Legacy OpenSUSE11.1 to latest version without System Crash

Hi,

I have a customized application developed on OpenSUSE 11.1 which uses legacy perl packages. Here is the list of packages that were installed on my system
https://metacpan.org/pod/Bundle::OpenXPKI along with the Apache and MySQL server.

When i try to install to OpenSUSE Leap 15.1 or 15.2. It removes all the legacy packages which are required for my developed application. How can i update my existing distro 11.1 to the latest version?

Regards

I do not think you can ugrade over such a big version gap by any method other then a fresh installation. Any extra packages should then be installed extra. When they are from the standard repos you could do that during installation, but you can also do it later of course. And when they are from other sources, you have to find out if you can find the versions that work with Leap 15.2.

BTW. Apache and MySQL (as MariaDB) are available in the standard repos. Easy to add by installing the LAMP pattern (you then get PHP also).

If you want to keep legacy versions of anything, they should be in /opt with the binaries in something like /opt/perl<n>/bin, libraries in something like /opt/perl<n>/lib etc. There may be some specific information in a perl manpage or wiki recommending the best way to do this. I presume there is some sort of hierarchy to these packages in 11.1 which you can replicate in /opt.

Upgrading from 11.1 would be a very long and difficult path.
Anyone would highly, highly recommend that you insead install new with new apps and migrate your data as needed.

Before diving deeper…
You first need to inventory everything on this machine.
What apps are installed?
Where did those apps come from?
If an upgrade goes badly or you just decide to install new, can you collect source or new package sources for every app running on this machine?
Does this machine provide network services (various things other machines use like fire shares, DHCP, DNS, routing, network authenticaiton, etc)?
Is any of your data stored in databases? If so, then you will need to know how to migrate your data separately from the main OS upgrade.
Some server applications like an Apache web server won’t likely upgrade easily on its own and also will need to be upgraded or migrated separately.
Consider doing any upgrade in a virtual machine because you’d have many, many more options to recover and retry upgrade steps, plus backup options to preserve your data. To do your upgrade virtually, you’ll need to become familiar with a virtualization technology like Virtualbox or MWare Player. Some virtualization like KVM, Sen, etc might be a bit more difficult but can be done.

Once you’ve inventoried your machine, if necessary you can ask questions about your detailed upgrade or migration strategy.

If you do decide to upgrade, it’ll take a long time but the following contains all the old repos you’ll need to do your upgrade.
Note all the different versions you’ll need to step through one at a time before you’ll be at today’s 15.2… It’s a long slog.

https://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/

Ask questions.
Don’t guess.
And, allow for mistakes or things you didn’t think of.

TSU