You are not logged in.
According to 'man apt' there is no "apt clean"
^ Sector, you have under
man apt-get
searched?
Offline
Hey more tricks ncdu can be used to see where and how much is used. Maybe dekete that 100mb gnucashdocs .
man journalctl has a section about --vacuum to regulate and or temporarily shrink you systemd journal logs via --vacuum-size . length of time is --vacuum-time
man journald.conf tells how to set permanent size limits
Offline
Sorry, I missed this thread earlier.
sudo apt-get autoclean
should remove only those downloaded package deb files from /var which are not installed anymore (also removes previous versions).
sudo apt-get autoremove
removes those packages from the system that were installed automatically to satisfy some dependency and no longer needed. This will not remove the deb files from /var, but should be safe to use this on a stable system, it is designed in a way that should not break anything.
sudo apt-get clean
should remove all downloaded deb files, and if you need to reinstall any of your packages, then you will need to redownload those again.
Last edited by ghorvath (2016-04-25 06:46:40)
Offline
sudo apt-get autoremove
[...] should be safe to use this on a stable system, it is designed in a way that should not break anything.
This is not correct.
See http://forums.debian.net/viewtopic.php?t=104157
I would advise using:
apt-get -s autoremove
& studying the output carefully before running the command again as root without the "-s" ("simulate") flag.
Offline
ghorvath wrote:sudo apt-get autoremove
[...] should be safe to use this on a stable system, it is designed in a way that should not break anything.
This is not correct.
See http://forums.debian.net/viewtopic.php?t=104157
I would advise using:
apt-get -s autoremove
& studying the output carefully before running the command again as root without the "-s" ("simulate") flag.
Sure thing, using -s is always safer, no question about that. :-)
However, the key sentence in that thread is "If you remove one of their dependencies". As long as you do not remove packages manually, you are safe. E.g. in my case I chose Bunsenlabs, because it is already a very slim system and I do not need to remove bloat from it. Therefore I do not remove packages manually, so I just run autoremove regularly.
Anyway, you are right that for an inexperienced user it would be safer to run everything with -s first.
Offline
hmmm I'll have to stop using aptitude now.
Why, it's a perfectly fine package manager. Somewhere around Lenny or Squeeze, it stopped being cool to use aptitude, because it's really not leet enough. So alternative explanations arose as to why this is the case. None of which made a whole lot of sense, all of aptitude's "deficiencies" are easily configured away. I would continue using it if you're used to it, it seems like this apt is gonna take a while to become as feature rich.
Offline
Hi el_k
Actually ... I didn't stop. Old habit ... it just kept on being here. Same as apt-get it does things better then apt.
Of course, that's an opinion.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline