DEBFOSTER(8) | System Manager's Manual | DEBFOSTER(8) |
debfoster
— weed
unnecessary Debian packages
debfoster |
[-acdefhiknopqrstvV ]
[--verbose ] [--version ]
[--help ] [--quiet ]
[--force ] [--mark-only ]
[--upgrade ] [--config
file] [--keeperfile
file] [--no-keeperfile ]
[--ignore-default-rules ]
[--show-keepers ]
[--show-orphans ]
[--show-depends package]
[--show-dependents package]
[--show-providers package]
[--show-related package]
[--use-tasks ] [--option
opt=val] [package1
...] [package2-
...] |
debfoster
maintains a list of installed
packages that were explicitly requested rather than installed as a
dependency. Arguments are entirely optional,
debfoster
can be invoked per se after each run of
dpkg and/or apt-get.
Alternatively you can use debfoster
to
install and remove packages by specifying the packages on the command line.
Packages suffixed with a - are removed while packages
without a suffix are installed.
If a new package is encountered or if
debfoster
notices that a package that used to be a
dependency is now an orphan, it will ask you what to do with it. If you
decide to keep it, debfoster
will just take note and
continue. If you decide that this package is not interesting enough it will
be removed as soon as debfoster
is done asking
questions. If your choices cause other packages to become orphaned more
questions will ensue.
Whenever debfoster
asks you about a
package, any of the following responses can be given:
y
’n
’p
’debfoster
to also
delete all packages that are only installed because this package depends
on them. A list of such packages, if any, is shown above the prompt.s
’debfoster
it will ask you again about this
package.h
’u
’q
’x
’debfoster
database, remove
unwanted packages, and exit without asking further questions.-v,
--verbose
debfoster
will show which packages have
disappeared, have become dependencies or (if Quiet
is enabled) have become orphans.-V,
--version
-h,
--help
-f,
--force
no
’
as the answer to all questions. It also installs any packages that seem to
be missing, thus forcing your system to comply with the
debfoster
database. Can have
‘interesting
’ results if you're not
careful.-q,
--quiet
yes
’
as the answer to all questions. Useful to create an initial
/var/lib/debfoster/keepers file or to recreate it
after changing the configuration file.-m,
--mark-only
edit
’ a keeper file by invoking
debfoster one or more times in a row. The changes can then be committed by
invoking debfoster with the --force
option, which
will delete/install any necessary packages. This is mainly useful for
scripts and frontends, but may be useful from the command line as
well.-u,
--upgrade
debfoster
-u
package
’
it will install or upgrade the packages specified on the command line and
try to upgrade all packages that it relies on.-c,
--config
file-k,
--keeperfile
filedebfoster
database to
use.-n,
--no-keeperfile
debfoster
database and start with
an empty list.-i,
--ignore-default-rules
debfoster
to ignore the
UseHold, UseEssential, MaxPriority, KeepSections,
and NokeepSections settings
in the config file (i.e., assume that any package can be an orphan). This
is a good option for those who really want to make sure their system is
squeaky clean. It's also useful when sharing or transferring a keeper file
between multiple machines where different config files can cause some
confusion. Properly used, -i
eliminates that
uncertainty.-a,
--show-keepers
debfoster
database.-s,
--show-orphans
debfoster
database.-d,
--show-depends
package-e,
--show-dependents
packagedebfoster
database that
depend on this package.-p,
--show-providers
packagedebfoster
-p x-terminal-emulator"
).-r,
--show-related
package-t,
--use-tasks
-o,
--option
opt=valSome aspects of the behaviour of debfoster
can be configured in the configuration file,
/etc/debfoster.conf. Options are specified as
Option
= Value
ANY
’ you can indicate that all
known
priorities should be considered too important to ask questions about.
These priority values are known to debfoster
(taken from the debian-policy package):
required
important
standard
optional
extra
debfoster
count these pre-dependencies as ordinary
dependencies. If you frequently update your packages you may want to keep
an eye out for pre-depended packages that have become obsolete.debfoster
count
these recommendations as real dependencies. Enabling this option will
enable you to better manage packages which were installed because another
package recommended them.debfoster
count these
suggestions as real dependencies. Using this option will result in even
fewer questions being asked.debfoster
will treat
them as if they were normal packages. Tasks cannot be removed but marking
a task for removal will stop debfoster
asking
questions about it.precious
’ sections.libs
’
is a good candidate, as most libraries debfoster asks about are leftovers
from old packages.-v
on the command line. It will make
debfoster
show which packages have disappeared or
have become a dependency.-f
command line option. All orphaned packages
are scheduled for removal without asking any question.-q
command line argument) in your
configuration file more or less defeats the purpose of
debfoster
although the
KeeperFile is still kept up-to-date.Send reports to the Debian bug tracking system:
http://bugs.debian.org/debfoster
with as much
information as you can gather (error messages, configuration files, versions
of dpkg/apt, whatever might be relevant). A tool such as reportbug might
come in handy.
2001-06-10 | Debian GNU/Linux |