PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : راهنمایی در خصوص yum.repos.d



m.fathi
July 5th, 2014, 11:33
دوستان این فایل هایی که توی پوشه yum.repos.d هستند به چه دردی می خورند؟

من مشکل update نشدن yum را در Centos دارم یکی از دوستان گفتش باید یک قسمت هایی را توی این پوشه enabled=1 کنی نمی دونم priority را بالا ببری کلا از این حرفا من که نفهمیدم....!!!

این فایل ها به چه دردی میخوره کلا.

چجوری میشه از اینجا کاری کرد که repository های yum رو update کرد.

نمی ئ.نم چه حکمتی هست که توی بعضی از سرور ها که Centos نصب شده یه دستور yum update میزنی سه سوته update میشه ولی توی بعضی از Centos ها که تازه همین الان نصبش تموم شده بیچاره میشی آخرشم yum update نمیشه...!!!

kianfar
July 5th, 2014, 11:49
وقتی که از دستور yum update استفاده می کنید، دقیقا چه پیغامی میده؟

spark3r
July 5th, 2014, 11:49
سلام
این فایل ها شامل مخازن خود CentOS و مخازنی هستند که شما نصب کردید مثل epel .
اگر مشکلی دارید دسترسی بدید چک کنم.

m.fathi
July 5th, 2014, 11:56
والا پیغام ها متفاوت بودن هر دفعه


Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirror.solarvps.com
* extras: mirror.metrocast.net
* updates: mirror.symnds.com
epel | 3.7 kB 00:00
epel/primary_db | 3.9 MB 00:01
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.7 MB 00:01
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be updated
---> Package git.x86_64 0:1.8.2.1-1.el5 will be an update
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.2.1-1.el5.x86_64
--> Processing Dependency: libssl.so.6()(64bit) for package: git-1.8.2.1-1.el5.x86_64
--> Processing Dependency: libexpat.so.0()(64bit) for package: git-1.8.2.1-1.el5.x86_64
--> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.8.2.1-1.el5.x86_64
--> Processing Dependency: libcrypto.so.6()(64bit) for package: git-1.8.2.1-1.el5.x86_64
---> Package perl-Git.noarch 0:1.7.1-3.el6_4.1 will be updated
---> Package perl-Git.x86_64 0:1.8.2.1-1.el5 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-Git-1.8.2.1-1.el5.x86_64
--> Running transaction check
---> Package compat-expat1.x86_64 0:1.95.8-8.el6 will be installed
---> Package git.x86_64 0:1.8.2.1-1.el5 will be an update
--> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.8.2.1-1.el5.x86_64
---> Package openssl098e.x86_64 0:0.9.8e-18.el6_5.2 will be installed
---> Package perl-Git.x86_64 0:1.8.2.1-1.el5 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-Git-1.8.2.1-1.el5.x86_64
---> Package perl-TermReadKey.x86_64 0:2.30-13.el6 will be installed
--> Finished Dependency Resolution
Error: Package: perl-Git-1.8.2.1-1.el5.x86_64 (epel)
Requires: perl(:MODULE_COMPAT_5.8.8)
Error: Package: git-1.8.2.1-1.el5.x86_64 (epel)
Requires: libcurl.so.3()(64bit)
You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

- - - Updated - - -

الان ممکنه این خط ها را توضیح بدید من که چیزی از اینا سردرنیاوردم

Error: Package: perl-Git-1.8.2.1-1.el5.x86_64 (epel) Requires: perl(:MODULE_COMPAT_5.8.8)
Error: Package: git-1.8.2.1-1.el5.x86_64 (epel)
Requires: libcurl.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

- - - Updated - - -

روی یک سرور دیگه هم این خطا هارو میداد
البته اگر اینا خطا باشن


[root@vultr ~]# yum -y updateLoaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.advancedhosters.com
* c6-media:
* centosplus: mirrors.rit.edu
* contrib: mirror.trouble-free.net
* extras: mirrors.advancedhosters.com
* updates: centos.mirror.constant.com
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again

kianfar
July 5th, 2014, 12:10
centos چه ورژنی هست؟ 5 یا 6؟

m.fathi
July 5th, 2014, 12:17
Centos 6.5 (final)

kianfar
July 5th, 2014, 12:51
دستورات زیر رو اجرا کنید و دوباره yum update رو اجرا کنید، ببینید مشکل رفع میشه یا نه :
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

spark3r
July 5th, 2014, 14:35
لطفا فرمان زیر رو اجرا کنید و نتیجه اش رو بزارید اینجا

cat /etc/resolv.conf