AutoUpdate
[ General |
Download and Installation |
Configuration |
FAQ ]
Getting AutoUpdate
The current version autoupdate-4.3.4-1 can be downloaded from
ftp://ftp.mat.univie.ac.at/pub/teschl/autoupdate/ (Mirror: ftp://ftp.esi.ac.at/pub/teschl/autoupdate/)
There are
tar.gz,
noarch.rpm
versions available. In addition, some ftp configuration files are available as rpms as well:
cfg-redhat,
cfg-caldera,
cfg-mandrake,
cfg-suse,
cfg-autoupdate.
Note: These configuration files are just here to get you started.
Please edit them to meet your needs, in particular,
replace the ftp server by a mirror close to you!
If you want to know what is new, have a look at the CHANGELOG.
All rpms are signed with my DSS key.
Installing AutoUpdate
First make sure that the following software is installed:
Required Software:
- RPM (It doesn't make much sense without it;-)
- Perl
- The DB_File perl module, which is usually part of perl. Otherwise
make sure the perl-DB_File package is installed.
- The Net::FTP perl module, which is part of the
perl-libnet package.
In addition, there are some optional perl modules you might want to install. To
test if you have a module, try to run the command perl -e "use Module::Name". If there
are no errors, you are in bussines.
Recommended Perl Modules:
- The RPM perl module, if you want autoupdate
to query rpm headers and the rpm database (rpm-perl package). In addtion, you need to enable the options
QueryHeaders and QueryDatabase in the config file.
Optional Perl Modules:
- The Sys::Syslog perl module if you want to log to syslogd. This should already be part
of recent perl versions.
- The LWP perl module, if you want
to use it for downloading from http(s) servers (perl-libwww-perl package).
Autoupdate has internal support for http (which can also do https with the help
of stunnel; see the FAQ) but it has
no proxy support. If you want support for https you also need to install the Crypt::SSLeay
(perl-Crypt-SSLeay package) or
Net::SSLeay
(perl-Net_SSLeay.pm package).
- The Net::SFTP perl module, if you want
to download from sftp servers (perl-Net-SFTP package).
The Net::SFTP module requires quite a lot of additional modules
depending on the chipers you want to use.
Most of these packages should be part of your distribution. If not, you can get all these modules
from CPAN or grab a local copy
(Please note that the rpms are from RedHat 7.x and will only
work if you have perl version 5.6 (RH 7.x). In case of problems download the src.rpm and
use "rpm --rebuild" to rebuild the rpm).
Installation:
Now install the AutoUpdate rpm plus (optional) some configuration rpms from
above. The rpm is intended for use with RedHat 7.x but should work without
modifications under RH 6.x (you will need rpm version 4 to install it).
They might work with other distributions/versions as well but
as always, your milage may vary. If you have problems, download the
tar.gz
file (modify it to meet your needs) and use rpm -tb --clean to
build the rpm.
Configuration:
The rpm is configured for use on a single machine. For further information see
the section on configuration. In order for the resolve
feature to work properly a provides data base is needed. You can either
download one of the following data bases
or create one suitable for you as described in the section on configuration.
The data base must be called autoprovides.db and stored in the updates dir
(default is /var/spool/autoupdate) or in the config dir (default is /etc/autoupdate.d).
Using AutoUpdate
Now use autodld to download and upgrade rpms respectively autoupd
to upgrade rpms which you already have on your disc.
Note that there are two scripts with the name autoupdate:
/usr/bin/autoupdate which is part of autoconf and
/usr/sbin/autoupdate. So if you say
autoupdate, it is likely that you invoke /usr/bin/autoupdate
from autoconf. Use auto{dld,upd,get} instead.
[ General |
Download and Installation |
Configuration |
FAQ ]