انجمنهای فارسی اوبونتو
کمک و پشتیبانی => سایر توزیعهای گنو/لینوکس => دبیان => نویسنده: علیرضا. آ. در 21 دی 1397، 05:31 بظ
-
سلام . چند وقته هی سعی میکنم دبیان مخازنش رو بروز کنم با دستور زیر :
sudo apt update
که هی ارور زیر رو میده :Ign:1 http://debian.asis.io/debian stretch InRelease
Get:2 http://debian.asis.io/debian stretch-updates InRelease [91.0 kB]
Err:2 http://debian.asis.io/debian stretch-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Hit:3 http://debian.asis.io/debian stretch Release
Err:4 http://debian.asis.io/debian stretch Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
Get:5 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Err:5 http://security.debian.org/debian-security stretch/updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://debian.asis.io/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://debian.asis.io/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: Failed to fetch http://debian.asis.io/debian/dists/stretch-updates/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: Failed to fetch http://debian.asis.io/debian/dists/stretch/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
W: Some index files failed to download. They have been ignored, or old ones used instead.
تاحالا این مشکل رخ نداده برای همین نمیدونستم باید چیکار کنم .
لطفا کمک کنید
-
مخازن رو تغییر دادی؟
اگر ندادی تغییر بده.
بیشتر این مشکلات از سرویس دهنده اینترنته.
اینجا برو مخازن رو امتحان کن:
https://debgen.simplylinux.ch/ (https://debgen.simplylinux.ch/)
مثلا، یکی این؛ تو فایل sources.list ،بجای اون مخازن قبلی قرار بده البته مخزن non-free رو می تونی ننویسی و بستگی به خودت داره:
###### Debian Main Repos
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free
deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main
مسیر فایل sources.list رو هم که می دونم می فهمی ؛ شاید کسی اینجا بیاد پست رو ببینه و نفهمه چیکارکنه:
sudo nano /etc/apt/sources.list
اگرهم دیدی هرچی مخزن عوض کردی بازهم درست نشد ؛ چنانچه توووور رو نصب داری، این بسته روهم نصب کن:
چون نمی تونی مخازن رو آپدیت کنی اول از اینجا فایل deb بسته رو دانلود کن و بعد نصبش کن:
https://packages.debian.org/stretch/apt-transport-tor (https://packages.debian.org/stretch/apt-transport-tor)
بعد برو تو همون فایل sources.list ، و قبل از http ،این "+tor" ،اضافه کن، اینطوری:
tor+http
بعدش مخازن رو آپدیت کن.
انشاا... موفق باشی.
-
سلام . چند وقته هی سعی میکنم دبیان مخازنش رو بروز کنم با دستور زیر :
sudo apt update
که هی ارور زیر رو میده
درود بر شما....
شکل صحیح دستور اینطوری نیست؟؟؟؟؟: apt-get update
-
سلام . چند وقته هی سعی میکنم دبیان مخازنش رو بروز کنم با دستور زیر :
sudo apt update
که هی ارور زیر رو میده
درود بر شما....
شکل صحیح دستور اینطوری نیست؟؟؟؟؟: apt-get update
پیشاپیش سپاس از نگاهتان
apt با apt-get فرقی نداره
-
مخازن رو تغییر دادی؟
اگر ندادی تغییر بده.
بیشتر این مشکلات از سرویس دهنده اینترنته.
اینجا برو مخازن رو امتحان کن:
https://debgen.simplylinux.ch/ (https://debgen.simplylinux.ch/)
مثلا، یکی این؛ تو فایل sources.list ،بجای اون مخازن قبلی قرار بده البته مخزن non-free رو می تونی ننویسی و بستگی به خودت داره:
###### Debian Main Repos
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free
deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main
مسیر فایل sources.list رو هم که می دونم می فهمی ؛ شاید کسی اینجا بیاد پست رو ببینه و نفهمه چیکارکنه:
sudo nano /etc/apt/sources.list
اگرهم دیدی هرچی مخزن عوض کردی بازهم درست نشد ؛ چنانچه توووور رو نصب داری، این بسته روهم نصب کن:
چون نمی تونی مخازن رو آپدیت کنی اول از اینجا فایل deb بسته رو دانلود کن و بعد نصبش کن:
https://packages.debian.org/stretch/apt-transport-tor (https://packages.debian.org/stretch/apt-transport-tor)
بعد برو تو همون فایل sources.list ، و قبل از http ،این "+tor" ،اضافه کن، اینطوری:
tor+http
بعدش مخازن رو آپدیت کن.
انشاا... موفق باشی.
بازم ارور میده :
W: GPG error: http://security.debian.org stable/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: The repository 'http://security.debian.org stable/updates InRelease' is not signed.
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: GPG error: http://ftp.us.debian.org/debian stable-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: The repository 'http://ftp.us.debian.org/debian stable-updates InRelease' is not signed.
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: GPG error: http://ftp.us.debian.org/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
W: The repository 'http://ftp.us.debian.org/debian stable Release' is not signed.
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.
-
درود بر شما
اگه منظورتون از آپدیت مخازن بدست آوردن مخازن غیر پایدار به روز است (فکر کنم میشه unstable)
آرچ کارها و آرچ دوستان ید طولایی تو این کار دارن و با مطرح کردن در سایتشون حتما جواب خوبی می گیرین
ولی اگه منظورتون این نیست یه امتحانی هم با synoptic package manager کنین که تو قسمت
setting--repositories--debian software می تونین نوع مخازنو مشخص کنین و در قسمت های دیگه برا آپدیت و ............................
آپدیت نرم افزارها هم: اگه در صفحه اصلی mark all upgrade رو بزنین بر اساس تعیین همون نوع آپدیتی که انتخاب کردین برنامه های قابل آپدیت شدن رو به شما نشون می ده و دیگه نیازی نیست برین سورس لیستو دستکاری کنین.........
مگر اینکه از setting--repositories--other software مکانی دیگه رو براش تعریف کرده باشین و اونم باز اگه آدرسو درست نوشته باشین و قبول کنه نیازی به تغییر در سورس لیست ندارین.....
در حد خودم گفتم بر من ببخشید....
اینجارو هم مشاهده بفرمائین شاید به دردتون خورد:
https://linuxhint.com/debian-10-release-date
https://linuxconfig.org/how-to-upgrade-debian-9-stretch-to-debian-10-buster
-
برنامه کم-حجم software-properties-gtk به احتمال زیاد میتواند مشکل شما را حل کند، این برنامه برای تنظیم مخازن سیستم و انتخاب میرور بهترین گزینه است و خطاهای نحوی و پیکربندی را از بین میبرد.
-
بنظر میرسه که مشکل از keyring باشه که نمیتونه امضاها رو verify کنه. بستهای که توی دبیان باید از قبل نصب شده باشه این هست اسمش:
debian-archive-keyring
با دستور زیر چک کن و ببین که نصب هست یا نه:
$ dpkg -l debian-archive-keyring
اگه این پیغام رو داد، یعنی که نصب هست:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
ii debian-archive-keyring 2017.5 all GnuPG archive keys of the Debian archive
و اگر این پیغام رو داد، یعنی که نصب نیست:
$ dpkg-query: no packages found matching debian-archive-keyring
اگه نصب نبود، راه عادیش این بود که از طریق apt نصبش کنی، ولی چون امضاها مشکل داره، احتمالا نمیتونی که از دستور زیر نصبش کنی:
$ sudo apt install debian-archive-keyring
ولی میتونی فایل deb رو به صورت دستی دانلود کنی و سپس نصبش کنی.
۱. فایل رو از اینجا دانلود کن:
https://packages.debian.org/stretch/all/debian-archive-keyring/download
و سپس با دستور زیر نصبش کن:
$ sudo dpkg esme-file-ro-inja-benevis
البته قبلش md5 رو هم چک کن، که فایل توی راه عوض نشده باشه یا بد دانلود نکرده باشی.
-
بنظر میرسه که مشکل از keyring باشه که نمیتونه امضاها رو verify کنه. بستهای که توی دبیان باید از قبل نصب شده باشه این هست اسمش:
debian-archive-keyring
الان نصبش کردم بازم همون خطا هستش
با دستور زیر چک کن و ببین که نصب هست یا نه:
$ dpkg -l debian-archive-keyring
اگه این پیغام رو داد، یعنی که نصب هست:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
ii debian-archive-keyring 2017.5 all GnuPG archive keys of the Debian archive
و اگر این پیغام رو داد، یعنی که نصب نیست:
$ dpkg-query: no packages found matching debian-archive-keyring
اگه نصب نبود، راه عادیش این بود که از طریق apt نصبش کنی، ولی چون امضاها مشکل داره، احتمالا نمیتونی که از دستور زیر نصبش کنی:
$ sudo apt install debian-archive-keyring
ولی میتونی فایل deb رو به صورت دستی دانلود کنی و سپس نصبش کنی.
۱. فایل رو از اینجا دانلود کن:
https://packages.debian.org/stretch/all/debian-archive-keyring/download
و سپس با دستور زیر نصبش کن:
$ sudo dpkg esme-file-ro-inja-benevis
البته قبلش md5 رو هم چک کن، که فایل توی راه عوض نشده باشه یا بد دانلود نکرده باشی.
-
بنظر میرسه که مشکل از keyring باشه که نمیتونه امضاها رو verify کنه. بستهای که توی دبیان باید از قبل نصب شده باشه این هست اسمش:
debian-archive-keyring
با دستور زیر چک کن و ببین که نصب هست یا نه:
$ dpkg -l debian-archive-keyring
اگه این پیغام رو داد، یعنی که نصب هست:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
ii debian-archive-keyring 2017.5 all GnuPG archive keys of the Debian archive
و اگر این پیغام رو داد، یعنی که نصب نیست:
$ dpkg-query: no packages found matching debian-archive-keyring
اگه نصب نبود، راه عادیش این بود که از طریق apt نصبش کنی، ولی چون امضاها مشکل داره، احتمالا نمیتونی که از دستور زیر نصبش کنی:
$ sudo apt install debian-archive-keyring
ولی میتونی فایل deb رو به صورت دستی دانلود کنی و سپس نصبش کنی.
۱. فایل رو از اینجا دانلود کن:
https://packages.debian.org/stretch/all/debian-archive-keyring/download
و سپس با دستور زیر نصبش کن:
$ sudo dpkg esme-file-ro-inja-benevis
البته قبلش md5 رو هم چک کن، که فایل توی راه عوض نشده باشه یا بد دانلود نکرده باشی.
نصب شد ولی الان چبکار کنم ؟
-
خوب الآن اگه یک بار
$ sudo apt update
بزنی باید درسته شده باشه و دیگه بهت پیغام خطا نده. اگه پیغام خطا داد. پیغام خطا رو اینجا بذار تا ببینیم که چی هست.
-
خوب الآن اگه یک بار
$ sudo apt update
بزنی باید درسته شده باشه و دیگه بهت پیغام خطا نده. اگه پیغام خطا داد. پیغام خطا رو اینجا بذار تا ببینیم که چی هست.
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://deb.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Err:2 http://deb.debian.org/debian-security stretch/updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Err:3 http://deb.debian.org/debian stretch-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2,434 B]
Ign:5 http://deb.debian.org/debian stretch Release.gpg
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian-security stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
E: The repository 'http://deb.debian.org/debian-security stretch/updates 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: GPG error: http://deb.debian.org/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
E: The repository 'http://deb.debian.org/debian stretch-updates 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: GPG error: http://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
E: The repository 'http://deb.debian.org/debian stretch Release' 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.
-
سلام
من این مشکل رو چند وقت پیش روی یک سرور دبیان داشتم. دلیلشو نمی دونم ولی کلیدهای 8B48AD6246925553 و ... روی keyserver دبیان (keyring.debian.org) موجود نیست. برای حل این مشکل از یک keyserver دیگه استفاده کنین :
sudo apt install dirmngr
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9D6D8F6BC857C906 8B48AD6246925553 7638D0442B90D010
sudo apt update
-
محتویات میرور زیر رو بزار توی
/etc/apt/sources.list
ببین که جواب میده یا نه. چون من از این مخزنها که روی سرور استفاده میکنم، مشکلی ندارم. (میرور سوییس هست.)
deb http://ftp.ch.debian.org/debian/ stretch main
deb-src http://ftp.ch.debian.org/debian/ stretch main
deb http://security.debian.org/ stretch/updates main
deb-src http://security.debian.org/ stretch/updates main
deb http://ftp.ch.debian.org/debian/ stretch-updates main
deb-src http://ftp.ch.debian.org/debian/ stretch-updates main
deb http://ftp.ch.debian.org/debian stretch-backports main
deb-src http://ftp.ch.debian.org/debian stretch-backports main
اگه پیغام خطا داد، بذار اینجا پیغامش رو.
-
سلام
من این مشکل رو چند وقت پیش روی یک سرور دبیان داشتم. دلیلشو نمی دونم ولی کلیدهای 8B48AD6246925553 و ... روی keyserver دبیان (keyring.debian.org) موجود نیست. برای حل این مشکل از یک keyserver دیگه استفاده کنین :
sudo apt install dirmngr
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9D6D8F6BC857C906 8B48AD6246925553 7638D0442B90D010
sudo apt update
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dirmngr is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'dirmngr' has no installation candidate
-
محتویات میرور زیر رو بزار توی
/etc/apt/sources.list
ببین که جواب میده یا نه. چون من از این مخزنها که روی سرور استفاده میکنم، مشکلی ندارم. (میرور سوییس هست.)
deb http://ftp.ch.debian.org/debian/ stretch main
deb-src http://ftp.ch.debian.org/debian/ stretch main
deb http://security.debian.org/ stretch/updates main
deb-src http://security.debian.org/ stretch/updates main
deb http://ftp.ch.debian.org/debian/ stretch-updates main
deb-src http://ftp.ch.debian.org/debian/ stretch-updates main
deb http://ftp.ch.debian.org/debian stretch-backports main
deb-src http://ftp.ch.debian.org/debian stretch-backports main
اگه پیغام خطا داد، بذار اینجا پیغامش رو.
alireza@debian:/etc/apt$ sudo apt update
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Err:1 http://security.debian.org stretch/updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
Ign:2 http://ftp.ch.debian.org/debian stretch InRelease
Get:3 http://ftp.ch.debian.org/debian stretch-updates InRelease [91.0 kB]
Err:3 http://ftp.ch.debian.org/debian stretch-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Get:4 http://ftp.ch.debian.org/debian stretch-backports InRelease [91.8 kB]
Err:4 http://ftp.ch.debian.org/debian stretch-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Get:5 http://ftp.ch.debian.org/debian stretch Release [118 kB]
Get:6 http://ftp.ch.debian.org/debian stretch Release.gpg [2,434 B]
Ign:6 http://ftp.ch.debian.org/debian stretch Release.gpg
Reading package lists... Done
W: GPG error: http://security.debian.org stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
E: The repository 'http://security.debian.org stretch/updates 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: GPG error: http://ftp.ch.debian.org/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
E: The repository 'http://ftp.ch.debian.org/debian stretch-updates 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: GPG error: http://ftp.ch.debian.org/debian stretch-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
E: The repository 'http://ftp.ch.debian.org/debian stretch-backports 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: GPG error: http://ftp.ch.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
E: The repository 'http://ftp.ch.debian.org/debian stretch Release' 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.
-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dirmngr is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'dirmngr' has no installation candidate
با توجه به اینکه مخازنتون بروز نشده امکان نصب dirmngr از طریق apt ممکن نیست سعی کنین اون رو دستی نصب کنین :
wget http://ftp.us.debian.org/debian/pool/main/g/gnupg2/dirmngr_2.1.18-8~deb9u3_amd64.deb
sudo dpkg -i dirmngr_2.1.18-8~deb9u3_amd64.deb
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9D6D8F6BC857C906 8B48AD6246925553 7638D0442B90D010 EF0F382A1A7B6500
sudo apt update
-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dirmngr is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'dirmngr' has no installation candidate
با توجه به اینکه مخازنتون بروز نشده امکان نصب dirmngr از طریق apt ممکن نیست سعی کنین اون رو دستی نصب کنین :
wget http://ftp.us.debian.org/debian/pool/main/g/gnupg2/dirmngr_2.1.18-8~deb9u3_amd64.deb
sudo dpkg -i dirmngr_2.1.18-8~deb9u3_amd64.deb
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9D6D8F6BC857C906 8B48AD6246925553 7638D0442B90D010 EF0F382A1A7B6500
sudo apt update
مشکل حل شد \\:D/
خیلی خیلی خیلی از شما و اون کسایی که کمک کردن ممنونم
-
شما اون کلیدهایی که مشکل داشتی اینها هست:
9D6D8F6BC857C906
8B48AD6246925553
EF0F382A1A7B6500
7638D0442B90D010
که کلیدها، اینها هستن:
/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
-------------------------------------------------------------------
pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
D211 6914 1CEC D440 F2EB 8DDA 9D6D 8F6B C857 C906
uid [ unknown] Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
----------------------------------------------------------
pub rsa4096 2012-04-27 [SC] [expires: 2020-04-25]
A1BD 8E9D 78F7 FE5C 3E65 D8AF 8B48 AD62 4692 5553
uid [ unknown] Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg
--------------------------------------------------------
pub rsa4096 2017-05-20 [SC] [expires: 2025-05-18]
067E 3C45 6BAE 240A CEE8 8F6F EF0F 382A 1A7B 6500
uid [ unknown] Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org
/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
----------------------------------------------------------
pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
126C 0D24 BD8A 2942 CC7D F8AC 7638 D044 2B90 D010
uid [ unknown] Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
با زدن دستور زیر میتونی ببینی که چه کلیدهایی روی سیستم هستن:
$ apt-key list
تمامی این کلیدها هم توی بستهای که قبلا معرفی کردم (debian-archive-keyring) وجود دارن. (عکسش رو هم پیوست کردم.) پس شما پس از نصب اون نباید که مشکل دیگهای داشته باشید. نمیدونم چرا پیغام خطا میگرفتی.
چک کن ببین که خروجی دستور زیر:
$ ls /etc/apt/trusted.gpg.d/
با محتویات اون عکسی که گذاشتم یکی هست؟ ببین که همهاش رو داری؟ (خروجی دستور رو نمیخواد اینجا بذاری. فقط بگو که کدومهاش کم هست)
همچنین خروجی دستور زیر رو هم بذار:
dpkg --listfiles debian-archive-keyring
این دستور نشون میده که این بسته، فایلهایی که توش بودن، کجای سیستم رفتن.
هم چنین بگو که خروجی دو تا دستور آخر یکی هستن؟
-
مشکل حل شد \\:D/
خیلی خیلی خیلی از شما و اون کسایی که کمک کردن ممنونم
خواهش می کنم علیرضا جان.
فقط لطفاً عبارت (حل شد) رو هم به عنوان اضافه کنین.