fou4s - Fast OnlineUpdate for SuSE Copyright (C) 2002 Markus Gaugusch Features: ========= * Tested with 7.1, 7.2 and 7.3 (automatic release detection) * Gets the package descriptions from ftp server (Can be set in /etc/fou4s, or using the --server option). This is on demand only and not every time. Only changed/new package descriptions are actually downloaded. * Compares downloaded description files with installed RPMs and prints differences (Version number) * Support for external http URLs (e.g. NVidia drivers) * Downloads and installs the RPMs using wget (with continue option - aborted downloads will be resumed) * Everything except real upgrade can be done as normal user. (if the RPM and package description directory are writeable for the user) * Signature checking - Non-SuSE packages will be rejected * Runs SuSEconfig after an update (can be turned off) Bugs/Missing features: ====================== * Package descriptions can't be downloaded with set ftp_proxy (is unset automatically). If you can use http servers it works, though. (http://ftp.gwdg.de/pub/... for example) * Update descriptions are very ugly - The text in the package descriptions is so badly formatted, that I should do some pretty printing to make it user-friendly readable. * Package description on the ftp server are in update/patches/* and update/patches.cont/* - the patches.cont directory exists only in 7.3, but we check it for >=7.3 (for safety), which gives a small error when updating the package descriptions. This is harmless, though. Screenshot ========== fou4s@phoenix:~/fou/fou4s-0.0.4> ./fou4s -h fou4s v0.0.4 (c) 2002 Markus Gaugusch usage: fou4s [task] [options] task: -u, update Get new package list from FTP server and exit -i, upgrade Compare package list with RPM db and get/install packages -e, donothing Eveluate, if new updates should be installed (no dl/install) --server Select ftp server to use (interactive) options: -a Install every package immediately after downloading -c Do not run SuSEconfig after update (requires -i) -d Check packages and download RPMs (no installation) -f custom.rpm Try to process the given files. Option -l shows available RPMs -g Skip GPG signature verification (beware!) -h, --help, -? Show this help screen --interactive Interactive mode (ask before downloading/installing a package) -l List available RPMs (for use with -f) -n Do not attempt to download RPM files --nodeps Don't make RPM dependency checks (DANGEROUS!) -o Skip optional packages (process everything else) -q Quiet mode (for cron-jobs) -r Remove downloaded packages after successful update -s Only process security updates (nothing else) -u Update /etc/suseservers (only valid with --server) -v Verbose mode (twice for other effect) Download ======== You can get fou4s at http://www.gaugusch.at/fou4s The tar.bz2 can be used to create an RPM package: rpm -bb fou4s-0.0.4.tar.bz2 The RPM file is stored in /usr/src/packages/RPMS/i386/fou4s-0.0.4-1.i386.rpm Actually this should be noarch, but I haven't figured out yet, how to do so. I recommend to use the RPM, because it comes with a good configuration file, and everything is preconfigured. Config File =========== The following files are tried to be used as a config file: /etc/fou4s ~/.fou4s ./.fou4s # this has the highest priority and is the default It is automatically created, if you use the --server option to select another server. Quick Start =========== tar.bz2 version: tar xIvf fou4s-0.0.4.tar.bz2 cd fou4s-0.0.4 ./fou4s -u # update package descriptions ./fou4s -e # check for updates, but no install (evaluation) ./fou4s -i # install all available updates RPM version: rpm -ivh fou4s-0.0.4-1.i386.rpm /usr/sbin/fou4s -u /usr/sbin/fou4s -e /usr/sbin/fou4s -i Try as non-root first, if you are unsure what happens. If you use the RPM version, the user must have write permissions in /var/cache/fou4s/* Contributions/Thanks ==================== Thanks to Christian Erpelding for some enhancements to 0.0.1 - I had most of them already in mind, but it's good to know, what other people want :) Thanks to Kilian Krause for beta testing 0.0.3 and some suggestions for functionality. Contact ======= http://www.gaugusch.at/fou4s Markus Gaugusch