Thanks James, please see following embedded comments. On 7/18/12, James Antill <ja...@fedoraproject.org> wrote: > On Tue, 2012-07-17 at 21:48 +1000, jupiter wrote: >> I've just found that the repomd.xml in my client machine which cannot >> see the new packages is actually the same repomd.xml in the private >> repository machine which can see the new packages. In the private >> repository machine I can see new packages in primary.xml.gz, but there >> is no primary.xml.gz in the the client machine I can check with. Is >> there anyway to check the primary.xml.gz in the client machine? > > Ok, that eliminates a few possible problems. > > So the new repomd.xml/primary is getting to the client, and the same > repomd.xml/primary on another machines shows the packages in "yum list"? > (just repeating the question/information ... to make sure I have it > correct).
Yes, it is correct, the "yum list" in the private repository machine can see new packages. > Assuming all of that, it implies that the packages are being excluded > somehow ... you can try --disableexcludes and --showduplicates, maybe > use repoquery instead of yum. I actually could not find --disableexcludes and --showduplicates in repoquery, so I tried with "yum list --showduplicates" in a client machine, magically the new packages were displayed although none of new packages have duplicates. The yum manual indicated that "--showduplicates doesn’t limit packages to their latest versions in the info, list and search commands (will also affect plugins which use the doPackageLists() API)". Since the new packages don't have duplicated versions and releases, could the yum doPackageLists() API misinterprets the information when the --showduplicates is not resented? The yum version installed in the client machine are: yum-3.2.29-22.el6.centos.2.noarch yum-plugin-fastestmirror-1.1.30-10.el6.noarch rpm-4.8.0-19.el6_2.1.x86_64 (Just see your name last committed for yum-plugin-fastestmirror-1.1.30-10.el6.noarch package, great :-)). What is the explanation that "--showduplicates" played trick? Is there anything I need to fix it without use "--showduplicates"? > I assume the machines are the same architecture (Ie. the server isn't > x86_64 and the client i386 ... which would thus. not see x86_64 > packages). Correct, both tthe private repository and the client machines run x86_64 centos 6. Thank you very much. Cheers. Jupiter _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel