Re: Wrong compare on version numbers

Markus Gaugusch <[email protected]> Thu, 18 Aug 2005 08:41:42 +0200 (CEST)
Newsgroups gmane.linux.suse.fou4s.devel
Message-ID <[email protected]>
> on my box (SuSE 9.3) the actual KDE updates from the supplementary directory
> are previously installed with YOU. My current version of KDE ist 3.4.2 (all
> SuSE rpms). Now when using fou4s (the supplementary server with rsync in the
> config file is activated) i get the following output:
>
> kdebase3-SuSE     9.3-39.5   (9.3-39.3     ) [dl] recommended   334kb
> kdegraphics3      3.4.0-11.3 (3.4.2-3      ) [dl] recommended  1769kb
> kdegraphics3-pdf  3.4.0-11.2 (3.4.2-3      ) [dl] security      635kb
> kdenetwork3       3.4.0-16.4 (3.4.2-3      ) [dl] security     1400kb
>
> I think, 3.4.2 is higher than 3.4.0. How can this problem be solved?

The problem is, that the version number structure is different 
(3.4.x-y.z vs. 3.4.x-y), which causes fou4s to use a "fail safe" mode 
which takes the newer RPM (by build date).
You can run fou4s -i --interactive and just skip those updates with "s".

Markus
-- 
__________________    /"\
Markus Gaugusch       \ /    ASCII Ribbon Campaign
markus(at)gaugusch.at  X     Against HTML Mail
                       / \
--