How yum distingushes update packages from base packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

We set up a yum-server for educational purpose.

In the RPMS  directory on the yum-server, there are two packages:

test-versioned-app-1.0-0.noarch.rpm
test-simple-app-1.0-0.noarch.rpm

In the updates directory on the yum-server, there are two updates:

test-versioned-app-1.0-1.noarch.rpm
test-simple-app-1.0-1.noarch.rpm

We created the repository using the createrepo command. The repodata
directories and xml files were generated under RPMS and updates.

The problem is that when we ran "yum list" on the client machine, only
the packages in the [updates] group were listed. The packages in the
[base] group would not appear unless the [updates] stanza is disabled.
We also tried using two repo files, still the packages in the [base]
group would not be listed as "Available Packages" unless the repo file
for [updates] is disabled.

How does yum distinguish update packages from base packages? Version
numbers? Timestamps?

When "yum list" is executed on a normal Fedora or CentOS box, both
base packages and update packages are listed. What may cause  the
problem mentioned above?

I would appreciate any hints. Our test.repo file is attached. Thanks very much!


[root@localhost yum.repos.d]#cat test.repo

[base]
name=Base
baseurl=ftp://yum-server/pub/RPMS
enabled=1
gpgcheck=0

[updates]
name=Updates
baseurl=ftp://yum-server/pub/updates
enabled=1
gpgcheck=0
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux