-
August 25th, 2011, 16:23
#1
عضو انجمن
مشکل در apt-get دبیان
سلام. یه سرور لینوکس گرفتم دبیان هست اما هیچ دستوری کار نمیکنه به owner سرور گفتم گفت بلد نیستم. این هم ارور
root@debian:~# apt-get update
Ign cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45] squeeze Release.gpg
Ign cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45]/ squeeze/contrib Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45]/ squeeze/contrib Translation-en_US
Ign cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45]/ squeeze/main Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45]/ squeeze/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45] squeeze Release
Ign cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45] squeeze/contrib i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45] squeeze/main i386 Packages/DiffIndex
Err Debian -- Security Information squeeze/updates Release.gpg
Could not resolve 'security.debian.org'
Err Debian -- Security Information squeeze/updates/contrib Translation-en
Could not resolve 'security.debian.org'
Err Debian -- Security Information squeeze/updates/contrib Translation-en_US
Could not resolve 'security.debian.org'
Err Debian -- Security Information squeeze/updates/main Translation-en
Could not resolve 'security.debian.org'
Err Debian -- Security Information squeeze/updates/main Translation-en_US
Could not resolve 'security.debian.org'
Reading package lists... Done
W: Failed to fetch http://security.debian.org/dists/squ...es/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squ...slation-en.bz2 Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squ...tion-en_US.bz2 Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squ...slation-en.bz2 Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squ...tion-en_US.bz2 Could not resolve 'security.debian.org'
W: Some index files failed to download, they have been ignored, or old ones used instead.
root@debian:~#
لطفا کمک کنید خیلی مهم هست کارم. اگه میشه یه remote desktop سبک هم معرفی منید و روش نصب که بگید عالی میشه
debian 6
ویرایش توسط alireza.076 : August 25th, 2011 در ساعت 16:27
-
تعداد تشکر ها از alireza.076 به دلیل پست مفید
-
August 25th, 2011 16:23
# ADS
-
August 27th, 2011, 23:49
#2
پاسخ : مشکل در apt-get دبیان
سلام عزیز جان،
Error ها مشخص هست میگه نمیتونه security.debian.org رو resolve کنه. این هاست رو پینگ کن ببین چی جواب میده. وقتی سرعت خیلی کم باشه هم همین مشکل پیش میاد.
اگه پینگ هم گفت نمیتونه resolve کنه این دستور رو بزن دوباره پینگ کن
کد:
/etc/rc.d/init.d/nscd restart
وقتی reply داد می تونی از apt-get استفاده کنی.
-
تعداد تشکر ها از xerox به دلیل پست مفید
-
September 6th, 2011, 14:46
#3
عضو انجمن
پاسخ : مشکل در apt-get دبیان
آقا این فایل رو باز کن /etc/resolv.conf
جلوی نیم سرور هر چی هست پاک کن بزن 8.8.8.8 و یک خط دیگه هم اضافه کن نیم سرور رو بزن و جلوش بزن 8.8.4.4
یعنی به این شکل :
nameserver 8.8.8.8
nameserver 8.8.4.4
مشکلت حل می شه.
موفق باشی
هاستینگ پشتیبان با 8 سال سابقه درخشان
poshtiban.com
it (@) poshtiban.com
0311-2650764 داخلی 803
-
تعداد تشکر ها از poshtiban به دلیل پست مفید
-
March 8th, 2012, 00:30
#4
عضو انجمن
پاسخ : مشکل در apt-get دبیان
-
تعداد تشکر ها از alireza.076 به دلیل پست مفید