[Yum] check-update question

Jim Perrin jperrin at gmail.com
Mon Aug 18 13:27:39 UTC 2008


On Mon, Aug 18, 2008 at 4:44 AM, Barry O'Rourke <borourke at ph.ed.ac.uk> wrote:
> Hi,
>
> We've got a custom repository that hosts all of our self packaged RPM's and
> have grouped all of the RPM's together in a group called ifp-base. We run a
> daily script that uses "yum check-update" to verify whether we need to run a
> full update.
>
> check-update behaves as expected if we add an updated version of an existing
> RPM, the problem is that it doesn't seem to know that we've added a *new*
> package to the group, so as far as our script is concerned there is no
> updates to be run even though there is a new package in the repo.


This is expected behavior, as 'new' packages are not updates to
packages that you have installed on the system. If check-updates
reports packages which are added to the repository but are not
installed on the system, then quite soon you'd be drowning in
notifications as folks tend to only have a small percentage of the
overall packages from a repo installed. Perhaps a better method would
be to generate rss data for the repository and use it?


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell



More information about the Yum mailing list