![]() ![]() On systems that have been running for some time you might consider removing or compressing old log files. xsession-errors: mknod .xsession-errors c 1 3 Output to what would be files can be caused to go to /dev/null in some cases where a symlink does not work as in this example redirecting output from. Use the following line as your /etc/nf configuration file in order to not save logs but output them on virtual terminal 12: Sort installed packages by size: dpkg-query -W -showformat='$' 'unexpand -all' \ Using dpigs ( debian-goodies): dpigs -n50 Take a look at the Debian Cleanup Tips at. Purge obsolete configuration files: aptitude purge ~c To list packages in increasing order of size: aptitude -F '%I %p' search '~i'|egrep '^ ?* B'|sort -n To install without recommends but not uninstalling other recommends: aptitude install -R -o Aptitude::Keep-Recommends=true ![]() To list manually installed packages: aptitude search '~i!~M' To list upgradeable packages: aptitude search '~U' Using aptitude to list uninstalled recommended or suggested packages: aptitude search '~RBsuggests:~i!~i' Check /var/log/aptitude for definitive information. These commands only provide one possible explanation. Tries to work out why installing package1 would drag in package2. Shows why package1 may have been installed. In lenny, aptitude has "why" and "why-not". Doing this after upgrading aptitude should give you access to this new feature. To list packages that take up most of the disc space with aptitude into visual mode, select Views → New Flat Package List (this menu entry is available only after etch version), press l and enter ~i, press S and enter ~installsize, then it will give you nice list to work with. ![]()
0 Comments
Leave a Reply. |