When I run yum –y update I see that:
[root@server:/etc/yum.repos.d]# yum -y update
Repository base is listed more than once in the
configuration
Setting up Update Process
Setting up repositories
base
100% |=========================| 951 B 00:00
update
100% |=========================| 951 B 00:00
updates
100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz
100% |=========================| 390 kB 00:05
base :
################################################## 1171/1171
Added 1171 new packages, deleted 0 old in 8.48 seconds
primary.xml.gz
100% |=========================| 174 kB 00:04
update : ##################################################
493/493
Added 493 new packages, deleted 0 old in 4.12 seconds
primary.xml.gz
100% |=========================| 34 kB 00:00
updates :
################################################## 141/141
Added 141 new packages, deleted 0 old in 0.83 seconds
No Packages marked for Update/Obsoletion
But, no package is installed in spite of yum added 141 new
packages. Yum –y upgrade does not work either.
This is my repo file:
[root@server:/etc/yum.repos.d]# cat centos4.repo
[base]
name=CentOS-$releasever - Base
baseurl=ftp://local_repo_server/centos/4/os/i386
timeout=1800
gpgcheck=1
gpgkey=ftp://local_repo_server /centos/4/os/i386/RPM-GPG-KEY-centos4
priority=1
protect=1
[updates]
name=CentOS-$releasever - Updates
baseurl=ftp:// local_repo_server /centos/4/updates
timeout=1800
gpgcheck=1
gpgkey=ftp:// local_repo_server /centos/4/os/i386/RPM-GPG-KEY-centos4
priority=1
protect=1
My local repo server is a mirror to centos internet servers
and is up2date with centos 4.7.
Where’s the problem?
Regards,