Sometimes we make changes to UDEV rules and need to make those changes active without the need to reboot your system. To do this you can use the commands below.
sudo udevadm control --reload-rules
sudo udevadm trigger
Using
flatpak is very useful for when you need a package or few and not pollute your main or any machines file system.
Removing unused packages is simply performed by using the command below in your terminal fo choice.
flatpak uninstall --unused
Verifying and/or repairing your flatpak packages can be done using the command below.
flatpak repair
The following are the commands I use to update my Debian (or any
apt) system. These commands will help you update your system and then clean update after, including any cruft.
sudo apt update
sudo apt full-upgrade
sudo apt autoremove
sudo apt purge `dpkg --list | grep ^rc | awk '{ print $2; }'`
sudo apt clean all
Hope this helps you update then clean up afterwards.