Site Tools


start:orphanedcleanup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:orphanedcleanup [2022/05/18 00:31] peterstart:orphanedcleanup [2023/09/14 20:47] (current) peter
Line 1: Line 1:
 +DATE CHECKED THIS PAGE WAS VALID: 14/09/2023 
 +
 On testing it is possible a package is removed that you have installed, due to some issue with the package or that is is abandoned. For this reason it is a good idea to every now and again check that the packages on your system have not become orphaned and you still have a pretty clean system.  On testing it is possible a package is removed that you have installed, due to some issue with the package or that is is abandoned. For this reason it is a good idea to every now and again check that the packages on your system have not become orphaned and you still have a pretty clean system. 
 +
 +Note: You should keep a log of any orphaned packages you remove in case they are added back to testing, then you can install them again on the system.
  
 Its also worthwhile checking if any recommended packages are missing from time to time. Its essentially just checking that what your system has is logical and will be kept up to date by apt. By doing this you will reduce the amount of problems you have as well as avoid having to reinstall your OS clean because you are auditing it and keeping it under control. Its also worthwhile checking if any recommended packages are missing from time to time. Its essentially just checking that what your system has is logical and will be kept up to date by apt. By doing this you will reduce the amount of problems you have as well as avoid having to reinstall your OS clean because you are auditing it and keeping it under control.
Line 94: Line 98:
  
 I then reboot my machine and check everything is working. I recommend keeping the timeshift snapshot a few days in case you don't notice something broken right away. I then reboot my machine and check everything is working. I recommend keeping the timeshift snapshot a few days in case you don't notice something broken right away.
 +
 +-----------------------------------------------------------------------------
 +
 +Another thing that can happen is that packages get marked for manual install that over time you no longer need.
 +
 +You can check what packages are marked for manual installation by running:
 +<code>
 +sudo aptitude search '!~M ~i !~E !~prequired !~pimportant !~pstandard' 
 +</code>
 +
 +Or alternatively a less filtered option
 +
 +<code>
 +aptitude search '!~M ~i'
 +</code>
 +
 +You will have to check carefully if you want all the packages in there. Removing all of them without any thought would break your system and there should be no harm leaving them alone but if you do want to clean your system a bit its another thing to check. Output example:
 +
 +{{:images:manualinstallapt.png|}}
 +
  
start/orphanedcleanup.1652833864.txt.gz · Last modified: 2022/05/18 00:31 by peter