AutoUpdate

[ General | Quick Start Guide | Download and Installation | Configuration | FAQ ]

Note: Autoupdate is no longer maintained. These pages remain here only for historic reasons.

Quick Start Guide

Here are three easy steps to get you going with autoupdate:
  1. First make sure that you have perl installed and the DB_File module is working. If you get something like
    [root@dopefish root]# perl -e "use DB_File"
    Can't locate DB_File.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at -e line 1.
    BEGIN failed--compilation aborted at -e line 1.
    
    then the DB_File module is missing (if you get no output, everything is ok and you can go to the next step). Search for a package perl-DB_File (it will be on one of your CD's or otherwise download it from the ftp site of your distribution) and install it
    [root@dopefish root]# rpm -i perl-DB_File-1.804-55.i386.rpm
    
    Now the above command should run without erros.
  2. Next, import my GnuPG key
    [root@dopefish root]# rpm --import http://www.mat.univie.ac.at/~gerald/DSSkey.txt
    
    so that rpm can verify my cryptographic signatures. Then download and install autoupdate plus some sample config files
    [root@dopefish root]# rpm -i autoupdate-4.9.1-2.noarch.rpm
    [root@dopefish root]# rpm -i autoupdate-cfg-autoupdate-4.9.1-2.noarch.rpm
    [root@dopefish root]# rpm -i autoupdate-cfg-redhat-4.9.1-2.noarch.rpm
    
    Edit /etc/autoupdate.d/redhat.dld and replace ftp.redhat.com by a mirror. Optionally install the perl-RPM2 bindings (this should speed up some operations)
    [root@dopefish root]# rpm -i perl-RPM2-0.62-0.8x.i386.rpm
    
  3. Now run autodld to upgrade your system.
    [root@dopefish root]# autodld
    Creating provides database: /var/spool/autoupdate/autoprovides.db
    Merging provides database:
      autoprovides-redhat-8.0.db
    Found no new rpms at ftp.mat.univie.ac.at.
    Found no new rpms at ftp.tuwien.ac.at.
    Found no rpms to upgrade.
    
    In this case autoupdate found no new rpms (the system was already fully updated) but it donwloaded and set up an autoprovides database for you. This is crucial for dependency resolution to work.
Now you are done! For further information refer to the more detailed installation instructions and the rest of the documentation.

Note that autoupdate can also help you to add some of the missing multimedia rpms which are not included in redhat due to patent issues. Infact, the sample configuration for redhat also contains a freshrpms.get file such tat you can install additonal rpms from freshrpms.net. For example, if you want to get xine use:

[root@dopefish root]# autoget xine
New rpms from ftp.freshrpms.net:
  xine-0.9.20-fr1.i386.rpm
  xine-lib-1.0.0-fr0.beta9.1.i386.rpm
  aalib-1.4rc5-fr1.i386.rpm
  alsa-lib-0.9.2-fr1.i386.rpm
  flac-1.1.0-fr1.i386.rpm
  libfame-0.9.0-fr1.i386.rpm
  xvidcore-0.9.0-fr3.i386.rpm
New rpms from ftp.tuwien.ac.at:
  SDL-1.2.4-5.i386.rpm
  glut-3.7-8.i386.rpm
Downloaded a total of 9 rpms.
Installing rpms:
  xine-lib-1.0.0-fr0.beta9.1.i386.rpm (new)
  aalib-1.4rc5-fr1.i386.rpm (new)
  SDL-1.2.4-5.i386.rpm (new)
  glut-3.7-8.i386.rpm (new)
  alsa-lib-0.9.2-fr1.i386.rpm (new)
  libfame-0.9.0-fr1.i386.rpm (new)
  flac-1.1.0-fr1.i386.rpm (new)
  xvidcore-0.9.0-fr3.i386.rpm (new)
  xine-0.9.20-fr1.i386.rpm
Installed a total of 9 rpms.
Removing updated rpms:
  xine-lib-1.0.0-fr0.beta9.1.i386.rpm
  aalib-1.4rc5-fr1.i386.rpm
  SDL-1.2.4-5.i386.rpm
  glut-3.7-8.i386.rpm
  alsa-lib-0.9.2-fr1.i386.rpm
  libfame-0.9.0-fr1.i386.rpm
  flac-1.1.0-fr1.i386.rpm
  xvidcore-0.9.0-fr3.i386.rpm
  xine-0.9.20-fr1.i386.rpm


[ General | Quick Start Guide | Download and Installation | Configuration | FAQ ]