انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: saeed jeddi در 02 اسفند 1402، 03:46 بظ
-
➜ Desktop sudo apt update
[sudo] password for saeed:
Ign:1 https://example.com/apt stable InRelease
Hit:2 https://deb.termius.com squeeze InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Get:6 https://debrepo.freedownloadmanager.org bionic InRelease [1,706 B]
Err:7 https://example.com/apt stable Release
404 Not Found [IP: 93.184.216.34 443]
Hit:8 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:9 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease
Hit:10 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:6 https://debrepo.freedownloadmanager.org bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83321298093B2149
Hit:11 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
Hit:12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease
Hit:13 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease
Reading package lists... Done
E: The repository 'https://example.com/apt stable 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.
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://us.archive.ubuntu.com/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://dl.google.com/linux/chrome/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: https://debrepo.freedownloadmanager.org bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83321298093B2149
E: The repository 'https://debrepo.freedownloadmanager.org bionic InRelease' is not signed.
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.
W: http://us.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/apps/ubuntu/dists/jammy-apps-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://us.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/apps/ubuntu/dists/jammy-apps-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/infra/ubuntu/dists/jammy-infra-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/infra/ubuntu/dists/jammy-infra-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
➜ Desktop
-
خیلی sources.list بهم ریخته.
هرچی پرونده در
/etc/apt/sources.list.d
هستو پاک کنید
بعد برید پرونده etc/apt/sources.list/ را ببینید که تغیری نکرده باشه. اگه تغیری کرده اونو هم درست کنید و بعد پرونده رو ذخیره کنید و بعد
sudo apt update
دیگه هم مخزن خارجی اضافه نکنید.
-
➜ Desktop sudo apt update
[sudo] password for saeed:
Ign:1 https://example.com/apt stable InRelease
Hit:2 https://deb.termius.com squeeze InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Get:6 https://debrepo.freedownloadmanager.org bionic InRelease [1,706 B]
Err:7 https://example.com/apt stable Release
404 Not Found [IP: 93.184.216.34 443]
Hit:8 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:9 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease
Hit:10 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:6 https://debrepo.freedownloadmanager.org bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83321298093B2149
Hit:11 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
Hit:12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease
Hit:13 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease
Reading package lists... Done
E: The repository 'https://example.com/apt stable 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.
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://us.archive.ubuntu.com/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://dl.google.com/linux/chrome/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: https://debrepo.freedownloadmanager.org bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83321298093B2149
E: The repository 'https://debrepo.freedownloadmanager.org bionic InRelease' is not signed.
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.
W: http://us.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/apps/ubuntu/dists/jammy-apps-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://us.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/apps/ubuntu/dists/jammy-apps-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/infra/ubuntu/dists/jammy-infra-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/infra/ubuntu/dists/jammy-infra-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
➜ Desktop
به میرور هات چیز های اشتباه اضافه کردی یا از سایت هایی کپی کردی و متوجه نشدی.مثلا این رو باید حذف کنی:
https://example.com/apt stable
بقیش مشکل آن چنان نداره فقط این رو درست کنی خوب میشه.
و راستی freedownloadmanager هم چند وقت پیش میگفتن بدافزار پیدا کرده نسخه اوبونتوش.اون و مخزنش هم پاک کن.
-
سوالت در واقع یعنی «می خوام چیز بیشتری یاد بگیرم یا ترجیح می دم صورت مساله رو پاک کنم». گزینه دوم هم مشکلی نداره. آدم گاهی می خواد سریعتر برگرده به حالت عادی. ولی در دنیای لینوکس صد در صد خطاها قابل حل هستن. تنها بحث اینه که چقدر می خوای عمیق بشی و تلاش کنی و یاد بگیری. اینجا خطاها فرصتی برای یاد گرفتن و پیشرفت هستن.
-
سوالت در واقع یعنی «می خوام چیز بیشتری یاد بگیرم یا ترجیح می دم صورت مساله رو پاک کنم». گزینه دوم هم مشکلی نداره. آدم گاهی می خواد سریعتر برگرده به حالت عادی. ولی در دنیای لینوکس صد در صد خطاها قابل حل هستن. تنها بحث اینه که چقدر می خوای عمیق بشی و تلاش کنی و یاد بگیری. اینجا خطاها فرصتی برای یاد گرفتن و پیشرفت هستن.
;D ;D آخه خیلی گشتم چیزی راهه حلی پیدا نکردم ، دقیقا جادی جان
-
https://askubuntu.com/questions/1398344/apt-key-deprecation-warning-when-updating-system-key-is-stored-in-legacy-trust
-
مرحلهٔ ۱: هرچیزی توی /etc/apt/sources.list.d/ هست رو پاک کن
مرحلهٔ ۲: با برنامهٔ software ans sources یه آینهٔ دیگه تنظیم کن