yum update does not work anymore

Discussion in 'Installation/Configuration' started by hfr, May 14, 2010.

  1. hfr

    hfr Member

    hi there,

    yum update seems not to work anymore. The last entry in yum.log is:

    Code:
    Apr 01 08:26:18 Updated: openssl-devel-0.9.8e-12.el5_4.6.x86_64
    So it seems there has been no updates installed since Apr 1.

    Invoking yum manually does not show an error message:

    Code:
    [[email protected] log]# yum update
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: ftp.plusline.de
     * base: centos.intergenia.de
     * extras: ftp.plusline.de
     * updates: ftp.plusline.de
    Excluding Packages in global exclude list
    Finished
    Setting up Update Process
    No Packages marked for Update
    
    So there seems to be something wrong in the (repo?) configuration.

    My yum.conf:
    Code:
    [main]
    cachedir=/var/cache/yum
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    exclude=postfix*
    
    # Note: yum-RHN-plugin doesn't honor this.
    metadata_expire=1h
    
    installonly_limit = 5
    
    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d
    
    My yum.repos.d:
    Code:
    [[email protected] yum.repos.d]# ll
    insgesamt 12
    -rw-r--r-- 1 root root 2245  1. Okt 2009  CentOS-Base.repo
    -rw-r--r-- 1 root root  626  1. Okt 2009  CentOS-Media.repo
    -rw-r--r-- 1 root root  684  8. Mär 2007  mirrors-rpmforge
    
    [[email protected] yum.repos.d]# cat CentOS-Base.repo
    # CentOS-Base.repo
    #
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client.  You should use this for CentOS updates
    # unless you are manually picking other mirrors.
    #
    # If the mirrorlist= does not work for you, as a fall back you can try the
    # remarked out baseurl= line instead.
    #
    #
    
    [base]
    name=CentOS-$releasever - Base
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
    #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
    
    #released updates
    [updates]
    name=CentOS-$releasever - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
    
    #packages used/produced in the build but not released
    [addons]
    name=CentOS-$releasever - Addons
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
    #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
    
    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
    #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
    
    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-$releasever - Plus
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
    #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
    
    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-$releasever - Contrib
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
    #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
    Any ideas? Why are there "No Packages marked for Update"?

    Thanks in advance.
     
  2. mike_p

    mike_p Member

    Unless someone had updated a package in the repos, there won't be any updates.

    Do you know of any updates packages that have been picked up?
     
  3. hfr

    hfr Member

    For example there were new kernel releases.
     
  4. hfr

    hfr Member

    Seems to be correct, according to centos forums ...
     

Share This Page