swim - chapter 9
UPGRADING WITH APT

usage: swim --apt

options: [-xyz] [--upgrade] [--dist_upgrade]

apt-get provides powerful methods to change an installion. When these methods are called using --apt, swim will not allow you to proceed until you are absolutely sure this is what you want to do. Before using these methods do a ``swim --apt --update'' so that apt-get knows the newest versions of available packages. This major mode requires a combination of -x, -xz or -xyz to be used along with either --upgrade or --dist_upgrade. -x used alone will simulate what would happen if -xz or -xyz were used (also see -xyz above).

--upgrade is somewhat similiar to doing ``swim -qatxz'' except that it is a more intelligent method because apt does some behind the scene calculations in regards to package relationships, in fact the ``swim -qatxz'' approach will provide totally different results, or maybe these were the results you really wanted. ``swim --apt --upgrade -xz'' is the prefered, proper, and built-in way provided by apt-get to install the newest versions for all packages installed on your system. This method will not install any newer versions of packages which would change the install status of other packages. Note: It is not recommended to combine the query option -a with -xz or -xyz, but combining the query option -a just with -x can be educational.

--dist_upgrade combines an --upgrade with the installation of packages which are not installed. This method carefully examines dependencies, and resolves conflicts, and given these factors it will upgrade the most important packages before considering the installation of less important packages. Less important packages will be installed only if there are not any conflicts.


swim - Copyright © 1999 Jonathan D. Rosenbaum
Contents; next; back.
12 March 1999
Jonathan D. Rosenbaummttrader@access.mountain.net