• 30-01-2013, 13:02:41
    #1
    Arkadaşlar "yum" komutum çalışmıyor. Sanırım kazara /etc/yum.conf dosyasını sildim.

    [root@server ~]# yum install l*
    Cannot find any conf file.
    [root@server ~]# yum clean all
    Cannot find any conf file.
    [root@server ~]# yum update
    Cannot find any conf file.
    [root@server ~]#
    Tekrar nasıl oluşturabiliriz?

    Linux centOS 5.x 32 Bit kullanıyorum.

    Teşekkürler.
  • 30-01-2013, 13:06:47
    #2
    Yeşil SEO İnt. Hiz.
    sadece "yum" mu deniyosun ?
    emin olmamakla beraber "yum update" dener misin ?
  • 30-01-2013, 13:23:44
    #3
    staticiation adlı üyeden alıntı: mesajı görüntüle
    sadece "yum" mu deniyosun ?
    emin olmamakla beraber "yum update" dener misin ?
    hayır hiçbiri çalışmıyor.

    [root@server ~]# yum install l*
    Cannot find any conf file.
    [root@server ~]# yum clean all
    Cannot find any conf file.
    [root@server ~]# yum update
    Cannot find any conf file.
    [root@server ~]#
  • 30-01-2013, 14:54:18
    #4
    nano /etc/yum.conf

    Alıntı
    [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
    bugtracker_url=http://bugs.centos.org/yum5bug

    # Note: yum-RHN-plugin doesn't honor this.
    metadata_expire=1h

    installonly_limit = 5

    Eğer extra bir işlem yapmadıysanız conf dosyasını geri koyarsanız sorun çözülecektir.
  • 30-01-2013, 16:33:15
    #5
    serverpa adlı üyeden alıntı: mesajı görüntüle
    nano /etc/yum.conf



    Eğer extra bir işlem yapmadıysanız conf dosyasını geri koyarsanız sorun çözülecektir.
    Dediğinizi ekledim bu kezde şöyle hata var;

    [root@server home]# yum update
    Insufficient server config - no servers found. Aborting.
    [root@server home]#
  • 30-01-2013, 16:39:32
    #6
    rpm -e yum
    wget http://mirror.centos.org/centos/5/os...tos.noarch.rpm
    rpm -ivh yum-3.2.22-40.el5.centos.noarch.rpm

    sonra tekrar deneyin.
  • 30-01-2013, 17:27:36
    #7
    sysadmin adlı üyeden alıntı: mesajı görüntüle
    rpm -e yum
    wget http://mirror.centos.org/centos/5/os...tos.noarch.rpm
    rpm -ivh yum-3.2.22-40.el5.centos.noarch.rpm

    sonra tekrar deneyin.
    Dediklerinizi denedim bir üsttekiyle aynı hatayı verdi. ek olarak ilk komutta bir hata verdi;


    [root@server ~]# rpm -e yum
    error: Failed dependencies:
    yum >= 3.2.0 is needed by (installed) yum-updatesd-0.9-2.el5.noarch
    yum >= 3.2.5-2 is needed by (installed) pirut-1.3.28-19.el5.centos.noarch
    yum >= 3.0 is needed by (installed) yum-fastestmirror-1.1.16-21.el5.centos.noarch
    yum >= 2.2 is needed by (installed) atomic-release-1.0-16.el5.art.noarch
    [root@server ~]#
  • 31-01-2013, 18:22:50
    #8
    Günceldir arkadaşlar.