انجمن کاربران لینوکس ایران - تکنوتاکس سابق

نسخه ي کامل: نصب به طریقه yum install
شما در حال مشاهده نسخه ي متني اين صفحه هستيد. مشاهده نسخه کامل تر با قالب بندي صحيح
با سلام

برای نصب هر برنامه‌ای که با استفاده از yum install عمل می‌کنم بسته‌های مختلفی را لیست می‌کند و برای شروع نصب از من میخواهد که y/n را تایپ کنم. در حین نصب هم برخی از بسته‌ها را به دلیل Error 12 نمیتواند نصب کند.
آیا ممکن است راهنماپیم کنید؟
در مثال زیر خواستم wine را نصب کنم. ۱۰ بسته را شناساپی کرد ولی روی ۲ بسته موفق به نصب نشد. آنچه در نرمینال برای این منظور دارم این است:
کد :
[root@localhost ~]# yum install wine
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for wine to pack into transaction set.
wine-0.9.46-1.fc6.i386.rp 100% |=========================|  18 kB    00:00    
---> Package wine.i386 0:0.9.46-1.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: wine-core = 0.9.46-1.fc6 for package: wine
--> Processing Dependency: wine-nas = 0.9.46-1.fc6 for package: wine
--> Processing Dependency: wine-jack = 0.9.46-1.fc6 for package: wine
--> Processing Dependency: wine-tools = 0.9.46-1.fc6 for package: wine
--> Processing Dependency: wine-capi = 0.9.46-1.fc6 for package: wine
--> Processing Dependency: wine-esd = 0.9.46-1.fc6 for package: wine
--> Processing Dependency: wine-twain = 0.9.46-1.fc6 for package: wine
--> Processing Dependency: wine-ldap = 0.9.46-1.fc6 for package: wine
--> Processing Dependency: wine-cms = 0.9.46-1.fc6 for package: wine
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for wine-jack to pack into transaction set.
wine-jack-0.9.46-1.fc6.i3 100% |=========================|  18 kB    00:00    
---> Package wine-jack.i386 0:0.9.46-1.fc6 set to be updated
---> Downloading header for wine-capi to pack into transaction set.
wine-capi-0.9.46-1.fc6.i3 100% |=========================|  18 kB    00:00    
---> Package wine-capi.i386 0:0.9.46-1.fc6 set to be updated
---> Downloading header for wine-twain to pack into transaction set.
wine-twain-0.9.46-1.fc6.i 100% |=========================|  19 kB    00:00    
---> Package wine-twain.i386 0:0.9.46-1.fc6 set to be updated
---> Downloading header for wine-tools to pack into transaction set.
wine-tools-0.9.46-1.fc6.i 100% |=========================|  22 kB    00:00    
---> Package wine-tools.i386 0:0.9.46-1.fc6 set to be updated
---> Downloading header for wine-core to pack into transaction set.
wine-core-0.9.46-1.fc6.i3 100% |=========================|  73 kB    00:00    
---> Package wine-core.i386 0:0.9.46-1.fc6 set to be updated
---> Downloading header for wine-ldap to pack into transaction set.
wine-ldap-0.9.46-1.fc6.i3 100% |=========================|  18 kB    00:00    
---> Package wine-ldap.i386 0:0.9.46-1.fc6 set to be updated
---> Downloading header for wine-nas to pack into transaction set.
wine-nas-0.9.46-1.fc6.i38 100% |=========================|  18 kB    00:00    
---> Package wine-nas.i386 0:0.9.46-1.fc6 set to be updated
---> Downloading header for wine-esd to pack into transaction set.
wine-esd-0.9.46-1.fc6.i38 100% |=========================|  18 kB    00:00    
---> Package wine-esd.i386 0:0.9.46-1.fc6 set to be updated
---> Downloading header for wine-cms to pack into transaction set.
wine-cms-0.9.46-1.fc6.i38 100% |=========================|  18 kB    00:00    
---> Package wine-cms.i386 0:0.9.46-1.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
wine                    i386       0.9.46-1.fc6     extras             19 k
Installing for dependencies:
wine-capi               i386       0.9.46-1.fc6     extras             23 k
wine-cms                i386       0.9.46-1.fc6     extras             35 k
wine-core               i386       0.9.46-1.fc6     extras            9.4 M
wine-esd                i386       0.9.46-1.fc6     extras             33 k
wine-jack               i386       0.9.46-1.fc6     extras             35 k
wine-ldap               i386       0.9.46-1.fc6     extras             85 k
wine-nas                i386       0.9.46-1.fc6     extras             21 k
wine-tools              i386       0.9.46-1.fc6     extras            603 k
wine-twain              i386       0.9.46-1.fc6     extras             44 k

Transaction Summary
=============================================================================
Install     10 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): wine-jack-0.9.46- 100% |=========================|  35 kB    00:00    
(2/10): wine-capi-0.9.46- 100% |=========================|  23 kB    00:00    
(3/10): wine-0.9.46-1.fc6 100% |=========================|  19 kB    00:00    
(4/10): wine-twain-0.9.46 100% |=========================|  44 kB    00:00    
http://ftp.riken.jp/Linux/fedora/extras/6/i386/wine-tools-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.kddilabs.jp/Linux/packages/fedora/extras/6/i386/wine-tools-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://opensource.nchc.org.tw/fedora/linux/extras/6/i386/wine-tools-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/extras/6/i386/wine-tools-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.chg.ru/pub/Linux/fedora/linux/extras/6/i386/wine-tools-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.twaren.net/Linux/Fedora/linux/extras/6/i386/wine-tools-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.riken.jp/Linux/fedora/extras/6/i386/wine-core-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.kddilabs.jp/Linux/packages/fedora/extras/6/i386/wine-core-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://opensource.nchc.org.tw/fedora/linux/extras/6/i386/wine-core-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/extras/6/i386/wine-core-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.chg.ru/pub/Linux/fedora/linux/extras/6/i386/wine-core-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.twaren.net/Linux/Fedora/linux/extras/6/i386/wine-core-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp.riken.jp/Linux/fedora/extras/6/i386/wine-ldap-0.9.46-1.fc6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
(7/10): wine-ldap-0.9.46- 100% |=========================|  85 kB    00:00    
(8/10): wine-nas-0.9.46-1 100% |=========================|  21 kB    00:00    
(9/10): wine-esd-0.9.46-1 100% |=========================|  33 kB    00:00    
(10/10): wine-cms-0.9.46- 100% |=========================|  35 kB    00:00    


Error Downloading Packages:
  wine-core - 0.9.46-1.fc6.i386: failure: wine-core-0.9.46-1.fc6.i386.rpm from extras: [Errno 256] No more mirrors to try.
  wine-tools - 0.9.46-1.fc6.i386: failure: wine-tools-0.9.46-1.fc6.i386.rpm from extras: [Errno 256] No more mirrors to try.

You have new mail in /var/spool/mail/root
وقتي هيچكي جوابي نميده يعني سئوال من خيلي ... است؟

به راهنمائي شما شديداً نياز دارم؟
به هر حال الان هیچ بسته‌ای نصب نکرده، چون نتونسته download کنه. مشکل از اینترنت شما بوده. دوباره همین دستور رو که زدی اجرا کن که این بار بسته‌های download نشده رو download کنه.

مهمان

دستور
yum clean all
مشکلت را حل میکنه یک بار قبل از نصب برنامه ان را اجرا کن.
دوست عزیز چرا باید همه چیزایی که download شدن رو پاک کنه؟ حتی repository metadata ؟ هیچ مشکلی وجود نداره الان که بخواد از اول کارا رو انجام بده.