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

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

نویسنده موضوع: مشکل در آپدیت کردن apt-get  (دفعات بازدید: 8242 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین f.hamzehi

  • Newbie
  • *
  • ارسال: 13
مشکل در آپدیت کردن apt-get
« : 22 امرداد 1397، 11:33 ق‌ظ »
با سلام.
برای نصب phpmyadmin ، گفته شده بود apt-get آپدیت بشه .
ولی هنگام آپدیت apt-get ، خطای زیر داده می شه.
W: Failed to fetch http://us.ubuntu.com/ubuntu/dists/xenial/InRelease  Could not resolve 'us.ubuntu.com'
W: Failed to fetch http://us.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Could not resolve 'us.ubuntu.com'
W: Failed to fetch http://us.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Could not resolve 'us.ubuntu.com'
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/Packages  403  Forbidden [IP: 91.189.88.161 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.


آدرس رو در صفحه sources.list به  http://us.archive.ubuntu.com/ubuntu/ تغییر دادم حل نشد.
پوشه sources.list.d رو حذف کردم.
خروجی دستور lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial
و محتویات فایل sources.list :
#

# deb cdrom:[Ubuntu-Server 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228)]/ xenial main restricted

# deb cdrom:[Ubuntu-Server 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://us.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.ubuntu.com/ubuntu/ xenial universe
# deb-src http://us.ubuntu.com/ubuntu/ xenial universe
deb http://us.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://us.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://us.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://us.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://us.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

چی کارش کنممممم.
« آخرین ویرایش: 22 امرداد 1397، 11:48 ق‌ظ توسط f.hamzehi »

آفلاین f.hamzehi

  • Newbie
  • *
  • ارسال: 13
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #1 : 22 امرداد 1397، 01:15 ب‌ظ »
هر راه حلی بود من امتحان کردم ، جواب نداد.
به دلیل شرایط کاری نمی تونم از ف.ی.ل.ت.ر شکن ها استفاده کنم و تست بگیرم.
نمیشه به شکل آفلاین آپدیت کرد؟؟

آفلاین Farhaad 1992

  • Hero Member
  • *
  • ارسال: 943
  • جنسیت : پسر
  • گنو با گنوم
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #2 : 22 امرداد 1397، 04:55 ب‌ظ »
از یک میرور دیگر که نزدیک‌تر باشه استفاده کنید، از لهستان یا کشورهای اروپا یا همین ir استفاده کنید. برای تغییر بهتر است از برنامه software-properties-gtk استفاده کنید، یک راه دیگه هم نصب نسخه 18.04 LTS است.
* نام کاربری حساب من Fedora-Red Hat است ولی نام نمایهٔ (پروفایل) من، نام حقیقی + سال تولد من است
* از دی ۱۳۹۸ دیگر فعالیت پیوسته و دائم ندارم
* نظرات و ارسال‌های من فقط در زمان ارسال خود معتبر بودند و نشان‌دهنده طرز فکر و سطح دانش فعلی من نیستند

آفلاین f.hamzehi

  • Newbie
  • *
  • ارسال: 13
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #3 : 23 امرداد 1397، 07:53 ق‌ظ »
برای نصب software-properties-gtk خطای زیر رو می ده
Unable to locate package software-properties-gtkدر ضمن اوبونتوی من از نوع سرور هست نسخه دسکتاپ نیست.
چندین میرور رو تست کردم توی همه تا 17 درصد جلو میره دقیقا سر یه خط قطع می شه و خطا میده
برای دستور do-release-upgrade خطای زیر رو میده
Checking for a new Ubuntu release
Err Upgrade tool signature
  403  Forbidden [IP: 84.116.34.232 80]
Err Upgrade tool
  403  Forbidden [IP: 84.116.34.232 80]
Fetched 0 B in 0s (0 B/s)
WARNING:root:file 'bionic.tar.gz.gpg' missing
Failed to fetch
« آخرین ویرایش: 23 امرداد 1397، 08:41 ق‌ظ توسط f.hamzehi »

آفلاین Farhaad 1992

  • Hero Member
  • *
  • ارسال: 943
  • جنسیت : پسر
  • گنو با گنوم
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #4 : 23 امرداد 1397، 10:55 ق‌ظ »
مشکل عجیبیه، یا تو mailing list خود اوبونتو مطرح کنید تا توسعه دهندگان اوبونتو که بیشتر از هرکس دیگری به توزیعشون آشنا هستند پاسخ شما را بدهند یا اینکه اوبونتو 18.04 را دانلود و از ابتدا نصب کنید.
* نام کاربری حساب من Fedora-Red Hat است ولی نام نمایهٔ (پروفایل) من، نام حقیقی + سال تولد من است
* از دی ۱۳۹۸ دیگر فعالیت پیوسته و دائم ندارم
* نظرات و ارسال‌های من فقط در زمان ارسال خود معتبر بودند و نشان‌دهنده طرز فکر و سطح دانش فعلی من نیستند

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #5 : 24 امرداد 1397، 01:20 ق‌ظ »
سلام

اول با این دستور تمام محتوی موجود توی sources.list رو کامنت کنین (محتوی که کامنت می شن قبلشون سه تا # به وجود میاد و اگه می خواین به حالت اول برگردونین ، کافیه خط هایی که ### رو دارن رو از کامنت بودن دربیارین) :
sudo sed -ri '/^(#|$)/! s/^/###/g' /etc/apt/sources.list
حالا این دستور رو وارد کنین (تمام این خطوط یک دستور هستن و با هم کپی و وارد کنین):
cat << EOL | sudo tee -a /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-backports multiverse restricted universe main
EOL

حالا تست کنین ببینین که هم چنان مخازن مشکل دارن یا حل شده :
sudo apt update

اگه هم چنان مشکل پابرجا بودش به احتمال زیاد دیگه مشکل از مخازن نیستش پس به فایل sources.list دست نزنین.

به احتمال زیاد مشکل از DNS شما هستش ، پس خروجی این دستورات رو بذارین :
ping google.com -c 4
ping 8.8.8.8 -c 4
cat /etc/resolv.conf
« آخرین ویرایش: 24 امرداد 1397، 02:07 ق‌ظ توسط علی رزم دیده »

آفلاین f.hamzehi

  • Newbie
  • *
  • ارسال: 13
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #6 : 24 امرداد 1397، 08:38 ق‌ظ »
نقل‌قول
حالا تست کنین ببینین که هم چنان مخازن مشکل دارن یا حل شده :
متاسفانه حل نشد. دقیقا همون خط قبلی ، خطا میده.
خروجی دستور ping google.com -c 4
PING google.com (172.217.21.238) 56(84) bytes of data.
64 bytes from fra16s13-in-f14.1e100.net (172.217.21.238): icmp_seq=1 ttl=128 time=100 ms
64 bytes from fra16s13-in-f14.1e100.net (172.217.21.238): icmp_seq=2 ttl=128 time=99.7 ms
64 bytes from fra16s13-in-f14.1e100.net (172.217.21.238): icmp_seq=3 ttl=128 time=106 ms
64 bytes from fra16s13-in-f14.1e100.net (172.217.21.238): icmp_seq=4 ttl=128 time=102 ms

خروجی دستورping 8.8.8.8 -c 4:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=128 time=109 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=128 time=111 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=128 time=128 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=128 time=106 ms

خروجی دستور cat /etc/resolv.conf :
root@WordPress:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.154.2
search localdomain

اوبونتو روی ماشین مجازی نصب شده.تنظیمات شبکه ماشین روی Nat هست .

« آخرین ویرایش: 24 امرداد 1397، 11:46 ق‌ظ توسط f.hamzehi »

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #7 : 24 امرداد 1397، 01:00 ب‌ظ »
لطفاً خروجی sudo apt update رو کامل بذارین تا دقیق مشکل رو تشخیص بدیم و راحت تر به مشکل شما نزدیک بشیم.

چون اول مخازنتون مشکل داشت و http://us.ubuntu.com توی لیست مخازنتون قرار داشت که آدرس اشتباهیه. (درستش میشه us.archive.ubuntu.com)
برای همین شما خطای Could not resolve رو دریافت می کردین.

ولی الان که http://archive.ubuntu.com رو توی لیست مخازنتون قرار دادیم اصولاً نباید خطای Could not resolve رو دریافت کنین.
پس لطفاً خروجی دقیق و کامل رو بذارین تا به مشکل شما نزدیک تر بشیم.

در ضمن خروجی این دستورات رو هم بذارین :
ping -c 4 us.archive.ubuntu.com
ping -c 4 archive.ubuntu.com
host -v archive.ubuntu.com
host -v us.archive.ubuntu.com
« آخرین ویرایش: 24 امرداد 1397، 01:28 ب‌ظ توسط علی رزم دیده »

آفلاین f.hamzehi

  • Newbie
  • *
  • ارسال: 13
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #8 : 27 امرداد 1397، 10:06 ق‌ظ »
من مخازن رو خیلی تغییر دادم. این خروجی اول برای فایل اصلی هست که از اول بوده و من تغییری ندادم.
خروجی دستور sudo apt update
Ign:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Err:2 http://us.ubuntu.com/ubuntu xenial InRelease
  Could not resolve 'us.ubuntu.com'
Err:3 http://us.ubuntu.com/ubuntu xenial-updates InRelease
  Could not resolve 'us.ubuntu.com'
Err:4 http://us.ubuntu.com/ubuntu xenial-backports InRelease
  Could not resolve 'us.ubuntu.com'
Ign:5 http://security.ubuntu.com/ubuntu xenial-security Release
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
Ign:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main all Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en_US
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/restricted all Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en_US
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe all Packages
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en_US
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
Ign:23 http://security.ubuntu.com/ubuntu xenial-security/multiverse all Packages
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en_US
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
Ign:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main all Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en_US
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/restricted all Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en_US
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe all Packages
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en_US
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
Ign:23 http://security.ubuntu.com/ubuntu xenial-security/multiverse all Packages
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en_US
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
Ign:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main all Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en_US
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/restricted all Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en_US
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe all Packages
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en_US
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
Ign:23 http://security.ubuntu.com/ubuntu xenial-security/multiverse all Packages
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en_US
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
Ign:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main all Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en_US
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/restricted all Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en_US
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe all Packages
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en_US
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
Ign:23 http://security.ubuntu.com/ubuntu xenial-security/multiverse all Packages
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en_US
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
Ign:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main all Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en_US
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/restricted all Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en_US
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe all Packages
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en_US
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
Ign:23 http://security.ubuntu.com/ubuntu xenial-security/multiverse all Packages
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en_US
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en
Err:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
  403  Forbidden [IP: 91.189.91.23 80]
Ign:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main all Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en_US
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/restricted all Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en_US
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Reading package lists... Done
W: The repository 'http://security.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Failed to fetch http://us.ubuntu.com/ubuntu/dists/xenial/InRelease  Could not resolve 'us.ubuntu.com'
W: Failed to fetch http://us.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Could not resolve 'us.ubuntu.com'
W: Failed to fetch http://us.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Could not resolve 'us.ubuntu.com'
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/Packages  403  Forbidden [IP: 91.189.91.23 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

خروجی دستور sudo apt update برای us.archive.ubuntu.com
Ign:72 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en_US
Ign:73 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en
Ign:74 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages
Ign:75 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted i386 Packages
Ign:76 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted all Packages
Ign:77 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en_US
Ign:78 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en
Ign:79 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe all Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en_US
Ign:83 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en
Ign:84 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse i386 Packages
Ign:86 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse all Packages
Ign:87 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en_US
Ign:88 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en
Ign:17 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
Ign:22 http://us.archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:25 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en_US
Ign:27 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:30 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:32 http://us.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
Ign:35 http://us.archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:37 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en_US
Ign:38 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:39 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:40 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
Ign:41 http://us.archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:42 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en_US
Ign:43 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:44 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:45 http://us.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
Ign:46 http://us.archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Ign:47 http://us.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en_US
Ign:48 http://us.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:49 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
Ign:50 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
Ign:51 http://us.archive.ubuntu.com/ubuntu xenial-updates/main all Packages
Ign:52 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en_US
Ign:53 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en
Ign:54 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
Ign:55 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
Ign:56 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted all Packages
Ign:57 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en_US
Ign:58 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en
Ign:59 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
Ign:60 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
Ign:61 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe all Packages
Ign:62 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en_US
Ign:63 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en
Ign:64 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages
Ign:65 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages
Ign:66 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse all Packages
Ign:67 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en_US
Ign:68 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en
Ign:69 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
Ign:70 http://us.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
Ign:71 http://us.archive.ubuntu.com/ubuntu xenial-backports/main all Packages
Ign:72 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en_US
Ign:73 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en
Ign:74 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages
Ign:75 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted i386 Packages
Ign:76 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted all Packages
Ign:77 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en_US
Ign:78 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en
Ign:79 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe all Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en_US
Ign:83 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en
Ign:84 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse i386 Packages
Ign:86 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse all Packages
Ign:87 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en_US
Ign:88 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en
Ign:17 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
Ign:22 http://us.archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:25 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en_US
Ign:27 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:30 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:32 http://us.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
Ign:35 http://us.archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:37 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en_US
Ign:38 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:39 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:40 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
Ign:41 http://us.archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:42 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en_US
Ign:43 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:44 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:45 http://us.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
Ign:46 http://us.archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Ign:47 http://us.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en_US
Ign:48 http://us.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:49 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
Ign:50 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
Ign:51 http://us.archive.ubuntu.com/ubuntu xenial-updates/main all Packages
Ign:52 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en_US
Ign:53 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en
Ign:54 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
Ign:55 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
Ign:56 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted all Packages
Ign:57 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en_US
Ign:58 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en
Ign:59 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
Ign:60 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
Ign:61 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe all Packages
Ign:62 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en_US
Ign:63 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en
Ign:64 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages
Ign:65 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages
Ign:66 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse all Packages
Ign:67 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en_US
Ign:68 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en
Ign:69 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
Ign:70 http://us.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
Ign:71 http://us.archive.ubuntu.com/ubuntu xenial-backports/main all Packages
Ign:72 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en_US
Ign:73 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en
Ign:74 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages
Ign:75 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted i386 Packages
Ign:76 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted all Packages
Ign:77 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en_US
Ign:78 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en
Ign:79 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe all Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en_US
Ign:83 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en
Ign:84 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse i386 Packages
Ign:86 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse all Packages
Ign:87 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en_US
Ign:88 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en
Ign:17 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
Ign:22 http://us.archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:25 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en_US
Ign:27 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:30 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:32 http://us.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
Ign:35 http://us.archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:37 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en_US
Ign:38 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:39 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:40 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
Ign:41 http://us.archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:42 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en_US
Ign:43 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:44 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:45 http://us.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
Ign:46 http://us.archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Ign:47 http://us.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en_US
Ign:48 http://us.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:49 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
Ign:50 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
Ign:51 http://us.archive.ubuntu.com/ubuntu xenial-updates/main all Packages
Ign:52 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en_US
Ign:53 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en
Ign:54 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
Ign:55 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
Ign:56 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted all Packages
Ign:57 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en_US
Ign:58 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en
Ign:59 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
Ign:60 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
Ign:61 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe all Packages
Ign:62 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en_US
Ign:63 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en
Ign:64 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages
Ign:65 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages
Ign:66 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse all Packages
Ign:67 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en_US
Ign:68 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en
Ign:69 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
Ign:70 http://us.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
Ign:71 http://us.archive.ubuntu.com/ubuntu xenial-backports/main all Packages
Ign:72 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en_US
Ign:73 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en
Ign:74 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages
Ign:75 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted i386 Packages
Ign:76 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted all Packages
Ign:77 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en_US
Ign:78 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en
Ign:79 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages
Ign:80 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages
Ign:81 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe all Packages
Ign:82 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en_US
Ign:83 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en
Ign:84 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 Packages
Ign:85 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse i386 Packages
Ign:86 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse all Packages
Ign:87 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en_US
Ign:88 http://us.archive.ubuntu.com/ubuntu xenial-backports/multiverse Translation-en
Err:17 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
  403  Forbidden [IP: 91.189.91.23 80]
Ign:20 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
Ign:22 http://us.archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:25 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en_US
Ign:27 http://us.archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:30 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:32 http://us.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
Ign:35 http://us.archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:37 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en_US
Ign:38 http://us.archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:39 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Err:49 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
  403  Forbidden [IP: 91.189.91.23 80]
Ign:50 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
Ign:51 http://us.archive.ubuntu.com/ubuntu xenial-updates/main all Packages
Ign:52 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en_US
Ign:53 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en
Ign:54 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
Ign:55 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
Ign:56 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted all Packages
Ign:57 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en_US
Ign:58 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en
Ign:59 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
Err:69 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
  403  Forbidden [IP: 91.189.91.23 80]
Ign:70 http://us.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
Ign:71 http://us.archive.ubuntu.com/ubuntu xenial-backports/main all Packages
Ign:72 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en_US
Ign:73 http://us.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en
Ign:74 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 Packages
Ign:75 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted i386 Packages
Ign:76 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted all Packages
Ign:77 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en_US
Ign:78 http://us.archive.ubuntu.com/ubuntu xenial-backports/restricted Translation-en
Ign:79 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages
Reading package lists... Done
W: The repository 'http://security.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://us.archive.ubuntu.com/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://us.archive.ubuntu.com/ubuntu xenial-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://us.archive.ubuntu.com/ubuntu xenial-backports Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-amd64/Packages  403  Forbidden [IP: 91.189.88.162 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-amd64/Packages  403  Forbidden [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/Packages  403  Forbidden [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-amd64/Packages  403  Forbidden [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

خروجی دستور ping -c 4 us.archive.ubuntu.com
PING us.archive.ubuntu.com (91.189.91.23) 56(84) bytes of data.
64 bytes from economy.canonical.com (91.189.91.23): icmp_seq=1 ttl=128 time=227 ms
64 bytes from economy.canonical.com (91.189.91.23): icmp_seq=2 ttl=128 time=198 ms
64 bytes from economy.canonical.com (91.189.91.23): icmp_seq=3 ttl=128 time=209 ms
64 bytes from economy.canonical.com (91.189.91.23): icmp_seq=4 ttl=128 time=193 ms

خروجی دستور ping -c 4 archive.ubuntu.com
PING archive.ubuntu.com (91.189.88.161) 56(84) bytes of data.
64 bytes from keeton.canonical.com (91.189.88.161): icmp_seq=1 ttl=128 time=131 ms
64 bytes from keeton.canonical.com (91.189.88.161): icmp_seq=2 ttl=128 time=124 ms
64 bytes from keeton.canonical.com (91.189.88.161): icmp_seq=3 ttl=128 time=124 ms
64 bytes from keeton.canonical.com (91.189.88.161): icmp_seq=4 ttl=128 time=131 ms

خروجی دستور host -v archive.ubuntu.com
Trying "archive.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6109
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;archive.ubuntu.com.            IN      A

;; ANSWER SECTION:
archive.ubuntu.com.     5       IN      A       91.189.88.149
archive.ubuntu.com.     5       IN      A       91.189.88.162
archive.ubuntu.com.     5       IN      A       91.189.88.161
archive.ubuntu.com.     5       IN      A       91.189.88.152

Received 100 bytes from 192.168.154.2#53 in 2 ms
Trying "archive.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13254
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;archive.ubuntu.com.            IN      AAAA

;; ANSWER SECTION:
archive.ubuntu.com.     5       IN      AAAA    2001:67c:1360:8001::21
archive.ubuntu.com.     5       IN      AAAA    2001:67c:1560:8001::11
archive.ubuntu.com.     5       IN      AAAA    2001:67c:1560:8001::14
archive.ubuntu.com.     5       IN      AAAA    2001:67c:1360:8001::17

Received 148 bytes from 192.168.154.2#53 in 2 ms
Trying "archive.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49349
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;archive.ubuntu.com.            IN      MX

;; AUTHORITY SECTION:
ubuntu.com.             5       IN      SOA     ns1.canonical.com. hostmaster.canonical.com. 2018050855 10800 3600 604800 3600

Received 97 bytes from 192.168.154.2#53 in 2 ms


و خروجی دستور host -v us.archive.ubuntu.com
Trying "us.archive.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65030
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;us.archive.ubuntu.com.         IN      A

;; ANSWER SECTION:
us.archive.ubuntu.com.  5       IN      A       91.189.91.26
us.archive.ubuntu.com.  5       IN      A       91.189.91.23

Received 71 bytes from 192.168.154.2#53 in 84 ms
Trying "us.archive.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17573
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;us.archive.ubuntu.com.         IN      AAAA

;; ANSWER SECTION:
us.archive.ubuntu.com.  5       IN      AAAA    2001:67c:1562::19
us.archive.ubuntu.com.  5       IN      AAAA    2001:67c:1562::16

Received 95 bytes from 192.168.154.2#53 in 259 ms
Trying "us.archive.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21271
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;us.archive.ubuntu.com.         IN      MX

;; AUTHORITY SECTION:
ubuntu.com.             5       IN      SOA     ns1.canonical.com. hostmaster.canonical.com. 2018050855 10800 3600 604800 3600

Received 100 bytes from 192.168.154.2#53 in 100 ms

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #9 : 27 امرداد 1397، 03:21 ب‌ظ »
اگه به خروجی ها دقیق تر نیگاه کنین مشکل Could not resolve توی خروجی دوم وجود نداره ولی خطای 403  Forbidden هم چنان وجود داره.

پس اول می خوام در مورد مشکل شما(403  Forbidden) یه توضیح بدم. این مشکل می تونه ناشی از عوامل زیر باشه :

مشکل از طرف سرور باشه :

1.می تونه مشکل از کانفیگ های اشتباه سرور باشه
2.می تونه مشکل از این باشه که ip شما توی بلک لیست سرور قرار داشته باشه


مشکل از طرف شما باشه :

1.آدرس سرور توسط فایروال سیستم شما یا DNS و ... مسدود شده باشه
2.توی کانفیگ های apt پراکسی ست شده باشه که باعث این اتفاق بشه این ممکنه و باید تست بشه چون مثلاً امکانش هست که پراکسی سروری مثل اسکوئید راه اندازی شده باشه و توی کانفیگش اتصال به سایت های مختلف مسدود شده باشه.
3. ....

اینا رو برای این گفتم که بدونین مشکل ساده و دم دستی نیست و باید خروجی زیادی ازتون گرفته بشه و بر مبنای اون نظر داده بشه پس توی حل این مشکل باید صبور باشین.

خب حالا ازتون می خوام خروجی این دستورات رو بدین تا بر مبنای اون دنبال راه حل باشیم :
tail -n +1  /etc/hosts /etc/environment /etc/apt/apt.conf /etc/apt/apt.conf.d/*
curl -v http://archive.ubuntu.com
curl -v ftp://archive.ubuntu.com
echo $http_proxy

آفلاین f.hamzehi

  • Newbie
  • *
  • ارسال: 13
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #10 : 28 امرداد 1397، 10:25 ق‌ظ »
نقل‌قول
اینا رو برای این گفتم که بدونین مشکل ساده و دم دستی نیست و باید خروجی زیادی ازتون گرفته بشه و بر مبنای اون نظر داده بشه پس توی حل این مشکل باید صبور باشین.
از صبر و حوصله شما و همین طور پاسخ گویی شما ممنونم.
اجازه بدید یه توصیفی از شرایط براتون بگم:
من روی ماشین مجازی(VmWorkstation10) اوبونتو سرور رو نصب کردم.تنظیمات شبکه ماشین روی NAT هست .ماشین روی شبکه یه مرکز دولتیه.(میشه احتمال داد این قضیه روی آپدیت نشدن دخیل باشه؟؟ مثلا سایت mediafire اینجا بسته اس) تنظیمات شبکه اوبونتو روی DHCP هست ، وقتی DNS رو تنظیم می کنم و از DHCP برمی دارم پینگ گوگل رو ندارم.
برای نصب وردپرس می خوام از اوبونتو استفاده کنم . با توجه به مشکلی که پیش اومد اوبونتو 18.04 رو هم نصب کردم بازم توی آپدیت مخازن مشکل داره ولی خطاش فرق داره و همون خط اول گیر می کنه.

خروجی دستور
نقل‌قول
tail -n +1  /etc/hosts /etc/environment /etc/apt/apt.conf /etc/apt/apt.conf.d/*
==> /etc/hosts <==
127.0.0.1       localhost
127.0.1.1       WordPress

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

==> /etc/environment <==
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

tail: cannot open '/etc/apt/apt.conf' for reading: No such file or directory
==> /etc/apt/apt.conf.d/00aptitude <==
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";

==> /etc/apt/apt.conf.d/00CDMountPoint <==
Acquire::cdrom {
  mount "/media/cdrom";
};
Dir::Media::MountPath "/media/cdrom";

==> /etc/apt/apt.conf.d/00trustcdrom <==
APT::Authentication::TrustCDROM "true";

==> /etc/apt/apt.conf.d/01autoremove <==
APT
{
  NeverAutoRemove
  {
        "^firmware-linux.*";
        "^linux-firmware$";
  };

  VersionedKernelPackages
  {
        # linux kernels
        "linux-image";
        "linux-headers";
        "linux-image-extra";
        "linux-signed-image";
        # kfreebsd kernels
        "kfreebsd-image";
        "kfreebsd-headers";
        # hurd kernels
        "gnumach-image";
        # (out-of-tree) modules
        ".*-modules";
        ".*-kernel";
        "linux-backports-modules-.*";
        # tools
        "linux-tools";
  };

  Never-MarkAuto-Sections
  {
        "metapackages";
        "contrib/metapackages";
        "non-free/metapackages";
        "restricted/metapackages";
        "universe/metapackages";
        "multiverse/metapackages";
  };

  Move-Autobit-Sections
  {
        "oldlibs";
        "contrib/oldlibs";
        "non-free/oldlibs";
        "restricted/oldlibs";
        "universe/oldlibs";
        "multiverse/oldlibs";
  };
};

==> /etc/apt/apt.conf.d/01autoremove-kernels <==
// DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal
APT::NeverAutoRemove
{
   "^linux-image-4\.4\.0-116-generic$";
   "^linux-headers-4\.4\.0-116-generic$";
   "^linux-image-extra-4\.4\.0-116-generic$";
   "^linux-signed-image-4\.4\.0-116-generic$";
   "^kfreebsd-image-4\.4\.0-116-generic$";
   "^kfreebsd-headers-4\.4\.0-116-generic$";
   "^gnumach-image-4\.4\.0-116-generic$";
   "^.*-modules-4\.4\.0-116-generic$";
   "^.*-kernel-4\.4\.0-116-generic$";
   "^linux-backports-modules-.*-4\.4\.0-116-generic$";
   "^linux-tools-4\.4\.0-116-generic$";
};
/* Debug information:
# dpkg list:
ii  linux-image-4.4.0-116-generic       4.4.0-116.140                              amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
iF  linux-image-extra-4.4.0-116-generic 4.4.0-116.140                              amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
iU  linux-image-generic                 4.4.0.116.122                              amd64        Generic Linux kernel image
# list of installed kernel packages:
4.4.0-116-generic 4.4.0-116.140
# list of different kernel versions:
4.4.0-116.140
# Installing kernel: 4.4.0-116.140 (4.4.0-116-generic)
# Running kernel: 4.4.0-116.140 (4.4.0-116-generic)
# Last kernel: 4.4.0-116.140
# Previous kernel:
# Kernel versions list to keep:
4.4.0-116.140
# Kernel packages (version part) to protect:
4\.4\.0-116-generic
*/

==> /etc/apt/apt.conf.d/01autoremove-postgresql <==
// File installed by postgresql-common. Currently not updated automatically,
// but might be in future releases.
//
// We mark all PostgreSQL packages as NeverAutoRemove because otherwise apt
// would remove the old postgresql-x.y package when the "postgresql" meta
// package changes its dependencies to a new version, rendering the old
// database cluster inaccessible. As access to the cluster might depend on
// other modules (like datatypes), we use a pretty wide pattern here. We might
// tighten this to match only actually used PostgreSQL versions in the future.

APT
{
  NeverAutoRemove
  {
    "^postgresql-";
  };
};

==> /etc/apt/apt.conf.d/01-vendor-ubuntu <==
Acquire::Changelogs::AlwaysOnline "true";

==> /etc/apt/apt.conf.d/10periodic <==
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";

==> /etc/apt/apt.conf.d/15update-stamp <==
APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};

==> /etc/apt/apt.conf.d/20archive <==
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";

==> /etc/apt/apt.conf.d/50unattended-upgrades <==
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}";
        "${distro_id}:${distro_codename}-security";
        // Extended Security Maintenance; doesn't necessarily exist for
        // every release and this system may not have it installed, but if
        // available, the policy for updates is such that unattended-upgrades
        // should also install from here by default.
        "${distro_id}ESM:${distro_codename}";
//      "${distro_id}:${distro_codename}-updates";
//      "${distro_id}:${distro_codename}-proposed";
//      "${distro_id}:${distro_codename}-backports";
};

// List of packages to not update (regexp are supported)
Unattended-Upgrade::Package-Blacklist {
//      "vim";
//      "libc6";
//      "libc6-dev";
//      "libc6-i686";
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "user@example.com"
//Unattended-Upgrade::Mail "root";

// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
//Unattended-Upgrade::MailOnlyOnError "true";

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";

// Automatically reboot *WITHOUT CONFIRMATION*
//  if the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";

// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";

// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";

==> /etc/apt/apt.conf.d/70debconf <==
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

==> /etc/apt/apt.conf.d/99update-notifier <==
DPkg::Post-Invoke {"if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; /usr/lib/update-notifier/update-motd-updates-available 2>/dev/null || true";};
APT::Update::Post-Invoke-Success {"/usr/lib/update-notifier/update-motd-updates-available 2>/dev/null || true";};

خروجی دستور curl -v http://archive.ubuntu.com:
* Rebuilt URL to: http://archive.ubuntu.com/
*   Trying 91.189.88.161...
* Connected to archive.ubuntu.com (91.189.88.161) port 80 (#0)
> GET / HTTP/1.1
> Host: archive.ubuntu.com
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Sun, 19 Aug 2018 05:52:37 GMT
< Server: Apache/2.4.18 (Ubuntu)
< Vary: Accept-Encoding
< Content-Length: 696
< Content-Type: text/html;charset=UTF-8
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Index of /</title>
 </head>
 <body>
<h1>Index of /</h1>
  <table>
   <tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th></tr>
   <tr><th colspan="4"><hr></th></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="ubuntu/">ubuntu/</a></td><td align="right">2018-08-19 04:15  </td><td align="right">  - </td></tr>
   <tr><th colspan="4"><hr></th></tr>
</table>
<address>Apache/2.4.18 (Ubuntu) Server at archive.ubuntu.com Port 80</address>
</body></html>
* Connection #0 to host archive.ubuntu.com left intact

خروجی دستورcurl -v ftp://archive.ubuntu.com :
* Rebuilt URL to: ftp://archive.ubuntu.com/
*   Trying 91.189.88.162...
* Connected to archive.ubuntu.com (91.189.88.162) port 21 (#0)
< 220 FTP server (vsftpd)
> USER anonymous
< 331 Please specify the password.
> PASS ftp@example.com
< 230 Login successful.
> PWD
< 257 "/" is the current directory
* Entry path is '/'
> EPSV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
< 229 Entering Extended Passive Mode (|||53763|)
*   Trying 91.189.88.162...
* Connecting to 91.189.88.162 (91.189.88.162) port 53763
* Connected to archive.ubuntu.com (91.189.88.162) port 21 (#0)
> TYPE A
< 200 Switching to ASCII mode.
> LIST
< 150 Here comes the directory listing.
* Maxdownload = -1
drwxr-xr-x    7 999      999          4096 Aug 19 04:15 ubuntu
* Remembering we are in dir ""
< 226 Directory send OK.
* Connection #0 to host archive.ubuntu.com left intact

برای دستور echo $http_proxy هیچ چیزی چاپ نمی شه.

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #11 : 30 امرداد 1397، 01:18 ق‌ظ »
از صبر و حوصله شما و همین طور پاسخ گویی شما ممنونم.
خواهش می کنم دوست عزیز


با توجه به مشکلی که پیش اومد اوبونتو 18.04 رو هم نصب کردم بازم توی آپدیت مخازن مشکل داره ولی خطاش فرق داره و همون خط اول گیر می کنه.
خطای اون رو هم کامل بذارین ممنون می شم


میشه احتمال داد این قضیه روی آپدیت نشدن دخیل باشه؟؟
اولش یکی از حدس های خودم همین بودم ولی با دیدن HTTP/1.1 200 OK توی خروجی curl به نظر میاد که حدس درستی نبوده.

اون چیزی که من توی این خروجی ها می بینم اینه که هم درخواست های ICMP و هم TCP به همون سرور ، با موفقیت جواب می گیرن. (هم پینگ و هم curl)
پس اینکه apt میاد و 403  Forbidden می زنه ، باید مشکل از کانفیگ های همین ابزار باشه نه تنظمیات کلی شبکه.
ولی مطلبی که هست من کانفیگ ها رو بررسی کردم ولی هیچ چیز خاصی که بگیم می تونه موجب چنین مشکلی بشه ندیدم. (معمولاً این مشکل با ست کردن proxy توی تنظیمات apt اتفاق میوفته که این مورد هم در مورد شما صدق نمی کرد)

سوالی که برای من پیش میاد این هستش که شما خودتون سیستم رو نصب کردین ؟ اگه بله در اون چه تنظیماتی رو تغییر دادین؟ مثلاً با AppArmor هم کار کردین و پروفایلی برای نرم افزاری ساخته باشین ؟
خروجی این دستور چیه :
sudo aa-status

آفلاین f.hamzehi

  • Newbie
  • *
  • ارسال: 13
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #12 : 30 امرداد 1397، 11:55 ق‌ظ »
خروجی دستور sudo aa-status:
apparmor module is loaded.
18 profiles are loaded.
18 profiles are in enforce mode.
   /sbin/dhclient
   /usr/bin/lxc-start
   /usr/lib/NetworkManager/nm-dhcp-client.action
   /usr/lib/NetworkManager/nm-dhcp-helper
   /usr/lib/connman/scripts/dhclient-script
   /usr/lib/libvirt/virt-aa-helper
   /usr/lib/lxd/lxd-bridge-proxy
   /usr/lib/snapd/snap-confine
   /usr/lib/snapd/snap-confine//mount-namespace-capture-helper
   /usr/lib/snapd/snap-confine//snap_update_ns
   /usr/sbin/libvirtd
   /usr/sbin/mysqld
   /usr/sbin/named
   /usr/sbin/tcpdump
   lxc-container-default
   lxc-container-default-cgns
   lxc-container-default-with-mounting
   lxc-container-default-with-nesting
0 profiles are in complain mode.
4 processes have profiles defined.
4 processes are in enforce mode.
   /sbin/dhclient (1376)
   /usr/sbin/libvirtd (1782)
   /usr/sbin/mysqld (1556)
   /usr/sbin/named (1481)
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

خطای اوبونتو 18.04:
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
  403  Forbidden [IP: 91.189.88.152 80]
Err:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
  403  Forbidden [IP: 91.189.91.23 80]
Err:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
  403  Forbidden [IP: 91.189.91.23 80]
Err:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
  403  Forbidden [IP: 91.189.91.23 80]
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                                                                     ils.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                                                                     bled by default.
E: The repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease'                                                                                                                      is not signed.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRel                                                                                                                     ease  403  Forbidden [IP: 91.189.88.152 80]
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                                                                     ils.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                                                                     bled by default.
E: The repository 'http://us.archive.ubuntu.com/ubuntu bionic InRelease' is not                                                                                                                      signed.
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease  4                                                                                                                     03  Forbidden [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRe                                                                                                                     lease  403  Forbidden [IP: 91.189.91.23 80]
E: The repository 'http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease'                                                                                                                      is not signed.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                                                                     bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                                                                     ils.
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/In                                                                                                                     Release  403  Forbidden [IP: 91.189.91.23 80]
E: The repository 'http://us.archive.ubuntu.com/ubuntu bionic-backports InReleas                                                                                                                     e' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                                                                     bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                                                                     ils.

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #13 : 01 شهریور 1397، 03:35 ق‌ظ »
والا طبق خروجی اوبونتو 18.04 نظرم برگشت و امکانش هستش که مشکل تنظیمات شبکه باشه (سیستم اداری هستش به هر حال)

پس موارد زیر رو چک کنین ببینین جواب می گیرین یا نه:

1.مخازن ایران رو تست بکنین.
اول تمام خطوط رو کامنت کنین:
sudo sed -ri '/^(#|$)/! s/^/###/g' /etc/apt/sources.listحالا با دستور زیر مخازن ایران رو وارد کنین:
cat << EOL | sudo tee -a /etc/apt/sources.list
deb http://ir.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://ir.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://ir.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://ir.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse 
EOL
حالا خروجی update رو چک کنین:
sudo apt update

اگه مشکل حل شدش که هیچی ولی اگه حل نشد این راه رو هم تست کنین:

2. یه دیسک لایو روی همون سیستم (ماشین مجازی) بالا بیارین و بعدش توی اون بعد چک کردن وصل بودن به اینترنت خروجی sudo apt update رو چک کنین.

(دلیل اینکه می گم دیسک لایو چون می خوام هیچ سرویس و نرم افزاری (مثل lxc و bind9 و mysql-server و ... روش نصب نباشه)



اگه اونجا روی دیسک لایو هم باز خطای 403  Forbidden گرفتین (دقت کنین دقیقا همین خطا) ، حالا این مورد رو چک کنین:

3. روی سیستم Host (نه مهمان) ، فارغ از ویندوزی یا گنو/لینوکسی بودن سیستم ، مرورگرتون رو باز کنین و آدرس زیر رو توش وارد کنین :
http://archive.ubuntu.com/ubuntu/
ببینین می تونین این لینک رو توی مرورگر سیستم Host تون باز کنین یا نه، اگه نتونستین که به این آدرس دسترسی ندارین و نمی شه کاریش کرد ولی اگه تونستین باید تنظیمات ماشین مجازیتون رو چک بکنین.


پ.ن:بعضا استفاده از ftp به جای http توی لیست مخازن می تونه کمک حال باشه ولی چون کار استانداردی نیستش من اونو به عنوان راه آخر فعلاً نیگه اش داشتم تا ببینم چی می شه.
« آخرین ویرایش: 01 شهریور 1397، 03:39 ق‌ظ توسط علی رزم دیده »

آفلاین f.hamzehi

  • Newbie
  • *
  • ارسال: 13
پاسخ : مشکل در آپدیت کردن apt-get
« پاسخ #14 : 03 شهریور 1397، 01:35 ب‌ظ »
سلام.
خروجی دستور آپدیت بعد از تغییر مخازن به ایران
Ign:1 http://ir.archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://ir.archive.ubuntu.com/ubuntu xenial-security InRelease
Ign:3 http://ir.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:4 http://ir.archive.ubuntu.com/ubuntu xenial-backports InRelease
Err:5 http://ir.archive.ubuntu.com/ubuntu xenial Release
  403  Forbidden
Err:6 http://ir.archive.ubuntu.com/ubuntu xenial-security Release
  403  Forbidden
Err:7 http://ir.archive.ubuntu.com/ubuntu xenial-updates Release
  403  Forbidden
Err:8 http://ir.archive.ubuntu.com/ubuntu xenial-backports Release
  403  Forbidden
Reading package lists... Done
E: The repository 'http://ir.archive.ubuntu.com/ubuntu xenial Release' does not                                                                                                                      have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                                                                     bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                                                                     ils.
E: The repository 'http://ir.archive.ubuntu.com/ubuntu xenial-security Release'                                                                                                                      does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                                                                     bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                                                                     ils.
E: The repository 'http://ir.archive.ubuntu.com/ubuntu xenial-updates Release' d                                                                                                                     oes not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                                                                     bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                                                                     ils.
E: The repository 'http://ir.archive.ubuntu.com/ubuntu xenial-backports Release'                                                                                                                      does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                                                                     bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                                                                     ils.


توی 180.4 ، لینک هایی که خطا می ده رو توی مرورگر ویندوزم می زنم باز می کنه. یعنی مشکل نمی تونه از شبکه باشه درسته ؟؟؟