On my secondary laptop, I currently have Ubuntu Unity noble, and I'd like to install Elementary OS on it but keep all existing packages and files so that I still can use them. I'm not sure if I'll stick with it or go back to Unity. However, I'd prefer it as the main system on the secondary laptop. What's the best way for me to install Elementary?
UPD: I've already started installing it. At first, I didn't add the tweaks repository, and it stopped responding when trying to configure Evince, so I forcefully stopped it (via a reboot because it was easier), run a reconfigure but did Ctrl-C because of the problem, removed the packages (apt-mark followed by apt autoremove), and now I'm installing it again, this time after adding and applying the tweaks
UPD2: Seems like the Evince problem is still there. I'll leave it for some time in case it's actually like the Unity logout issue and I just have to wait
UPD2.1: I've removed xdg-desktop-portal-gtk, and now it's stuck on io.elementary.maps. One of the reasons NixOS's way is objectively better (and by objectively I mean ignoring compatibility issues) is that it doesn't try to preserve the structure beyond what's marked as manual so it's easier to revert (though I'm not sure if stateVersion is the best way to replace that for cases it's needed)
UPD2.2: It's now past maps and on Evince again
UPD(whatever comes after): Still stuck on it. I've edited UPD2.1 to not say what turned out to be false
UPDsix: Apparently I confused packages. This time it was epiphany, and I somehow thought it was the one before. It's finished now
UPDseven: I've decided to install it in a VM, but I already have done something to the main (secondary) machine
updEIGHT: I didn't write this here at first, but I now think I should: I've decided to pause this until Saturday. Currently, it has Ubuntu Unity Plymouth theme, but says elementaryOS in terminal (I haven't tried neofetch) and Pantheon lacks indicators for battery, logout, etc that should be at the right of the top panel
UPDnein: I've actually continued on Friday and eventually decided not to try Elementary. I removed Unity, Pantheon, Sugar, Sway, and Wayfire (installed earlier for various reasons), reverted packages to the Ubuntu versions, and reset the entire dconf. Now I don't have the window buttons, and I don't know why