usage: swim --audit swim --status swim -C
If you are using apt with swim, and this
is the first time you are using it with your installation, check your live
installation with this major mode. This is a call to dpkg -C
(--audit), and will show any packages which are not properly
configured or installed. If you get any output, make corrections. The goal
is to get absolutely no output whatsoever because it is under these
conditions that apt will work properly. See the REMOVING AN INSTALLED PACKAGE - VIRTUAL OPTIONS
, section 9.8 with
-q to remove the offending packages. You may have to
remove the package by hand under unusual situations like when it is not
just dependencies (see -T
) between packages keeping the package
from being removed perhaps due to a broken script (see
--scripts
). In an extreme case you could manually remove the
entry for this package from the /var/lib/dpkg/status database,
and hunt down and remove all the files associated with the package with
swim's -l option. When you are done if you still want
some of the packages you removed, use apt to reinstall
them with swim's -xyz option. Also, apt
provides its own built-in method to clean up your system, and will provide
instructions, but you still may have to do some of the cleaning yourself
as discussed above.