Swup - Software Updater for Trustix Secure Linux

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
__   _
  -o)/ /  (_)__  __ ____  __      Derek Winterstien
  /\\ /__/ / _ \/ // /\ \/ /      r.o.a.c.h.@.r.o.b.o.t.z...c.o.m
 _\_v __/_/_//_/\_,_/ /_/\_\      Trustix Secure Linux Guides
..............................................................................
        swup  is  the  SoftWare  UPdater  of  TrustixSecureLinux
  .------------------------------------------------------------------------.
 /                                                                          \
| It is written in Python along with its companion RdfGen, and can be        |
| used to keep your system up to date with very little effort.               |
|                                                                            |
| It features                                                                |
|   * installation and upgrades of packages                                  |
|   * automatic resolving of dependencies                                    |
|   * Poll-only fuctionality allowing you to see what it is to do            |
|   * strong authentication (using GnuPG)                                    |
|   * easy scheduling                                                        |
|   * multiple repositories                                                  |
|   * filter support allowing for separation of what packages are            |
|     accepted from each repository                                          |
|   * searching abilites both on file and package levels                     |
|   * displaying information of rpm's not yet installed                      |
|   * caching of downloads                                                   |
|   * use of HTTP proxies                                                    |
 \                                                                          /
  `------------------------------------------------------------------------`

swup <operation> [options] [args]

swup --list-upgrade  : find out what packages you need to update

swup --upgrade  : upgrade package

swup --upgrade --poll-only  : check dep and test before actual upgrade

swup --install  : install new package

swup --install --poll-only  : check dep and test before actual install


Check updates available for currently installed rpm packages on system:

 swup --list-upgrade

checking for updates looks like this...

root@boxen /usr/local/mohaa# swup --list-upgrade 
Fetching upgrade info
'http://http.trustix.org/pub/trustix/releases/trustix-2.1/i586/trustix/rdfs/latest.rdf'
Fetching upgrade info
'ftp://ftp.trustix.org/pub/trustix/releases/trustix-2.1/i586/trustix/rdfs/latest.rdf'
Your system is up to date.

You can use swup to install rpm packages not already on your system. For example, you decide to install the courier-imap package for mail. To install this package from the latest rpm symply type:

 swup --install courier-imap



swup + Trustix as a combination has proven to be somewhat disappointing. Often there are Trustix packages available that cannot be obtained or upgraded with swup. The exact reason for this is unknown.


Here are some examples of using swup:

  • Upgrade python package to latest.
 swup --upgrade python




Tue Sep 21 13:19:33 CDT 2004 Sun Apr 8 11:34:48 CDT 2007