Ask your questions here.
Post a reply
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## 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
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## 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)
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## 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?
golinux

- golinux
- Posts: 663
- Joined: Thu Nov 08, 2012 1:23 am

## Re: cleaning up the package management

Mon Mar 07, 2016 4:02 am

Depends if it takes configs with it
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## 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
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.