Changes between Version 22 and Version 23 of Development/Templates/ClientSideDepsCheck


Ignore:
Timestamp:
Oct 16, 2008, 7:15:11 PM (17 years ago)
Author:
/DC=es/DC=irisgrid/O=uam/CN=luisf-munnoz
Comment:

Documenting bad Yum versions

Legend:

Unmodified
Added
Removed
Modified
  • Development/Templates/ClientSideDepsCheck

    v22 v23  
    1717{{{createrepo /var/www/html/ca}}}
    1818
    19 ''Note: if `createrepo` is not installed, you can use [http://gridp03.ft.uam.es/swrep/noarch/createrepo-0.9.5-2.noarch.rpm UAM's build] to get it.''
     19== Set up YUM on your development machine ==
    2020
    21 == Set up YUM on your development machine ==
    2221=== Install YUM ===
    23 If YUM isn't installed, you will need to install it on the machine where you normally develop Quattor profiles. Note that that checkdeps.py has been tested with YUM version 3.2.8 and requires at least this version (as used in Fedora 8).
    2422
    25 ''Note: if you don't have YUM or the version in your distribution is too old (SL4), you can use [http://gridp03.ft.uam.es/swrep/noarch/yum-3.2.19-3.noarch.rpm UAM's build] or you can manage your Quattor server with Quattor, adding [source:templates/trunk/standard/quattor/server/service.tpl quattor/server/service.tpl] to its profile.''
     23If YUM isn't installed, you will need to install it on the machine where
     24you normally develop Quattor profiles. Note that that checkdeps.py has
     25been tested with YUM version 3.2.8 and requires at least this version
     26(as used in Fedora 8). Do '''NOT''' use version 3.2.19, it's known to
     27fail with this script.
     28
     29''Note: if you don't have YUM or the version in your distribution is too
     30old (below 3.2.8), you'll have to
     31[http://ftp.scientificlinux.org/linux/scientific/52/x86_64/SL/yum-3.2.8-10.sl.noarch.rpm upgrade Yum]
     32or you can manage your Quattor server with quattor,
     33adding [source:templates/trunk/standard/quattor/server/service.tpl quattor/server/service.tpl]
     34to the profile.''
    2635
    2736=== Set up a directory for YUM ===
     37
    2838You will need to create a directory for YUM to store its metadata in. Any directory will do. This will be passed in to checkdeps as its working directory.
    2939
     
    6676}}}
    6777
    68 YUM detects a dependency problem and suggests a solution. The list of enabled repositories was generated from those contained in the profile, so the package suggested should be sensible.
     78YUM detects a dependency problem and suggests a solution. The list of
     79enabled repositories was generated from those contained in the profile,
     80so the package suggested should be sensible.
    6981
    70 If you add the -p flag, then the program will output Pan lines adding the package (using {{{pkg_repl}}}) for easy cut-and-paste into the offending profile!
     82If you add the -p flag, then the program will output Pan lines adding
     83the package (using {{{pkg_repl}}}) for easy cut-and-paste into the
     84offending profile!
    7185
    7286== Troubleshooting ==
     
    7791are using an old version and you should upgrade. This script has been
    7892tested on Yum versions for Fedora 8 and 9. You should use, at least,
    79 version 3.2.8.
     93version 3.2.8, shipped with SL 5.2.
    8094
    81 If you are using SL4 or SL5, you'll have to build Yum. Or you can get
    82 the RPM from
    83 [http://gridp03.ft.uam.es/swrep/noarch/yum-3.2.19-3.noarch.rpm UAM's build].
    8495
    8596=== Errors on packages while checking dependencies ===
    8697
    8798First, check your yum configuration. If it's all right, it means that
    88 you upgraded Yum following the steps above, but the repository
    89 metadata was created with an older version of createrepo.
     99you upgraded Yum following the steps above, but the repository metadata
     100was created with an older version of createrepo. Update your
     101createrepo to an stable version.
    90102
    91 Again, you must upgrade createrepo to a newer version, which might
    92 involve re-building the RPM or downloading it from
    93 [http://gridp03.ft.uam.es/swrep/noarch/createrepo-0.9.5-2.noarch.rpm UAM's repository].
     103Please note that yum 3.2.19 and createrepo 0.9.5 are known to cause
     104problems.
    94105