If you want to reinstall and reconfigure all packages in your Ubuntu just type the following command in terminal. sudo dpkg-reconfigure -phigh -a
Get tips on any operations or functions done on or by the linux operating systems, debian, ubuntu, fedora etc..