انجمنهای فارسی اوبونتو
کمک و پشتیبانی => سایر توزیعهای گنو/لینوکس => دبیان => نویسنده: masoudrko در 20 شهریور 1393، 12:21 بظ
-
سلام موقع آپدیت دبیان 7.6 این ارور را میده
apt-get update
Err http://security.debian.org sid/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://http.us.debian.org sid Release.gpg
Could not connect to http.us.debian.org:80 (2610:148:1f10:3::89). - connect (101: Network is unreachable)
Ign http://http.us.debian.org sid Release
Ign http://http.us.debian.org sid/non-free amd64 Packages/DiffIndex
Ign http://http.us.debian.org sid/contrib amd64 Packages/DiffIndex
Ign http://http.us.debian.org sid/main amd64 Packages/DiffIndex
Err http://http.us.debian.org sid/contrib Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/main Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/non-free Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/non-free amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/contrib amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/main amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://ftp.debian.org stable Release.gpg
Could not resolve 'ftp.debian.org'
Err http://ftp.debian.org sid-updates Release.gpg
Could not resolve 'ftp.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/Release.gpg Could not resolve 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/Release.gpg Could not resolve 'ftp.debian.org'
W: Failed to fetch http://security.debian.org/dists/sid/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/Release.gpg Could not connect to http.us.debian.org:80 (2610:148:1f10:3::89). - connect (101: Network is unreachable)
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/contrib/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/main/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/non-free/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/non-free/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/contrib/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/main/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ahmad-rostami:/home/masoud# apt-get update
Err http://http.us.debian.org sid Release.gpg
Could not connect to http.us.debian.org:80 (2610:148:1f10:3::89). - connect (101: Network is unreachable)
Ign http://http.us.debian.org sid Release
Ign http://http.us.debian.org sid/non-free amd64 Packages/DiffIndex
Ign http://http.us.debian.org sid/contrib amd64 Packages/DiffIndex
Ign http://http.us.debian.org sid/main amd64 Packages/DiffIndex
Err http://http.us.debian.org sid/contrib Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/main Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/non-free Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/non-free amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/contrib amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/main amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://security.debian.org sid/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://ftp.debian.org stable Release.gpg
Could not connect to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable)
Err http://ftp.debian.org sid-updates Release.gpg
Unable to connect to ftp.debian.org:http:
Ign http://ftp.debian.org stable Release
Ign http://ftp.debian.org sid-updates Release
Ign http://ftp.debian.org stable/main amd64 Packages/DiffIndex
Ign http://ftp.debian.org stable/contrib amd64 Packages/DiffIndex
Ign http://ftp.debian.org stable/non-free amd64 Packages/DiffIndex
Err http://ftp.debian.org stable/contrib Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/main Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/non-free Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/main amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/contrib amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/non-free amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/contrib Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/main Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/non-free Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/main amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/contrib amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/non-free amd64 Packages
Unable to connect to ftp.debian.org:http:
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/Release.gpg Could not connect to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable)
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/Release.gpg Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://security.debian.org/dists/sid/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/Release.gpg Could not connect to http.us.debian.org:80 (2610:148:1f10:3::89). - connect (101: Network is unreachable)
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/contrib/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/main/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/non-free/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/non-free/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/contrib/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/main/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/contrib/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/main/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/non-free/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/main/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/contrib/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/non-free/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/contrib/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/main/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/non-free/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/main/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/contrib/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/non-free/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ahmad-rostami:/home/masoud# apt-get update
Err http://ftp.debian.org stable Release.gpg
Could not connect to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable)
Err http://ftp.debian.org sid-updates Release.gpg
Unable to connect to ftp.debian.org:http:
Ign http://ftp.debian.org stable Release
Ign http://ftp.debian.org sid-updates Release
Ign http://ftp.debian.org stable/main amd64 Packages/DiffIndex
Ign http://ftp.debian.org stable/contrib amd64 Packages/DiffIndex
Ign http://ftp.debian.org stable/non-free amd64 Packages/DiffIndex
Err http://ftp.debian.org stable/contrib Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/main Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/non-free Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/main amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/contrib amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/non-free amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/contrib Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/main Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org sid-updates/non-free Translation-en
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/main amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/contrib amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://ftp.debian.org stable/non-free amd64 Packages
Unable to connect to ftp.debian.org:http:
Err http://http.us.debian.org sid Release.gpg
Could not connect to http.us.debian.org:80 (2610:148:1f10:3::89). - connect (101: Network is unreachable)
Ign http://http.us.debian.org sid Release
Ign http://http.us.debian.org sid/non-free amd64 Packages/DiffIndex
Ign http://http.us.debian.org sid/contrib amd64 Packages/DiffIndex
Ign http://http.us.debian.org sid/main amd64 Packages/DiffIndex
Err http://http.us.debian.org sid/contrib Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/main Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/non-free Translation-en
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/non-free amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/contrib amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://http.us.debian.org sid/main amd64 Packages
Unable to connect to http.us.debian.org:http:
Err http://security.debian.org sid/updates Release.gpg
Could not resolve 'security.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/Release.gpg Could not connect to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable)
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/Release.gpg Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://security.debian.org/dists/sid/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/Release.gpg Could not connect to http.us.debian.org:80 (2610:148:1f10:3::89). - connect (101: Network is unreachable)
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/contrib/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/main/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/non-free/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/main/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/contrib/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/non-free/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/contrib/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/main/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/sid-updates/non-free/i18n/Translation-en Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/main/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/contrib/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/stable/non-free/binary-amd64/Packages Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/contrib/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/main/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/non-free/i18n/Translation-en Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/non-free/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/contrib/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Failed to fetch http://http.us.debian.org/debian/dists/sid/main/binary-amd64/Packages Unable to connect to http.us.debian.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
-
متن خطا رو خوندی؟
Unable to connect to http.us.debian.org
ببین چرا نمیتونی وصل شی
-
نمیدونم فیل تر نیست؟
-
فیلتر که نیست! ولی با یه مخزن دیگه عوضش کن ببین درست میشه؟
-
چطوری عوض کنم چند تا مخزن خوب معرفی کنید
-
نمیدونم فیل تر نیست؟
تمام کاری که باید می کردی این بود که اون لینک رو با مرورگرت باز کنی و ببینی داستانش چیه! =>( بخوان در نتیجه ) اگر این کار رو میکردی ۱ روز جلو میافتادی، نه؟
حالا اگر سوالت رو به انگلیسی جست و جو می کردی، اولین نتیجه به این (http://debgen.simplylinux.ch/) میرسیدی، یا اگرم انگلیسیت خوب نیست فارسی تو همین انجمن جست و جو می کردی به این (http://forum.ubuntu.ir/index.php/topic,98857.msg809342.html#msg809342)( که مشکلتو یه بار حل کرده! ) میرسیدی => ۴روز که معادل ۹۶ ساعت باشه جلو میافتادی!
اینجاست که میبینیم چرا حرفه ای ها کمتر سوال می کنن.
پس محتویات پرونده ی etc/apt/sources.list/ رو به:
deb http://ftp.debian.org/debian unstable main contrib non-free
deb http://ftp.debian.org/debian/ Sid-updates main contrib non-free
deb http://security.debian.org/ Sid/updates main contrib non-free
تغییر بده.
-
نشد که چرا بابا سرچم کردم حل نشد مشکلم بازم این مخازن را هم عوض کردم این ارور را میده
apt-get update
Err http://ftp.debian.org unstable Release.gpg
Could not resolve 'ftp.debian.org'
Err http://ftp.debian.org Sid-updates Release.gpg
Could not resolve 'ftp.debian.org'
Ign http://security.debian.org Sid/updates Release.gpg
Ign http://security.debian.org Sid/updates Release
Err http://security.debian.org Sid/updates/main amd64 Packages
404 Not Found [IP: 200.17.202.197 80]
Err http://security.debian.org Sid/updates/contrib amd64 Packages
404 Not Found [IP: 200.17.202.197 80]
Err http://security.debian.org Sid/updates/non-free amd64 Packages
404 Not Found [IP: 200.17.202.197 80]
Ign http://security.debian.org Sid/updates/contrib Translation-en
Ign http://security.debian.org Sid/updates/main Translation-en
Ign http://security.debian.org Sid/updates/non-free Translation-en
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/unstable/Release.gpg Could not resolve 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/Sid-updates/Release.gpg Could not resolve 'ftp.debian.org'
W: Failed to fetch http://security.debian.org/dists/Sid/updates/main/binary-amd64/Packages 404 Not Found [IP: 200.17.202.197 80]
W: Failed to fetch http://security.debian.org/dists/Sid/updates/contrib/binary-amd64/Packages 404 Not Found [IP: 200.17.202.197 80]
W: Failed to fetch http://security.debian.org/dists/Sid/updates/non-free/binary-amd64/Packages 404 Not Found [IP: 200.17.202.197 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
-
خیلی عجیبه!
http://forums.debian.net/viewtopic.php?f=10&t=80623%29
-
مشکلی که بیان کرده اینه:
Could not resolve 'ftp.debian.org
یعنی با DNS مشکل داری. با کاربر ریشه این دستور رو بنویس و ببین مشکل حل میشه یا نه:
echo -e "nameserver 8.8.8.8\nnameserver 4.2.2.4" > /etc/resolv.conf
در ضمن، مخازنی که داری برای SID هستش، یعنی از Debian 7.6 استفاده نمیکنی!
-
پس از چی استفاده میکنم ؟؟؟
نشد
-
نشد که جواب نیست :) اینطوری عموما جوابی مثل این میگیرید: پس نمیشه!
خروجی دستوراتی که زدید چیه؟
بالاتر هم جواب سوال اول رو دادم، شما مخازن Debian SID یا همون Debian Unstable رو دارید.
-
مشکلی که بیان کرده اینه:
Could not resolve 'ftp.debian.org
یعنی با DNS مشکل داری.
خوب یحتمل اگر DNS مشکل داشته باشه نباید بتونه خیلی از سایت ها رو باز کنه. اگر مثلا این جا رو میتونه نیم رزولیشن کنه دلیل نمیشه که اون جا رو هم نیم رزولیشن کنه؟ مگه ساختار DNS سلسله مراتبی نیست؟ یکم توضیح میدید؟
-
درست شد دستتون درد نکنه دوباره همون مخازن دبیان استیبل را زدم حل شد نمیدونم مشکل از کجا بود.
-
خوب یحتمل اگر DNS مشکل داشته باشه نباید بتونه خیلی از سایت ها رو باز کنه. اگر مثلا این جا رو میتونه نیم رزولیشن کنه دلیل نمیشه که اون جا رو هم نیم رزولیشن کنه؟ مگه ساختار DNS سلسله مراتبی نیست؟ یکم توضیح میدید؟
به دلیل نوع ساختار DNS (پروتکل UDP، مقادیر Cache شده، ...) به راحتی نمیشه مشکلات DNS رو پیدا کرد و نیاز به تستهای مختلفی داره، ولی وقتی چیزی Resolve نمیشه، اکثر مواقع مشکل از DNS هستش.