- 
	
			
				
					October 5th, 2009, 10:41
				
			
			
				
					#1
				
				
				
			
	 
		
		
			
				
				
				
					 مشکل با yum مشکل با yum
					
						
							سلام
 میخوام GD سرور رو نصب کنم ...
 از EasyApache که اقدام میکنم، میگه نصبه اما ، عملا" نشون نمیده کد ها رو ...
 تصمیم گرفتم دستی نصبش کنم ...
 
 بعد از زدن دستور آپدیت YUM و نصب "جی،دی" این ارور زیر رو داد:
 ** به چند خط آخر توجه کنین
 
 
	
		
			
			
				# server@root [~]# yum install php-gd 
Repository base is listed more than once in the configuration 
Repository addons is listed more than once in the configuration 
Repository extras is listed more than once in the configuration 
update                                                   |  951 B     00:00 
base                                                     | 1.1 kB     00:00 
updates                                                  |  951 B     00:00 
addons                                                   |  951 B     00:00 
extras                                                   | 1.1 kB     00:00 
Excluding Packages in global exclude list 
Finished
 Setting up Install Process
 Parsing package install arguments
 No package php-gd available.
 Nothing to do
 
 
 اینجوری که من فهمیدم باید رسپوس رو فعال کنی ، چون واسه من غیر فعال هست... 
	
		
			
			
				Check the files in /etc/yum.repos.d and make sure that they dont all have "enabled = 0" for each repo (there may be more than one per file).
 
Before you do that, try
 
yum clean all
 
and try the update again.
 
What does "yum update" show (ie without firefox on the end)
			
		 
 
 
 در صورتی که این آدرسی که تو متن فوق نوشته، یک دایرکتوری هست نه یک فایل
 
 حالا سوالم اینجاست : من چه جوری میتونم yum.repos.d رو فعال کنم !؟
 یا اصلا" چه طوری میتونم جی،دی رو نصب کنم؟!
 ((( yum.repos.d الان غیر فعال هست )))
 این طوری که من فهمیدم هیچ چیزی با یام نمیتونم نصب کنم ....
 
 دوستان ممنون میشم راهنماییم کنین!
 
 
 
 
 
 
 
 
 
- 
    
- 
		
			
						
						
							October 5th, 2009 10:41
						
					
					
						
							 # ADS
						
					
			 
 
- 
	
			
				
					October 5th, 2009, 14:22
				
			
			
				
					#2
				
				
				
			
	 
		
			
			
				عضو انجمن
			
			
			
			
			
			
				  
 
					    
				 
 
			
				
				
				
					 پاسخ : مشکل با yum پاسخ : مشکل با yum
					
						
							
	کد: vi /etc/yum.repos.d/CentOS-Base.repo
enabled=1 
 
 
 
 
 
 
 
 
- 
    
- 
	
			
				
					October 6th, 2009, 02:02
				
			
			
				
					#3
				
				
				
			
	 
		
		
			
				
				
				
					 پاسخ : مشکل با yum پاسخ : مشکل با yum
 
 
 
 
-