On 07/26/2017 05:26 PM, evade. wrote: > On 26/07/17 15:22, Ed Greshko wrote: >> On 07/26/2017 12:42 PM, evade. wrote: >>> Does anybody know the best way to upgrade from Fedora 25 LXDE to Fedora 26 LXQt? >>> I've not found an upgrade path documented anywhere. >>> >>> I'm not concerned about leaving configuration data behind, but would like to >>> clean up unnecessary packages after the transition. >>> >>> Rebuilding with F26 LXQt and restoring from a backup isn't a viable option for me. >>> >>> (FYI: I recently asked this question in the Fedora lxqt mailing list and while >>> there were two responses, nobody was sure and it was suggested I ask here.) >> >> >> I think what you are basically saying is that you are currently running F25 with an >> LXDE Desktop and would like to upgrade to F26 and end up with a LXqt Desktop. If >> that is a correct assessment I would do the following.... >> >> 1. Upgrade from F25 to F26. >> >> 2. Install the LXQt desktop by "dnf group install "LXQt Desktop" >> >> 3. Remove the LXDE desktop by "dnf group remove "LXDE Desktop" >> >> Looking at the man page for dnf you'd see... >> >> dnf [options] group remove <group-spec>... >> Mark the group removed and remove those packages in the group from >> the system which are neither comprising another installed group >> and were not installed explicitly by the user. >> >> You may run into a few minor issues along the way. In that depending on how you >> installed initially your system may not have "LXQt Desktop" marked as installed. >> And, I don't know what display manager is used by each Desktop Environment so it is >> possible you may have to manually adjust that after the removal of LXDE. >> >> If you have the time and resources you may want to create a Virtual Machine that >> mimics your current system and perform the steps to verify it works as I think it >> should. :-) >> > > Thanks Ed. > That's helpful information > > I haven't had good experiences trying to remove package groups which were installed > as a part of an image - I originally installed the LXDE spin of Fedora 25 you see. > > However I'll give it a go! > > > As it turns out I do actually have a virtual machine mimicking the "production" > one. For some odd reason it only boots in to an old kernel in KVM (the newer > kernels crash in an odd way - no trace is left after reboot even with debug options > on) but I'll have to investigate that further in another thread. > > I had nothing to do, so I ran my suggestion in a VM. 1. I did a netinstall of F25 LXDE to a VM with few added items like libreoffice. This showed 1291 packages installed. I took note that it was using lxdm as the display manager. I also lookup up info on LXqt and it seems to want to us ssdm for....so I took note of that. 2. I performed the upgrade to F26 via dnf. This added a few more packages so I now had 1330. 3. I did a "group list" and saw that no Desktop Environment was listed as Installed. So, I simply did a "dnf group mark install "LXDE Desktop". 4. I then added LXQt with "dnf group install "LXQt Desktop". This added a few more packages and got me to 1518. 5. Then since I knew LXQt would want ssdm I ran "systemctl --force enable ssdm.service". 6. I then rebooted and logged in to the LXQt desktop. I checked and both Desktop Environments were marked as installed. 7. I then ran "dnf group remove "LXDE Desktop". It removed a few packages leaving me with 1449. 8. I then rebooted (probably didn't have to) and at the login screen I was left with only LXQt and Openbox as choices. So, it works just fine.... -- Fedora Users List - The place to go to speculate endlessly
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx