[SOLVED] move old software to new but same Ubuntu install
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was almost finished with configuring Ubuntu 20.04 (two days) when the screen went dark and I could not get a good reboot. Unable to fix it, I installed 20.04 on a different hard drive. The linux version on the old system (left unchanged) is newer than the more recent install: new is 5.8.0-38-generic, old is 5.8.0-58-generic. I want to move all my changes to the old install to the new without having to make the individual changes again.
Thank you,
Last edited by abejarano; 01-19-2021 at 02:17 AM.
Reason: simplicity
Well you can, but if you have to ask, you can't expect it to go smoothly. In situations like this I just use the old /home on the new system - best done at install, but can be massaged pretty easily later. That's where all (most) of the important cutomisations you've done are kept. But you have to re-install all the software you've manually installed - they will (generally) pick up your customised bits auto-magically.
Been a few years since I did this on Ubuntu, but always worked fine. BTW, the kernel is the least of your concerns, don't worry about it.
dpkg keeps information about installed packages in /var/lib/dpkg/status, if you install all packages listed there you should get what you want with one caveat: there is no way to tell whether these packages were installed automatically, not from this file anyway - you probably can glean this information from apt files but I have no idea how, and if you install everything manually autoremove will no longer work and eventually you might end up with some deadwood in your system - not much, but still. If I were in your shoes I would at least compare lists from the two systems, remove all matching entries and then have a good look at what's left before feeding it to apt-get.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.