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

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

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




نویسنده موضوع: خطا در apt update (حل شد)  (دفعات بازدید: 1081 بار)

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

آفلاین َUxmlai-ad

  • Sr. Member
  • *
  • ارسال: 486
  • جنسیت : پسر
  • متنفر از گنو و FSF
خطا در apt update (حل شد)
« : 09 آبان 1400، 06:48 ب‌ظ »
سلام خروجی دستورsudo apt updateHit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Ign:4 http://deb.debian.org/debian bullseye-security InRelease
Err:5 http://deb.debian.org/debian bullseye-security Release
  404  Not Found [IP: 199.232.138.132 80]
Reading package lists... Done
W: Skipping acquire of configured file 'stretch-backports/binary-amd64/Packages' as repository 'http://security.debian.org bullseye-security InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/binary-i386/Packages' as repository 'http://security.debian.org bullseye-security InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/i18n/Translation-en' as repository 'http://security.debian.org bullseye-security InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/i18n/Translation-en_US' as repository 'http://security.debian.org bullseye-security InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/Components-amd64.yml' as repository 'http://security.debian.org bullseye-security InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/icons-48x48.tar' as repository 'http://security.debian.org bullseye-security InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/icons-64x64.tar' as repository 'http://security.debian.org bullseye-security InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/binary-i386/Packages' as repository 'http://deb.debian.org/debian bullseye InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/binary-amd64/Packages' as repository 'http://deb.debian.org/debian bullseye InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/i18n/Translation-en' as repository 'http://deb.debian.org/debian bullseye InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/i18n/Translation-en_US' as repository 'http://deb.debian.org/debian bullseye InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/Components-all.yml' as repository 'http://deb.debian.org/debian bullseye InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/Components-amd64.yml' as repository 'http://deb.debian.org/debian bullseye InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/icons-48x48.tar' as repository 'http://deb.debian.org/debian bullseye InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/icons-64x64.tar' as repository 'http://deb.debian.org/debian bullseye InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/binary-amd64/Packages' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/binary-i386/Packages' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/i18n/Translation-en_US' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/i18n/Translation-en' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/Components-all.yml' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/Components-amd64.yml' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/icons-48x48.tar' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stretch-backports/dep11/icons-64x64.tar' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'stretch-backports' (component misspelt in sources.list?)
E: The repository 'http://deb.debian.org/debian bullseye-security Release' does not have a Release file.
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.

چه کار باید کنم که این خطا ها رو نده حدس میزنم که به خاطر این باشه که اخیرا مخزن هایی رو می خواستم اضافه کنم نمی دونستم چه جوری باید این کار رو کنم چند بار امتحان کردم دفعه آخرش جواب داد
« آخرین ویرایش: 10 آبان 1400، 06:51 ب‌ظ توسط Aminavy »
متنفر از گنو و FSF

آفلاین behzad121

  • High Sr. Member
  • *
  • ارسال: 510
  • جنسیت : پسر
  • آرچ + گنوم
پاسخ : خطا در apt update
« پاسخ #1 : 09 آبان 1400، 07:39 ب‌ظ »
خروجی دستور بنظر میاد که احتمالا اشتباه تایپی داخل لینک مخزن هاتون دارید.
خروجی دستور زیر رو قرار بدید:
cat /etc/apt/sources.list
دیگه زیاد اینجا نیستم و بیشتر تو گروه‌های گنو/لینوکسی تلگرام کمک می‌کنم، دور از هیچ اذیت و حواشی. تلگرام: behdev@

آفلاین Dragon-

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 5125
  • جنسیت : پسر
پاسخ : خطا در apt update
« پاسخ #2 : 09 آبان 1400، 08:29 ب‌ظ »
چرا مخازن دبیان ۹ رو روی دبیان ۱۱ تنظیم کردید؟؟!! :o
راحت میشه درستش کنید؛ ولی تا وقتی درستش نکردید، هیچ بسته‌ای نصب نکنید، چیزی رو ادتقا ندید و کلا به بسته‌ها کاری نداشته باشید تا مشکلات بیشتر پیش نیاد. ترجیحا ارتقا خودکار رو هم غیرفعال کنید. برای اینکار راه‌های متفاوتی هست. فایل زیر رو باز کنید و مقادیر عددی رو به صفر تغییر بدید. البته قبلش اون مقادیر رو به خاطر بسپارید یا یه جا ذخیره کنید تا بعدا بتونید به حالت اول برگردونید.
/etc/apt/apt.conf.d/20auto-upgradesاین تنظیمات مربوط به ارتقا خودکار هست. این تنظیمات از طریق رابط‌های گرافیکی هم قابل تغییره.
خروجی دستوری که بالا گفتند رو قرار بدید.
میدونید که زکات علم نشر آن است

آفلاین َUxmlai-ad

  • Sr. Member
  • *
  • ارسال: 486
  • جنسیت : پسر
  • متنفر از گنو و FSF
پاسخ : خطا در apt update
« پاسخ #3 : 10 آبان 1400، 06:09 ب‌ظ »
خروجی دستور:
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian/ bullseye non-free main stretch-backports contrib

deb http://deb.debian.org/debian/ bullseye-updates stretch-backports contrib main non-free

