بسبب انك لم تحذف المطلوب في yum.conf
فقط اترك المذكور في الاعلى.
الطريقة هنا سليم 100%
http://www.swalif.net/softs/showpost...5&postcount=12
باذن الله.
بوعيسى
بسبب انك لم تحذف المطلوب في yum.conf
فقط اترك المذكور في الاعلى.
الطريقة هنا سليم 100%
http://www.swalif.net/softs/showpost...5&postcount=12
باذن الله.
بوعيسى
اخوي حذفت كل شي وحطيت إلي انتا حطيته
ونفس الشي
تحياتي
__________________
إستضافة 2 جبجا بـ 200 ريال !
إضغط هنا لرؤية عروض الإستضافة
yum clean all
و اهم شيى يكون /etc/yum.conf مثل المثال السابق و اذا عندك تعديل او اضافه او الغاء مافي مشكله ولاتستخدم اي روابط اخرى
لما تعمل dir /etc/yum.repos.d/
ماهي الملفات الموجوده ؟
اكيد السيرفر من لايرد و بتشوف ملف شبيه بهذا LayeredTech.repo غيره الى اسم اخر بهذا الامر
ثم افتح ملف جديد بهذا الاسمكود:mv /etc/yum.repos.d/LayeredTech.repo /etc/yum.repos.d/LayeredTech.repo.stop
ثم اضف فيه هذاكود:nano -w /etc/yum.repos.d/CentOS-Base.repo
yum updateكود:# CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # 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=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 #released updates [update] 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=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 #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=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 #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=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 #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=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 #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=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
وباذن الله التحديث بيكون سليم :nice:
بوعيسى
ألف ألف ألف شكر اخوي أبوعيسى
جاري التحديث
__________________
إستضافة 2 جبجا بـ 200 ريال !
إضغط هنا لرؤية عروض الإستضافة
عفوا, لاتنسى اعادة التشغيل للسيرفر (افضل)
بعد التحديث نفذ هذا الامر
cat /etc/issue
وشوف اذا تم التحديث او لا
بوعيسى