[Yum] Yum 2.4.2 ignoring updates

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

 



Hi -

We have yum configured for a local update tree, including our own 
repository which we rebuild with "createrepo dirname". It seems that yum 
is ignoring any updates which are put into this repository.

This is with yum 2.4.2 on Scientific Linux, which is a RHEL clone.

If I do:

[root@xpc17 yum.repos.d]# yum -d3 update
Loading "kernel-module" plugin
Yum Version: 2.4.2
COMMAND: yum -d3
Installroot: /
Setting up Update Process
Setting up repositories
Baseurl(s) for repo: ['file:///data/soft3/scratch/kickstart/SL/43/x86_64/errata/fastbug/RPMS/']
Baseurl(s) for repo: ['file:///data/soft3/scratch/kickstart/SL/43/i386/errata/fastbug/RPMS/']
Baseurl(s) for repo: ['file:///data/soft3/scratch/kickstart/SL/43/x86_64/SL/RPMS/']
Baseurl(s) for repo: ['file:///data/soft3/scratch/kickstart/SL/43/i386/errata/SL/RPMS']
Baseurl(s) for repo: ['file:///data/soft3/scratch/kickstart/SL/43/i386/SL/RPMS/']
Baseurl(s) for repo: ['file:///data/soft3/kickstart/sl-43_own_rpms']
Baseurl(s) for repo: ['file:///data/soft3/scratch/kickstart/SL/43/x86_64/errata/SL/RPMS']
Reading repository metadata in from local files
Setting up Package Sacks
Excluding Incompatible Archs
Finished
Reading Local RPMDB
Building updates object
No Packages marked for Update/Obsoletion


The directory it isn't seeing updates on is 
/data/soft3/kickstart/sl-43_own_rpms. If you do a "yum clean all", then a 
"yum update" then everything works. Any ideas?

Thanks

Jeremy



more details:

[root@xpc17 yum.repos.d]# ls -l /data/soft3/kickstart/sl-43_own_rpms/repodata/
total 268
-rw-rw-r--  1 root root  80889 Jun  6 15:26 filelists.xml.gz
-rw-rw-r--  1 root root 136516 Jun  6 15:26 other.xml.gz
-rw-rw-r--  1 root root  39517 Jun  6 15:26 primary.xml.gz
-rw-rw-r--  1 root root    951 Jun  6 15:26 repomd.xml

[root@xpc17 yum.repos.d]# yum clean all
Loading "kernel-module" plugin
Cleaning up Everything
1 headers removed
0 packages removed
28 metadata files removed
0 cache files removed
14 cache files removed

[root@xpc17 yum.repos.d]# yum update
Loading "kernel-module" plugin
Setting up Update Process
Setting up repositories
sl-fastbug                100% |=========================|  951 B    00:00
sl-fastbug-i386           100% |=========================|  951 B    00:00
sl-base                   100% |=========================| 1.1 kB    00:00
sl-errata-i386            100% |=========================|  951 B    00:00
sl-base-i386              100% |=========================| 1.1 kB    00:00
own_rpms                  100% |=========================|  951 B    00:00
sl-errata                 100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  12 kB    00:00
sl-fastbug: ################################################## 31/31
Added 31 new packages, deleted 0 old in 0.10 seconds
primary.xml.gz            100% |=========================|  12 kB    00:00
sl-fastbug: ################################################## 29/29
Added 29 new packages, deleted 0 old in 0.08 seconds
primary.xml.gz            100% |=========================| 683 kB    00:00
sl-base   : ################################################## 1775/1775
Added 1775 new packages, deleted 0 old in 4.61 seconds
primary.xml.gz            100% |=========================|  15 kB    00:00
sl-errata-: ################################################## 49/49
Added 49 new packages, deleted 0 old in 0.12 seconds
primary.xml.gz            100% |=========================| 521 kB    00:00
sl-base-i3: ################################################## 1570/1570
Added 1570 new packages, deleted 0 old in 4.12 seconds
primary.xml.gz            100% |=========================|  39 kB    00:00
own_rpms  : ################################################## 137/137
Added 137 new packages, deleted 0 old in 0.32 seconds
primary.xml.gz            100% |=========================|  14 kB    00:00
sl-errata : ################################################## 46/46
Added 46 new packages, deleted 0 old in 0.13 seconds
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for rsync to pack into transaction set.
rsync-2.6.8-2.x86_64.rpm  100% |=========================|  11 kB    00:00
---> Package rsync.x86_64 0:2.6.8-2 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
  Package                 Arch       Version          Repository 
Size
=============================================================================
Updating:
  rsync                   x86_64     2.6.8-2          own_rpms          220 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)
Total download size: 220 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
   Updating  : rsync                        ######################### [1/2]
   Cleanup   : rsync                        ######################### [2/2]

Updated: rsync.x86_64 0:2.6.8-2
Complete!


-- 
Jeremy Sanders <jss@xxxxxxxxxxxxx>   http://www-xray.ast.cam.ac.uk/~jss/
X-Ray Group, Institute of Astronomy, University of Cambridge, UK.
Public Key Server PGP Key ID: E1AAE053

[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