I know upgrades are supposed to work, but they almost never go 100% percent right.
Use dpkg/synaptic to backup your installed packages and backup your /home...then commit to the time to going fresh install. If you use LTS releases, you'll only be doing it at most every other year.
I've had very good luck lately simply adjusting my sources file and typing apt-get dist-upgrade lately - though this is using Mint as the base distro (which in turn uses Ubuntu too).
Note: Generating DH parameters is gonna take a while. If you are implementing this on a slowish machine like a Raspberry Pi, you might want to use a faster machine to do the DH step, then copy file the key over.
Note to the mods: this comment breaks formatting on mobile, forcing the min page width to be much wider than usual and even more difficult to read on a phone.
I leave my keys in the car sometimes when I'm running errands in my home town. I care a whole lot more about my network security at home than I do my car. It's just a car.
Yeah, but the American dreams is to have one good idea and milk it for the rest of your natural life, then pass on the rights to your offspring who can milk it...and so on.
That way you can exponentially create useless people.
Yeah, but the American dream does not function to much longer this way. Because more and more people are born in bad situations, they have to take jobs to earn some money to start -- sign such contracts ... and you are enslaved.
Even if you get rid of these ... Than you have a good idea, only to find, that your idea violates dozens of corporate patents ... and your idea is waste.
Thus the dream is just a shadow of the past ... and propaganda for a system that does not hold its promises any more.