fai next level WAS: apt-get failures -- blah!

Thomas Lange lange at informatik.Uni-Koeln.DE
Wed Nov 14 11:17:22 CET 2001


>>>>> On 13 Nov 2001 16:11:30 -0800, Diane Trout <diane at caltech.edu> said:

    > I was thinking of writing a package that parsed something like
    > the current FAI package_files and a cfengine classes list, and
    > then installs or uninstalls packages to match its the list of
    > packages that it's supposed to have.

Have a look at the script /usr/share/fai/utils/softupdate. It's a
first hack to upgrade all packages or install/remove packages on a
running system. Then create a cron job, so every machine will update
itself (pull).

If a installed package should be removed, it does not suffice to
remove the package name from the list of packages. You have to add a -
to the package name, so it will get removed (this is an apt-get
feature, e.g. "apt-get install fai-" will removbe the fai package).

-- 
 Thomas



More information about the linux-fai mailing list