Hi,
Can someone explain to me why my centos-5.0 repository has the following two rpm packages in the base repository, causing errors when running 'yum update', since it can't find the right dependencies?
Here's the content of my repository for centos5. Shouldn't hal-0.5.8.1-25 and gcc-4.1.2-14 belong in the 5.1 repository? I compared it to http://mirror.centos.org/centos-5/5.0/os/i386/CentOS/ repository and it doesn't have the later versions of those two packages. So why does my 5.0 repository have the following two packages timestamped Nov. 20?
[root@dragon os]# pwd /var/www/mrepo/centos5-i386/os [root@dragon os]# ls -alh | grep hal-0.5 -rw-r--r-- 1 root root 371K Apr 3 2007 hal-0.5.8.1-19.el5.i386.rpm -rw-r--r-- 1 root root 375K Nov 20 11:12 hal-0.5.8.1-25.el5.i386.rpm [root@dragon os]# ls -alh | grep gcc-4 -rw-r--r-- 1 root root 5.0M Apr 3 2007 gcc-4.1.1-52.el5.i386.rpm -rw-r--r-- 1 root root 5.3M Nov 20 11:11 gcc-4.1.2-14.el5.i386.rpm -rw-r--r-- 1 root root 82K Apr 3 2007 libgcc-4.1.1-52.el5.i386.rpm
Again, it's causing an error when runinng yum update because it's trying to update hal, and it can't find its dependcies since they're all located in the 5.1 repository. The client is a 5.0 box.
Thank you,
John
On Mon, Dec 17, 2007 at 08:38:32AM -0800, John Lee wrote:
Hi,
Can someone explain to me why my centos-5.0 repository has the following two rpm packages in the base repository, causing errors when running 'yum update', since it can't find the right dependencies?
You hit the wrong list, you should post to the mrepo list ;) http://lists.rpmforge.net/mailman/listinfo/tools
Here's the content of my repository for centos5. Shouldn't hal-0.5.8.1-25 and gcc-4.1.2-14 belong in the 5.1 repository? I compared it to http://mirror.centos.org/centos-5/5.0/os/i386/CentOS/ repository and it doesn't have the later versions of those two packages. So why does my 5.0 repository have the following two packages timestamped Nov. 20?
[root@dragon os]# pwd /var/www/mrepo/centos5-i386/os
^^^^^ No a regular CentOS mirror. It would have been centos/5/os/i386/CentOS...
[root@dragon os]# ls -alh | grep hal-0.5 -rw-r--r-- 1 root root 371K Apr 3 2007 hal-0.5.8.1-19.el5.i386.rpm -rw-r--r-- 1 root root 375K Nov 20 11:12 hal-0.5.8.1-25.el5.i386.rpm [root@dragon os]# ls -alh | grep gcc-4 -rw-r--r-- 1 root root 5.0M Apr 3 2007 gcc-4.1.1-52.el5.i386.rpm -rw-r--r-- 1 root root 5.3M Nov 20 11:11 gcc-4.1.2-14.el5.i386.rpm -rw-r--r-- 1 root root 82K Apr 3 2007 libgcc-4.1.1-52.el5.i386.rpm
the centos/5.0/os/i386/CentOS has: [tru@sillage CentOS]$ ls -l hal-0.5* gcc-4.1* -rw-rw-r-- 1 centos centos 5189206 Apr 4 2007 gcc-4.1.1-52.el5.i386.rpm -rw-rw-r-- 1 centos centos 379306 Apr 4 2007 hal-0.5.8.1-19.el5.i386.rpm
the centos/5.1/os/i386/CentOS has: [tru@sillage CentOS]$ ls -l hal-0.5* gcc-4.1* -rw-rw-r-- 1 centos centos 5454962 Nov 20 20:11 gcc-4.1.2-14.el5.i386.rpm -rw-rw-r-- 1 centos centos 383566 Nov 20 20:12 hal-0.5.8.1-25.el5.i386.rpm
None of them have different versions. You seem to have a mix of 5.0 and 5.1 ...
Cheers,
Tru