
Originally Posted by
steve234
I imagine the list of installed / special things may be quite long!
No need to write down a list of installed programs. APT has that. Why not use it?
Code:
apt-mark showmanual > ~/manually-installed
will save the list. Backup your HOME and do a fresh install. Put your HOME back, then feed that list into apt to install those programs. Some won't exist anymore.
All this should take 30-45 minutes.
- 15min fresh install
- 15min restore HOME
- 15min reinstall old packages
I assume you do backups nightly, so just add the apt-mark command to that effort/script before you backup your HOME.
BTW, I'm just now moving from 16.04 to 18.04 on my servers. 20.04 needs a little more simmer time to me. Did a release upgrade twice in the last few days. Both had some pain. Both refused to boot when completed and needed some kernel help. I have until April to get them all migrated. Some parts went smoother than expected. Like a mixed box of chocolates. We never know what we will get.
Bookmarks