Op dinsdag 19 november 2002 11:10, schreef Christian Stoltze:
it's better to rely on the timestamp of the rsync server:
ALL_RPMS="`find * -name '*.rpm' \ -type f -printf '%TY%Tm%Td %TH%TM%TS %h/%f\n' | sort -k '1,2n' | awk '{print $NF}'`"
Now the problem with the version change from e.g. 9 to 10 is solved and I only have to rely on the files timestamp of the rsync server.
The script is updated and can be found under http://www.inf.uni-konstanz.de/~stoltze/projekte/autoinstall/suse81/
P.S. I have changed the subject line in order that other people can faster find the topic.
Since some days the apt (rpm) repository hosted at ftp.gwdg.de provides a list with the most recent rpms in the update directory. The list has the following format: abiword.rpm;abiword-0.9.2-40.i386.rpm acl.rpm;acl-1.0.7-28.i386.rpm acroread.rpm;acroread-4.05-30.i386.rpm The list (for 8.1) can be downloaded from: ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.1-i386/base/mrlist.update.bz2 (for 8.0 change 8.1 into 8.0) More about it at the top of the webpage at: http://linux01.gwdg.de/apt4rpm It is updated each time the repository is synched with the suse server. The list is being created by analyzing the version-release information of the rpms. To give an example of how the version-release information is being analyzed: - 2.1 is considered older than 2.10 - 2.1 is considered equal to 2.01 - 2.01.1 is newer than 2.1 (or 2.01) - 1.0pre2 is considered newer than 1.0rc1, though 1.0pre1 is considered older than 1.0rc1 - 1.11b36-2 is considered more recent than 1.11a36-2 or 1.11A36-2 (this case the a stands for alpha and the b for beta). I hope its usefull for someone. -- Richard Bos Without a home the journey is endless