rpm_utils-0.6 release

Nicholas Henke henken at seas.upenn.edu
Thu Aug 22 08:24:37 PDT 2002


Hey Folks-- Here is a set of tools that will make dealing with RPMs a bit
nicer.

rpm_utils 0.6
http://www.liniac.upenn.edu/~henken

CHANGES:
	remove command line arg for deptree.pickle -- now stored in
	/var/lib/clubmask

FEATURES:
	- merge multiple directories containing various versions of RPMs
in to on
	  directory that has symlinks to the most up to date version of
each
	  package. (merge_rpms.py)

	- install packages based on name, and have all of the dependencies
installed
	  automatically (rpm_install.py)

	- update all of the RPMs on a system (do_update.py)

	- great examples of using various features in the python rpm
module

INSTALLATION:
	tar zxvf rpm_utils.tar.gz

USEAGE:
	cd rpm_utils
	python setup.py install

You will first need to get a directory with the latest rpms:
	python merge_rpms -s <dir1, dir2> -d <destination dir>

The next step is the crucial step, as it allows us to store a file that
contains
all of the dependencies between packages:
	python dep_tree.py <destination dir>

Now if you want to upgrade your system:
	python do_update.py <destination dir>

To install a package
	python rpm_install.py <destination dir> <rpmname>
	<rpmname>... where rpmname is python2-devel not
python2-devel-2.1-1.

TODO:
	- fix bugs and add features

CONTACT:
	Nicholas Henke <henken at seas.upenn.edu>
	roughneck on irc.openprojects.net

-- 
Nicholas Henke
Linux Cluster Systems Programmer




More information about the Beowulf mailing list