انجمن‌های فارسی اوبونتو

کمک و پشتیبانی => نصب، راه‌اندازی و بروزآوری => نویسنده: 🇬🇧بریتانیای کبیر🇬🇧 در 13 شهریور 1402، 10:22 ب‌ظ

عنوان: گیر کردن دستور 'sudo apt update' در قسمت HEADER (حل شد)
ارسال شده توسط: 🇬🇧بریتانیای کبیر🇬🇧 در 13 شهریور 1402، 10:22 ب‌ظ
من دستور
sudo apt updateرا میرنم ولی در قسمت
0% [Waiting for headers] [Waiting for headers]                                 
گیر میکنه و خطا میده. آینه
https://deb.debian.org/debianرا حتی با مرورگر هم نمیتونم باز کنم.
مشکل از چیه؟

hasan@debian:~$ sudo apt update
[sudo] password for hasan:
Ign:1 https://security.debian.org/debian-security trixie-security InRelease   
Ign:2 https://deb.debian.org/debian trixie InRelease
Ign:3 https://deb.debian.org/debian trixie-updates InRelease                   
Ign:1 https://security.debian.org/debian-security trixie-security InRelease
Ign:2 https://deb.debian.org/debian trixie InRelease                           
Ign:1 https://security.debian.org/debian-security trixie-security InRelease   
Ign:3 https://deb.debian.org/debian trixie-updates InRelease                   
Err:1 https://security.debian.org/debian-security trixie-security InRelease   
  Connection failed [IP: 151.101.130.132 443]
Ign:2 https://deb.debian.org/debian trixie InRelease     
Ign:3 https://deb.debian.org/debian trixie-updates InRelease
Err:2 https://deb.debian.org/debian trixie InRelease     
  Connection failed [IP: 151.101.242.132 443]
Err:3 https://deb.debian.org/debian trixie-updates InRelease
  Connection failed [IP: 151.101.242.132 443]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://deb.debian.org/debian/dists/trixie/InRelease  Connection failed [IP: 151.101.242.132 443]
W: Failed to fetch https://security.debian.org/debian-security/dists/trixie-security/InRelease  Connection failed [IP: 151.101.130.132 443]
W: Failed to fetch https://deb.debian.org/debian/dists/trixie-updates/InRelease  Connection failed [IP: 151.101.242.132 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.

البته بار قبل خطای
Could not resolve 'deb.debian.org'گرفتم
عنوان: پاسخ : گیر کردن دستور 'sudo apt update' در قسمت HEADER
ارسال شده توسط: متی در 13 شهریور 1402، 10:28 ب‌ظ
منم همین مشکلو داشتم،اینترنت مخابرات داری؟
با شکن معمولا وصل میشه.
apt clean هم وقتی تو هدر گیر میکرد کمک میکرد.
عنوان: پاسخ : گیر کردن دستور 'sudo apt update' در قسمت HEADER
ارسال شده توسط: 🇬🇧بریتانیای کبیر🇬🇧 در 13 شهریور 1402، 10:34 ب‌ظ
منم همین مشکلو داشتم،اینترنت مخابرات داری؟
با شکن معمولا وصل میشه.
همراه اول.
بله ولی من نمیخوام برای آپدیت توزیع های گنو که هزارتا آینه دارن از فیل استفاده کنم!

با عوض کردن آینه با
https://debian.mirrors.uk2.netمشکل حل شد فقط این آینه برای توزیع تستینگ مخزن امنیتی نداره. برای توزیع تستینگ که مخزن امنیتی ضروری نیست؟
ویرایش:
را آپدیت آینه جدید این هشدار هارو میگیرم
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.



وبرایش: مشکل مخازن خود دبیان حل شد و الآن دیگر خطا نمیدهد و در header گیر نمیکند.