Ask your questions here.
Post a reply

cleaning up the package management

Mon Mar 07, 2016 12:21 am

I think i remember all commands, but if i missed something, please let me know

apt-get clean
apt-get autoremove

aptitude purge ~c

deborphan | xargs apt-get remove --purge -y
deborphan --guess-all | xargs apt-get remove --purge -y

Re: cleaning up the package management

Mon Mar 07, 2016 1:27 am

Good luck nadir, doing any of those things without caution! (e.g. first use the -s switch for apt and note what will happen)

Re: cleaning up the package management

Mon Mar 07, 2016 1:44 am

Kinda yes.
On the other hand i never ran into serious problems (or any problems at all).
The deborphan stuff i first run without the pipe to apt-get and have a look, of course.
But the rest?
Even if stuff gets removed, reinstall it and that's it. No?

Re: cleaning up the package management

Mon Mar 07, 2016 4:02 am

Depends if it takes configs with it

Re: cleaning up the package management

Mon Mar 07, 2016 5:47 am

Yes and no.
Most configs, as long it's not a server, are stored in the users home. The few changes in etc can quickly be done again.
Second: backups. :-)

Like said: I never ran into any serious problems.
Post a reply