deb http://deb.debian.org/debian/ bullseye-security main
deb-src http://deb.debian.org/debian/ bullseye-security main
# deb-src http://deb.debian.org/debian/bullseye bullseye main contrib non-free
deb http://security.debian.org/ bullseye-security stretch-backports contrib main non-free
متنفر از گنو و FSF

آفلاین behzad121

  • High Sr. Member
  • *
  • ارسال: 510
  • جنسیت : پسر
  • آرچ + گنوم
پاسخ : خطا در apt update
« پاسخ #4 : 10 آبان 1400، 06:16 ب‌ظ »
خروجی دستور:
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian/ bullseye non-free main stretch-backports contrib

deb http://deb.debian.org/debian/ bullseye-updates stretch-backports contrib main non-free

deb http://deb.debian.org/debian/ bullseye-security main
deb-src http://deb.debian.org/debian/ bullseye-security main
# deb-src http://deb.debian.org/debian/bullseye bullseye main contrib non-free
deb http://security.debian.org/ bullseye-security stretch-backports contrib main non-free
نسخه دبیان‌تونو بگید بهتر کمکتون میکنم.
دیگه زیاد اینجا نیستم و بیشتر تو گروه‌های گنو/لینوکسی تلگرام کمک می‌کنم، دور از هیچ اذیت و حواشی. تلگرام: behdev@

آفلاین َUxmlai-ad

  • Sr. Member
  • *
  • ارسال: 486
  • جنسیت : پسر
  • متنفر از گنو و FSF
پاسخ : خطا در apt update
« پاسخ #5 : 10 آبان 1400، 06:23 ب‌ظ »
دبیان ۱۱
اگه از داخل اون فایل پاک یا کامنت کنم مخازن برداشته میشن؟
اگه مخازنی که اضافه کردم رو پاک کنم مشکلی پیش نمیاد؟
« آخرین ویرایش: 10 آبان 1400، 06:29 ب‌ظ توسط Aminavy »
متنفر از گنو و FSF

آفلاین behzad121

  • High Sr. Member
  • *
  • ارسال: 510
  • جنسیت : پسر
  • آرچ + گنوم
پاسخ : خطا در apt update
« پاسخ #6 : 10 آبان 1400، 06:39 ب‌ظ »
اگه از داخل اون فایل پاک یا کامنت کنم مخازن برداشته میشن؟
بله ولی این کار پیشنهاد نمیشه و میتونید اول مخازن # بذارید تا کامنت بشه.
اگه مخازنی که اضافه کردم رو پاک کنم مشکلی پیش نمیاد؟
ممکنه مشکلاتی پیش بیاد. اما برای رفع مشکلتون اول از sources.list یک بک‌آپ بگیرید توی پوشه home تون. بعد بیاید تو /etc/apt/sources.list و با یه ویرایشگر متنای داخلشو وردارید و اینارو جایگزین کنید:
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main

deb http://deb.debian.org/debian-security/ bullseye-security main
deb-src http://deb.debian.org/debian-security/ bullseye-security main

deb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main
بعد apt update بزنید. اگه مشکلتون حل شد میتونید مخزن های non-free هم اضافه کنید بهشون که من فکر میکنم به اونها نیاز دارید چون داخلش اضافه کردید.
دیگه زیاد اینجا نیستم و بیشتر تو گروه‌های گنو/لینوکسی تلگرام کمک می‌کنم، دور از هیچ اذیت و حواشی. تلگرام: behdev@

آفلاین َUxmlai-ad

  • Sr. Member
  • *
  • ارسال: 486
  • جنسیت : پسر
  • متنفر از گنو و FSF
پاسخ : خطا در apt update
« پاسخ #7 : 10 آبان 1400، 06:51 ب‌ظ »
ممنون حل شد
متنفر از گنو و FSF

آفلاین Dragon-

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 5125
  • جنسیت : پسر
پاسخ : خطا در apt update (حل شد)
« پاسخ #8 : 10 آبان 1400، 06:57 ب‌ظ »
الان قسمت‌های contrib و non-free مخازن رو غیرفعال کردید. اگه سخت‌افزاری دارید که بسته‌های اون قسمت‌ها نیاز داره، یه contrib و non-free به آخر هر خطی که کامنت نیست اضافه کنید.
ارتقا خودکار رو می‌تونید به حالت قبل برگردونید.
« آخرین ویرایش: 10 آبان 1400، 07:12 ب‌ظ توسط Dragon- »
میدونید که زکات علم نشر آن است

آفلاین َUxmlai-ad

  • Sr. Member
  • *
  • ارسال: 486
  • جنسیت : پسر
  • متنفر از گنو و FSF
پاسخ : خطا در apt update (حل شد)
« پاسخ #9 : 10 آبان 1400، 07:08 ب‌ظ »
من به یکیشون اضافه کردم باید به همشون اضافه کنم؟
متنفر از گنو و FSF

آفلاین AbOl

  • Sr. Member
  • *
  • ارسال: 338
  • جنسیت : پسر
  • Debian
پاسخ : خطا در apt update (حل شد)
« پاسخ #10 : 10 آبان 1400، 07:11 ب‌ظ »
من به یکیشون اضافه کردم باید به همشون اضافه کنم؟
بله
welcome to freedom