انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: 🇮🇷 در 14 شهریور 1400، 11:53 بظ
-
سلام
وقتی میخوام کاربراتور رو از طریق آموزش ویکی نصب کنم، در مرحله افزودن ppa، ارور زیر رو میگیرم:
gpg: keybox '/tmp/tmpm9z_uzzu/pubring.gpg' created
gpg: /tmp/tmpm9z_uzzu/trustdb.gpg: trustdb created
gpg: key 356DDB5DF31A252C: public key "Launchpad PPA for Tractor" imported
gpg: Total number processed: 1
gpg: imported: 1
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.
خروجی apt update:
Get:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease [18.1 kB]
Err:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
Hit:2 http://ftp.us.debian.org/debian bullseye InRelease
Ign:3 http://ftp.us.debian.org/debian bullseye-security InRelease
Hit:4 http://ftp.us.debian.org/debian bullseye-updates InRelease
Err:5 http://ftp.us.debian.org/debian bullseye-security Release
404 Not Found [IP: 208.80.154.15 80]
Hit:6 http://deb.debian.org/debian stretch-backports InRelease
Err:7 http://linux.dropbox.com/debian sid InRelease
Connection failed [IP: 18.66.97.34 80]
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
E: The repository 'http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish 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.
E: The repository 'http://ftp.us.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.
-
توزیعت در گرفتن کلیدها از https مشکل داره.
برای حل اون مشکل، یه بستهای هست که باید نصب شه و الآن یادم نیست. ولی فعلاً میةونی برای تراکتور،کلیدش رو دستی بگیری و با apt-key اضافه کنی: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x356ddb5df31a252c
-
توزیعت در گرفتن کلیدها از https مشکل داره.
برای حل اون مشکل، یه بستهای هست که باید نصب شه و الآن یادم نیست.
احتمالا منظورتون ca-certificates نیست؟
-
البته خوندن این هم توصیه میشه:
https://www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html
-
توزیعت در گرفتن کلیدها از https مشکل داره.
برای حل اون مشکل، یه بستهای هست که باید نصب شه و الآن یادم نیست. ولی فعلاً میةونی برای تراکتور،کلیدش رو دستی بگیری و با apt-key اضافه کنی: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x356ddb5df31a252c
ببخشید لینکی که دادید محتوای زیر رو داره:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: Hostname:
Version: Hockeypuck ~unreleased
xsFNBFtPpbEBEADsFYPdMTy4NeUfFfNVCDwTKbTS/i83R9F2kczdq8Bt2WOHVj5n
bSkqYeNXxTs0VT7Hv01biofyoo5X3Bn5YL+xxcyZ8UJsSr0JGhMisVHeq30JqG4M
8DLP7G/0yOyKqd/J0xs91qR6+g2OFmpESM32X5au1yNy/42BGvx98+ObIOPlJjNf
2lSpPSFjxdGfuu3vhfqMLmCHxZlXAGPNR3wK3EWi73Acl4b8cwHAjDxgpXkIaVKx
hBFmxETTjG0xt2IIt6w9tjNfI/iKG+bgWjmyhzch6/78KQSg/NCeAL2ETP/Fhyo3
SoZEYzDiGUvruqXY/uaTrffozHDgCdukLRGn9xOlaEAWyySaLCHKSABKdD9yLtTs
89P4eCYaDtWNJl98qVqYcv5/l1GwR29OOaKm9sYP6YNPC43UM+wg+RiRnXSSMdxx
u7Jrbm8H3URk9ZvG36ghQ/TxZNmwhzlBFiqP25C7gxCpdEAFSUUz7CtBHbwE20Tw
o/p6gbMDHezvNIRRgNLv9MF65ewPNaw6FrLJk4lQNeGupYHY7NmfNmygzY9K2pB3
CVatUrakKBW3AYpMJRHMpueD2f3NZJesYlExm20RHlbOhlgjxqiQp1Pds5dOtVFY
WYlRkCAQgH0vogRiNiaorogR5VewguVh8cCc13NmDDcmLVrTQdT0dhcANQARAQAB
zRlMYXVuY2hwYWQgUFBBIGZvciBUcmFjdG9ywsF4BBMBAgAiBQJbT6WxAhsDBgsJ
CAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRA1bdtd8xolLIIkEACZBm/cfVC/EdXb
1K0FbhcVg746CSHgcJVhhvjDyynnomQjw/fTgTikwaCLyyCKB8gNGgPtuLeRmW8v
6vfexcwmt4Pwc0+v3SYMMNABT4Pe12BeEykwM3/pun6P87h8l7+r6C56kssdUSPB
UCC7I9YrDsj6i0azLo0YXRppdRyAd3vW7geakr3RZxUtr3mv5VxDUu5MJLRY5Blb
Mqa2Jq5QCFADYk6HXQPdHn/pXyt67VCckm7y3vL1KOkE0drSVfEvYj4attCiK02W
+Xob3mXAOmnH1SljZ9JR26dMFG+qsdk8i5umsqBwT3JwdpmZEgerXgOIY6T3zQ4G
V2DXodqfIO7aZK4wZ3XTzxJfMq9iBLJtctDVowis7SMjxwiH9feNgPLB4R+0wqwl
yZCiOAyoeEYbfp8jhD9nOy3LLFThf1xQrsiPPRHlLH6sLYaMSgnon0ye4zLlHsyo
undG7LOZ4jPcOgo6zoOXWDQtZXl8A+QCni6gqE+zbGHGWC4KDQnz2VmDoy37bGfD
/5WRcCJvCrwmMS/Rl/ZSMadJ1TtryX+W1zs9h4ltma/WkM7GJEsStFX/Y8Ivwl4W
4G4FUGfIIg4slj/tstCf5xDnGZI0BXTRKwF/5Cp9tZWPD6+It1UTgnNVb8+fHgR5
odOLoskK2MDr22wyrFRhWhmheZneuQ==
=T+Gk
-----END PGP PUBLIC KEY BLOCK-----
کدوم بخشش رو باید با apt-key اضافه کنم؟
-
محتوای زیر رو بریز تو یه پرونده و بعد apt-key رو به صورت زیر اجرا کن:
sudo apt-key add [filename]
-
محتوای زیر رو بریز تو یه پرونده و بعد apt-key رو به صورت زیر اجرا کن:
sudo apt-key add [filename]
قبل از اینکه بپرسم، کل محتوای صفحه رو ریختم روی یه فایل و کاری که گفتید رو انجام دادم ولی میگه:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.
-
این رو بزن، ببین چی میگه؟
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 356DDB5DF31A252C
-
این رو بزن، ببین چی میگه؟
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 356DDB5DF31A252C
خروجی:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.glEySm809y/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 356DDB5DF31A252C
gpg: key 356DDB5DF31A252C: "Launchpad PPA for Tractor" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
-
خب الآن درست نشده؟
-
خب الآن درست نشده؟
باز هم همین اتفاق ذیل میافته:
محتوای زیر رو بریز تو یه پرونده و بعد apt-key رو به صورت زیر اجرا کن:
sudo apt-key add [filename]
قبل از اینکه بپرسم، کل محتوای صفحه رو ریختم روی یه فایل و کاری که گفتید رو انجام دادم ولی میگه:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.
-
خوب با دستور آقا دانیال، کلید pgp اضافه شده، چرا دوباره سعی میکنید اونو اضافه کنید که خطا بده؟
الان سعی کنید که ppa تراکتور رو اضافه کنید، و ببینید بازم اون خطای نبودن کلید رو میده یا نه.
-
خوب با دستور آقا دانیال، کلید pgp اضافه شده، چرا دوباره سعی میکنید اونو اضافه کنید که خطا بده؟
الان سعی کنید که ppa تراکتور رو اضافه کنید، و ببینید بازم اون خطای نبودن کلید رو میده یا نه.
بازم همون خطا رو میده.
-
انگار ریپو اضافه شد. الآن وقتی دستور نصب رو میزنم، خروجی زیر رو میگیرم.
دستور:
sudo apt install carburetor
خروجی:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
carburetor : Depends: gir1.2-handy-1 (>= 1.2) but 1.0.3-2 is to be installed
E: Unable to correct problems, you have held broken packages.
خروجی apt update:
Hit:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
Hit:2 http://ftp.us.debian.org/debian bullseye InRelease
Ign:3 http://ftp.us.debian.org/debian bullseye-security InRelease
Hit:4 http://deb.debian.org/debian unstable InRelease
Hit:5 http://ftp.us.debian.org/debian bullseye-updates InRelease
Hit:6 http://deb.debian.org/debian experimental InRelease
Err:7 http://ftp.us.debian.org/debian bullseye-security Release
404 Not Found [IP: 208.80.154.15 80]
Hit:8 http://deb.debian.org/debian stretch-backports InRelease
Ign:9 http://linux.dropbox.com/debian sid InRelease
Hit:10 http://linux.dropbox.com/debian sid Release
Reading package lists... Done
E: The repository 'http://ftp.us.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.
-
با این مخازنی که شما دارید، خوبه هنوز چیزی خراب نشده. فکر کنم تراکتور درست روی دبیان کار نکنه.
مخازن sid و experimental روی دبیان پایدار برای چیه؟ یه مخزن مربوط به stretch (دبیان ۹) هم دارید. اینطوری احتمال اینکه سیستم خراب بشه خیلی بیشتره.
باید مخازن رو درست کنید وگرنه ممکنه بزودی سیستم خراب بشه. فعلا خروجی دستورات زیر رو بزارید.
ls /etc/apt
ls /etc/apt/trusted.gpg.d
ls /etc/apt/sources.list.d
cat /etc/apt/sources.list
-
با این مخازنی که شما دارید، خوبه هنوز چیزی خراب نشده. فکر کنم تراکتور درست روی دبیان کار نکنه.
مخازن sid و experimental روی دبیان پایدار برای چیه؟ یه مخزن مربوط به stretch (دبیان ۹) هم دارید. اینطوری احتمال اینکه سیستم خراب بشه خیلی بیشتره.
باید مخازن رو درست کنید وگرنه ممکنه بزودی سیستم خراب بشه. فعلا خروجی دستورات زیر رو بزارید.
ls /etc/apt
ls /etc/apt/trusted.gpg.d
ls /etc/apt/sources.list.d
cat /etc/apt/sources.list
خروجی دستورات به ترتیب:
drwxr-xr-x 2 root root 4096 Sep 4 11:41 apt.conf.d
drwxr-xr-x 2 root root 4096 Jun 10 13:23 auth.conf.d
-rw-r--r-- 1 root root 150 Sep 4 11:18 listchanges.conf
drwxr-xr-x 2 root root 4096 Mar 28 15:36 listchanges.conf.d
drwxr-xr-x 2 root root 4096 Sep 6 18:39 preferences.d
-rw-r--r-- 1 root root 1194 Sep 7 19:25 sources.list
-rw-r--r-- 1 root root 0 Sep 4 10:47 sources.list~
drwxr-xr-x 2 root root 4096 Sep 5 22:08 sources.list.d
-rw-r--r-- 1 root root 1194 Sep 7 19:25 sources.list.save
-rw-r--r-- 1 root root 1798 Sep 6 23:15 trusted.gpg
-rw-r--r-- 1 root root 636 Sep 5 21:05 trusted.gpg~
drwxr-xr-x 2 root root 4096 Sep 7 18:53 trusted.gpg.d
-rw-r--r-- 1 root root 8700 Feb 25 2021 debian-archive-bullseye-automatic.gpg
-rw-r--r-- 1 root root 8709 Feb 25 2021 debian-archive-bullseye-security-automatic.gpg
-rw-r--r-- 1 root root 2453 Feb 25 2021 debian-archive-bullseye-stable.gpg
-rw-r--r-- 1 root root 8132 Feb 25 2021 debian-archive-buster-automatic.gpg
-rw-r--r-- 1 root root 8141 Feb 25 2021 debian-archive-buster-security-automatic.gpg
-rw-r--r-- 1 root root 2332 Feb 25 2021 debian-archive-buster-stable.gpg
-rw-r--r-- 1 root root 7443 Feb 25 2021 debian-archive-stretch-automatic.gpg
-rw-r--r-- 1 root root 7452 Feb 25 2021 debian-archive-stretch-security-automatic.gpg
-rw-r--r-- 1 root root 2263 Feb 25 2021 debian-archive-stretch-stable.gpg
-rw-r--r-- 1 root root 0 Sep 4 20:42 tractor-team_ubuntu_tractor.gpg
-rw-r--r-- 1 root root 63 Sep 7 19:25 dropbox.list
-rw-r--r-- 1 root root 63 Sep 7 19:25 dropbox.list.save
-rw-r--r-- 1 root root 56 Sep 7 19:25 stretch-backports.list
-rw-r--r-- 1 root root 56 Sep 7 19:25 stretch-backports.list.save
-rw-r--r-- 1 root root 217 Sep 7 19:25 tractor-team-ubuntu-tractor-impish.list
-rw-r--r-- 1 root root 217 Sep 7 19:25 tractor-team-ubuntu-tractor-impish.list.save
# deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main non-free
# deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main non-free
deb http://ftp.us.debian.org/debian/ bullseye main non-free
deb-src http://ftp.us.debian.org/debian/ bullseye main non-free
deb http://ftp.us.debian.org/debian/ bullseye-security main non-free
deb-src http://ftp.us.debian.org/debian/ bullseye-security main non-free
# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://ftp.us.debian.org/debian/ bullseye-updates main non-free
deb-src http://ftp.us.debian.org/debian/ bullseye-updates main non-free
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb http://deb.debian.org/debian/ unstable main contrib non-free
deb http://deb.debian.org/debian experimental main
-
دوتا خط آخر(نوشته) یه # بزار پشتش تا غیرفعال شه و امیدوارم این سیستم اپگرید نشده باشه چون اگه شما به unstable رفته باشید میشه گفت راه آسونی برای دانگرید نیست و شاید نتونی به دبیان پایدار برگردی..
-
این دبیان رو از نسخههای پایینتر به نسخه ۱۱ ارتقا دادید؟ از خروجیهای که گذاشتید، اینطور به نظر نمیرسه.
برنامه خاصی خواستید نصب کنید که لازم بوده مخازن unstable و experimental رو اضافه کنید؟ (مثلا dropbox)
اون مخزن dropbox رو کِی و چجوری اضافه کردید؟ از اون چیزی نصب کردید؟
خروجی کامل apt update رو هم بزارید.
-
این دبیان رو از نسخههای پایینتر به نسخه ۱۱ ارتقا دادید؟
خیر
برنامه خاصی خواستید نصب کنید که لازم بوده مخازن unstable و experimental رو اضافه کنید؟ (مثلا dropbox)
یادم نیست ولی شاید وقتی میخواستم فایرفاکس غیر esr رو نصب کنم، اضافه کردم. مخازن experimental چه ویژگی ای دارن؟
اون مخزن dropbox رو کِی و چجوری اضافه کردید؟ از اون چیزی نصب کردید؟
دراپ باکس رو از سایت خودش دانلود کردم نه از مخازن. امکانش هست دراپ باکس خودش بعد از نصب این مخازن رو اضافه کرده باشه؟
خروجی کامل apt update رو هم بزارید.
Hit:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
Hit:2 http://ftp.us.debian.org/debian bullseye InRelease
Ign:3 http://ftp.us.debian.org/debian bullseye-security InRelease
Get:4 http://ftp.us.debian.org/debian bullseye-updates InRelease [36.8 kB]
Err:5 http://ftp.us.debian.org/debian bullseye-security Release
404 Not Found [IP: 64.50.236.52 80]
Ign:6 http://linux.dropbox.com/debian sid InRelease
Hit:7 http://linux.dropbox.com/debian sid Release
Get:9 http://deb.debian.org/debian unstable InRelease [165 kB]
Get:10 http://deb.debian.org/debian experimental InRelease [75.4 kB]
Get:11 http://deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:12 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
Get:13 http://deb.debian.org/debian unstable/main Translation-en.diff/Index [63.6 kB]
Get:14 http://deb.debian.org/debian unstable/contrib amd64 Packages.diff/Index [63.3 kB]
Get:15 http://deb.debian.org/debian unstable/contrib Translation-en.diff/Index [36.4 kB]
Get:16 http://deb.debian.org/debian experimental/main amd64 Packages.diff/Index [63.3 kB]
Get:17 http://deb.debian.org/debian experimental/main Translation-en.diff/Index [63.3 kB]
Get:18 http://deb.debian.org/debian unstable/main amd64 Packages T-2021-09-09-1401.35-F-2021-09-08-2003.45.pdiff [44.5 kB]
Get:18 http://deb.debian.org/debian unstable/main amd64 Packages T-2021-09-09-1401.35-F-2021-09-08-2003.45.pdiff [44.5 kB]
Get:19 http://deb.debian.org/debian unstable/main Translation-en T-2021-09-09-1401.35-F-2021-09-09-0203.32.pdiff [661 B]
Get:19 http://deb.debian.org/debian unstable/main Translation-en T-2021-09-09-1401.35-F-2021-09-09-0203.32.pdiff [661 B]
Get:20 http://deb.debian.org/debian unstable/contrib amd64 Packages T-2021-09-09-1401.35-F-2021-09-09-0203.32.pdiff [656 B]
Get:20 http://deb.debian.org/debian unstable/contrib amd64 Packages T-2021-09-09-1401.35-F-2021-09-09-0203.32.pdiff [656 B]
Get:21 http://deb.debian.org/debian unstable/contrib Translation-en T-2021-09-09-0203.32-F-2021-09-09-0203.32.pdiff [31 B]
Get:21 http://deb.debian.org/debian unstable/contrib Translation-en T-2021-09-09-0203.32-F-2021-09-09-0203.32.pdiff [31 B]
Get:22 http://deb.debian.org/debian experimental/main amd64 Packages T-2021-09-09-1401.35-F-2021-09-08-2003.45.pdiff [30.9 kB]
Get:22 http://deb.debian.org/debian experimental/main amd64 Packages T-2021-09-09-1401.35-F-2021-09-08-2003.45.pdiff [30.9 kB]
Get:23 http://deb.debian.org/debian experimental/main Translation-en T-2021-09-09-1401.35-F-2021-09-08-2003.45.pdiff [776 B]
Get:23 http://deb.debian.org/debian experimental/main Translation-en T-2021-09-09-1401.35-F-2021-09-08-2003.45.pdiff [776 B]
Get:24 http://deb.debian.org/debian unstable/main amd64 DEP-11 Metadata [4,198 kB]
Get:25 http://deb.debian.org/debian unstable/main DEP-11 48x48 Icons [3,628 kB]
Get:26 http://deb.debian.org/debian unstable/main DEP-11 64x64 Icons [7,584 kB]
Get:27 http://deb.debian.org/debian unstable/contrib amd64 DEP-11 Metadata [16.4 kB]
Reading package lists... Done
E: The repository 'http://ftp.us.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.
-
یادم نیست ولی شاید وقتی میخواستم فایرفاکس غیر esr رو نصب کنم، اضافه کردم. مخازن experimental چه ویژگی ای دارن؟
دراپ باکس رو از سایت خودش دانلود کردم نه از مخازن. امکانش هست دراپ باکس خودش بعد از نصب این مخازن رو اضافه کرده باشه؟
دبیان همیشه از نسخه esr فایرفاکس استفاده میکنه. پس فرقی نداره از چه مخزنی فایرفاکس رو دریافت کنید، از هم نسخه esr اون رو خواهید داشت. البته بعضی مواقع، نسخه جدید firefox esr که منتشر میشه، توی مخازن experimental و مدتی بعد توی مخازن sid در دسترس هست ولی توی شاخه پایدار دبیان، هنوز از همون نسخه قبلی firefox esr استفاده شده.
مثلا الان نسخهای از فایرفاکس که توی دبیان پایدار استفاده میشه، 78 هست. درحالی که نسخهای که توی دبیان sid وجود داره، 88 هست.
هم نسخه 88 و هم 78، نسخههای esr فایرفاکس حساب میشن.
مخازن experimental مخزن کاملی نیست و همه بستهها توی اون پیدا نمیشه. معمولا همراه مخازن sid یا همون unstable استفاده میشه.
دراپ باکس رو از سایت خودش دانلود کردم نه از مخازن. امکانش هست دراپ باکس خودش بعد از نصب این مخازن رو اضافه کرده باشه؟
میتونسته اینکار رو انجام بده ولی بعیده. هرچند کلا بهتره هیچ بستهای از خارج مخازن اصلی نصب نکنید.
تا وقتی که این مشکل حل نشده، سیستم رو آپدیت نکنید، بستهای رو هم حذف یا نصب نکنید. چون میتونه وضعیت رو بدتر هم بکنه.
برای حل مشکل، بهتره کلا مخازن رو از اول تعریف کنید. برای اینکار، اول فایلهای مربوط به مخازن رو پاک کنید.
sudo rm /etc/apt/sources.list{,.save,~}
فایلهایی که مخازن stretch-backports داخلشون تعریف شده رو هم پاک کنید.
sudo rm /etc/apt/sources.list.d/stretch*
چندین فایل که شامل کلیدهای gpg هست، توی مسیر /etc/apt/ وجود داره. این توی نسخههای جدید مشکل داره. دیگه کلیدهای gpg به صورت مجزا، هر کدوم داخل یه فایل، داخل دایرکتوری زیر تعریف میشن.
/etc/apt/trusted.gpg.d
پس اون فایلها رو پاک کنید.
sudo rm /etc/apt/trusted.gpg{,~}
بعد از کارهای بالا، لیست مخازن رو دوباره درست کنید. برای اینکار، با nano یا vim یا هر ویرایشگر متنی که میدونید، فایل sources.list رو درست کنید و این متن رو داخلش بنویسید.
deb https://deb.debian.org/debian bullseye main contrib non-free
deb-src https://deb.debian.org/debian bullseye main contrib non-free
deb https://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free
deb https://deb.debian.org/debian-security bullseye-security main contrib non-free
deb-src https://deb.debian.org/debian-security bullseye-security main contrib non-free
tractor درست روی دبیان کار نمیکنه با حداقل هنوز درست تنظیمش نکردید. فعلا غیرفعالش کنید. برای اینکار توی دوتا فایل زیر، اول هر خطی که متن داره، یه # بزارید.
/etc/apt/sources.list.d/tractor-team-ubuntu-impish.list
/etc/apt/sources.list.d/tractor-team-ubuntu-impish.list.save
بعد از کارهای بالا، apt update رو بزنید و خروجی رو هم اینجا قرار بدید.
-
خروجی apt update
Hit:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
Err:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
Hit:2 https://deb.debian.org/debian bullseye InRelease
Ign:3 http://linux.dropbox.com/debian sid InRelease
Get:4 https://deb.debian.org/debian bullseye-updates InRelease [36.8 kB]
Hit:5 http://linux.dropbox.com/debian sid Release
Err:6 http://linux.dropbox.com/debian sid Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
Get:7 https://deb.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:8 https://deb.debian.org/debian bullseye/non-free Sources [80.5 kB]
Get:9 https://deb.debian.org/debian bullseye/contrib Sources [43.0 kB]
Get:10 https://deb.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB]
Get:11 https://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:12 https://deb.debian.org/debian bullseye/contrib amd64 DEP-11 Metadata [13.6 kB]
Get:13 https://deb.debian.org/debian bullseye/contrib DEP-11 48x48 Icons [47.2 kB]
Get:14 https://deb.debian.org/debian bullseye/contrib DEP-11 64x64 Icons [93.3 kB]
Get:15 https://deb.debian.org/debian bullseye/non-free amd64 Packages [93.8 kB]
Get:16 https://deb.debian.org/debian bullseye/non-free Translation-en [91.5 kB]
Get:17 https://deb.debian.org/debian bullseye/non-free amd64 DEP-11 Metadata [17.9 kB]
Get:18 https://deb.debian.org/debian bullseye/non-free DEP-11 48x48 Icons [741 B]
Get:19 https://deb.debian.org/debian bullseye/non-free DEP-11 64x64 Icons [27.7 kB]
Get:20 https://deb.debian.org/debian-security bullseye-security/main Sources [19.1 kB]
Get:21 https://deb.debian.org/debian-security bullseye-security/main amd64 Packages [29.9 kB]
Get:22 https://deb.debian.org/debian-security bullseye-security/main Translation-en [16.1 kB]
Fetched 752 kB in 13s (58.0 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://linux.dropbox.com/debian sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: Failed to fetch http://ppa.launchpad.net/tractor-team/tractor/ubuntu/dists/impish/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
W: Failed to fetch http://linux.dropbox.com/debian/dists/sid/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: Some index files failed to download. They have been ignored, or old ones used instead.
-
متأسّفانه فرانکندبیان (https://wiki.ubuntu.ir/wiki/%D8%AF%D8%A8%DB%8C%D8%A7%D9%86_%D8%B1%D8%A7_%D8%AE%D8%B1%D8%A7%D8%A8_%D9%86%DA%A9%D9%86%DB%8C%D8%AF#.D9.81.D8.B1.D8.A7.D9.86.DA.A9_.D8.AF.D8.A8.DB.8C.D8.A7.D9.86_.D9.86.D8.B3.D8.A7.D8.B2.DB.8C.D8.AF_.28.D9.81.D8.B1.D8.A7.D9.86.DA.A9.D8.B4.D8.AA.D8.A7.DB.8C.D9.86.29) ساختی.
-
متأسّفانه فرانکندبیان (https://wiki.ubuntu.ir/wiki/%D8%AF%D8%A8%DB%8C%D8%A7%D9%86_%D8%B1%D8%A7_%D8%AE%D8%B1%D8%A7%D8%A8_%D9%86%DA%A9%D9%86%DB%8C%D8%AF#.D9.81.D8.B1.D8.A7.D9.86.DA.A9_.D8.AF.D8.A8.DB.8C.D8.A7.D9.86_.D9.86.D8.B3.D8.A7.D8.B2.DB.8C.D8.AF_.28.D9.81.D8.B1.D8.A7.D9.86.DA.A9.D8.B4.D8.AA.D8.A7.DB.8C.D9.86.29) ساختی.
باید دبیان رو دوباره نصب کنم؟
-
خروجی apt update
Hit:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
Err:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
Hit:2 https://deb.debian.org/debian bullseye InRelease
Ign:3 http://linux.dropbox.com/debian sid InRelease
Get:4 https://deb.debian.org/debian bullseye-updates InRelease [36.8 kB]
Hit:5 http://linux.dropbox.com/debian sid Release
Err:6 http://linux.dropbox.com/debian sid Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
Get:7 https://deb.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:8 https://deb.debian.org/debian bullseye/non-free Sources [80.5 kB]
Get:9 https://deb.debian.org/debian bullseye/contrib Sources [43.0 kB]
Get:10 https://deb.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB]
Get:11 https://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:12 https://deb.debian.org/debian bullseye/contrib amd64 DEP-11 Metadata [13.6 kB]
Get:13 https://deb.debian.org/debian bullseye/contrib DEP-11 48x48 Icons [47.2 kB]
Get:14 https://deb.debian.org/debian bullseye/contrib DEP-11 64x64 Icons [93.3 kB]
Get:15 https://deb.debian.org/debian bullseye/non-free amd64 Packages [93.8 kB]
Get:16 https://deb.debian.org/debian bullseye/non-free Translation-en [91.5 kB]
Get:17 https://deb.debian.org/debian bullseye/non-free amd64 DEP-11 Metadata [17.9 kB]
Get:18 https://deb.debian.org/debian bullseye/non-free DEP-11 48x48 Icons [741 B]
Get:19 https://deb.debian.org/debian bullseye/non-free DEP-11 64x64 Icons [27.7 kB]
Get:20 https://deb.debian.org/debian-security bullseye-security/main Sources [19.1 kB]
Get:21 https://deb.debian.org/debian-security bullseye-security/main amd64 Packages [29.9 kB]
Get:22 https://deb.debian.org/debian-security bullseye-security/main Translation-en [16.1 kB]
Fetched 752 kB in 13s (58.0 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://linux.dropbox.com/debian sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: Failed to fetch http://ppa.launchpad.net/tractor-team/tractor/ubuntu/dists/impish/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
W: Failed to fetch http://linux.dropbox.com/debian/dists/sid/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: Some index files failed to download. They have been ignored, or old ones used instead.
مخازن tractor رو هم فعلا پاک کنید.
sudo rm /etc/apt/sources list.d/tractor*
dropbox رو هم فعلا پاک کنید تا بعد دید میشه بدون مشکل نصبش کرد یا نه. برای اینکار به اسم بستهای که اون نصب کرده نیاز داریم. اون اسم با اسم فایل deb. که نصب کردید فرق داره. احتمالا توی قسمتی از اسم اون بسته، dropbox وجود داره. از دستور زیر برای پیدا کردن اون اسم استفاده کنید. خروجی رو اینجا بزارید.
apt list --installed | grep dropbox
دستور زیر رو هم بزنید تا مخازنی که دیگه دردسترس نیستند، از cache پاک بشن.
sudo apt autoclean
اینکه فرانکندبیان ساختید یا نه، مطمئن نیستم. فعلا کارهای بالا رو انجام بدید تا ببینیم میشه درستش کرد یا نه. بازهم خروجی apt update رو قرار بدید.
-
مخازن tractor رو هم فعلا پاک کنید.
sudo rm /etc/apt/sources list.d/tractor*
dropbox رو هم فعلا پاک کنید تا بعد دید میشه بدون مشکل نصبش کرد یا نه. برای اینکار به اسم بستهای که اون نصب کرده نیاز داریم. اون اسم با اسم فایل deb. که نصب کردید فرق داره. احتمالا توی قسمتی از اسم اون بسته، dropbox وجود داره. از دستور زیر برای پیدا کردن اون اسم استفاده کنید. خروجی رو اینجا بزارید.
apt list --installed | grep dropbox
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
dropbox/sid,now 2020.03.04 amd64 [installed]
دستور زیر رو هم بزنید تا مخازنی که دیگه دردسترس نیستند، از cache پاک بشن.
sudo apt autoclean
اینکه فرانکندبیان ساختید یا نه، مطمئن نیستم. فعلا کارهای بالا رو انجام بدید تا ببینیم میشه درستش کرد یا نه. بازهم خروجی apt update رو قرار بدید.
خروجی apt update
Hit:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
Err:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
Ign:2 http://linux.dropbox.com/debian sid InRelease
Hit:3 http://linux.dropbox.com/debian sid Release
Err:4 http://linux.dropbox.com/debian sid Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
Hit:5 https://deb.debian.org/debian bullseye InRelease
Get:6 https://deb.debian.org/debian bullseye-updates InRelease [36.8 kB]
Get:7 https://deb.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:8 https://deb.debian.org/debian-security bullseye-security/main Sources [15.8 kB]
Get:9 https://deb.debian.org/debian-security bullseye-security/main amd64 Packages [31.1 kB]
Get:10 https://deb.debian.org/debian-security bullseye-security/main Translation-en [16.8 kB]
Fetched 145 kB in 18s (7,971 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://linux.dropbox.com/debian sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: Failed to fetch http://ppa.launchpad.net/tractor-team/tractor/ubuntu/dists/impish/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 356DDB5DF31A252C
W: Failed to fetch http://linux.dropbox.com/debian/dists/sid/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: Some index files failed to download. They have been ignored, or old ones used instead.
-
اون دستوری که برای پاک کردن مخزن تراکتور بود رو اشتباه نوشتم. باید این دستور رو بزنید. (بهجای نقطه، اشتباهی فاصله گذاشته بودم)
sudo rm /etc/apt/sources.list.d/tractor*
خروجی دستور زیر رو هم بزارید.
dpkg -L dropbox | grep -v /usr/share
-
اون دستوری که برای پاک کردن مخزن تراکتور بود رو اشتباه نوشتم. باید این دستور رو بزنید. (بهجای نقطه، اشتباهی فاصله گذاشته بودم)
sudo rm /etc/apt/sources.list.d/tractor*
خروجی دستور زیر رو هم بزارید.
dpkg -L dropbox | grep -v /usr/share
Package 'dropbox' does not contain any files (!)
-
عجیبه که بسته dropbox فایلی نداره. خروجی دستور زیر چیه؟
apt depends dropbox
-
عجیبه که بسته dropbox فایلی نداره.
خودتون گفتید دراپ باکس رو حذف کنم.
خروجی دستور زیر چیه؟
apt depends dropbox
dropbox
Depends: procps
Depends: python3-gi (>= 3.12)
Depends: python3 (>= 3.4.0)
Depends: libatk1.0-0 (>= 2.10)
Depends: libc6 (>= 2.19)
Depends: libcairo2 (>= 1.13)
Depends: libglib2.0-0 (>= 2.40)
Depends: libgtk-3-0 (>= 3.10.8)
Depends: libpango1.0-0 (>= 1.36.3)
Depends: lsb-release
Depends: gir1.2-gdkpixbuf-2.0 (>= 2.30.7)
Depends: gir1.2-glib-2.0 (>= 1.40.0)
Depends: gir1.2-gtk-3.0 (>= 3.10.8)
Depends: gir1.2-pango-1.0 (>= 1.36.3)
Breaks: nautilus-dropbox
Suggests: nautilus (>= 3.10.1)
Suggests: python3-gpg (>= 1.8.0)
Replaces: nautilus-dropbox
dropbox
-
فکر کنم مشکل حل شده. خروجی apt update چیه؟
یه بسته نصب کنید ببینید میشه یا نه. (مثلا bzr) بعد دوباره اون رو purge کنید و ببینید میشه یا نه.
دستور apt autoclean رو هم قبلا زدید درسته؟
-
فکر کنم مشکل حل شده. خروجی apt update چیه؟
یه بسته نصب کنید ببینید میشه یا نه. (مثلا bzr) بعد دوباره اون رو purge کنید و ببینید میشه یا نه.
دستور apt autoclean رو هم قبلا زدید درسته؟
الآن بسته ها نصب میشن. purge هم میشن. فکر کنم autoclean رو هم قبلا زده بودم. خیلی متشکرم.
خروجی apt update:
Hit:1 https://deb.debian.org/debian bullseye InRelease
Get:2 https://deb.debian.org/debian bullseye-updates InRelease [36.8 kB]
Get:3 https://deb.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Ign:4 http://linux.dropbox.com/debian sid InRelease
Hit:5 http://linux.dropbox.com/debian sid Release
Err:6 http://linux.dropbox.com/debian sid Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
Fetched 80.9 kB in 12s (6,781 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://linux.dropbox.com/debian sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: Failed to fetch http://linux.dropbox.com/debian/dists/sid/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E
W: Some index files failed to download. They have been ignored, or old ones used instead.
الآن قید کاربراتور و تراکتور رو بزنم؟
-
تراکتور و کاربراتور رو بررسی میکنم که ببینم میشه به طور مطمئن روی دبیان راهاندازی کرد یا نه. ولی هنکز هم یه مشکل مربوط به مخازن دارید. اون مخزن dropbox هنوز هستش. ولی کلید gpg اون رو ندارید.(فکر کنم قبلا پاکش کردید) خروجی دستورات زیر رو بزارید.
ls /etc/apt
ls /etc/apt/trusted.gpg.d
dpkg -S /etc/apt/sources.list.d/dropbox.list
-
تراکتور و کلربراتور رو بررسی میکنم که ببینم میشه به طور مطمئن روی دبیان راهاندازی کرد یا نه. ولی هنکز هم یه مشکل مربوط به مخازن دارید. اون مخزن dropbox هنوز هستش. ولی کلید gpg اون رو ندارید.(فکر کنم قبلا پاکش کردید) خروجی دستورات زیر رو بزارید.
ls /etc/apt
ls /etc/apt/trusted.gpg.d
dpkg -S /etc/apt/sources.list.d/dropbox.list
خروجی ها به ترتیب:
apt.conf.d listchanges.conf preferences.d sources.list.d trusted.gpg.d
auth.conf.d listchanges.conf.d sources.list trusted.gpg
debian-archive-bullseye-automatic.gpg
debian-archive-bullseye-security-automatic.gpg
debian-archive-bullseye-stable.gpg
debian-archive-buster-automatic.gpg
debian-archive-buster-security-automatic.gpg
debian-archive-buster-stable.gpg
debian-archive-stretch-automatic.gpg
debian-archive-stretch-security-automatic.gpg
debian-archive-stretch-stable.gpg
tractor-team_ubuntu_tractor.gpg
dpkg-query: no path found matching pattern /etc/apt/sources.list.d/dropbox.list
-
مخزن dropbox رو پاک کنید تا اون خطا مربوط به dropbox رو نگیرید.
sudo rm /etc/apt/sources.list.d/dropbox*
هنوز هم یه کلید gpg داخل دایرکتوری /etc/apt/ هست. خروجی دستور زیر رو بزارید تا بشه فهمید برای چی هست.
apt-key --keyring /etc/apt/trusted.gpg list
-
مخزن dropbox رو پاک کنید تا اون خطا مربوط به dropbox رو نگیرید.
sudo rm /etc/apt/sources.list.d/dropbox*
هنوز هم یه کلید gpg داخل دایرکتوری /etc/apt/ هست. خروجی دستور زیر رو بزارید تا بشه فهمید برای چی هست.
apt-key --keyring /etc/apt/trusted.gpg list
کد اول رو زدم و مشکلی پیش نیومد. خروجی کد دوم:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
/etc/apt/trusted.gpg
--------------------
pub rsa2048 2010-02-11 [SC]
1C61 A265 6FB5 7B7E 4DE0 F4C1 FC91 8B33 5044 912E
uid [ unknown] Dropbox Automatic Signing Key <linux@dropbox.com>
-
اون کلید مربوط به dropbox هست. لازمش ندارید. پاکش کنید.
sudo rm /etc/apt/trusted.gpg