انجمنهای فارسی اوبونتو
		کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: mamadism در 08 خرداد 1400، 11:59 قظ
		
			
			- 
				سلام
 من از دبیان استفاده میکنم . متاسفانه چند روزه توی ترمینالم خیلی ارور میده
 موقع اپدبت هم این ارور رو میده فکر کنم پابلیک کی اش خراب شده
 apt update
 Hit:1 http://debian.asis.ai/debian buster InRelease
 Ign:2 http://debian.asis.ai/debian buster/updates InRelease
 Hit:3 http://debian.asis.ai/debian buster-updates InRelease
 Ign:4 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu impish InRelease
 Err:5 http://debian.asis.ai/debian buster/updates Release
 404  Not Found [IP: 85.133.198.106 80]
 Err:6 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu impish Release
 404  Not Found [IP: 91.189.95.85 80]
 Get:7 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease [18.1 kB]
 Err:7 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
 Reading package lists... Done
 E: The repository 'http://debian.asis.ai/debian buster/updates 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.
 E: The repository 'http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu impish 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: 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.
 
لطفا کمکم کنید من تازه وارد لینوکس شدم ممنون
- 
				شما چرا ppa اضافه کردید؟ ppa فقط توی اوبونتو و توزیعهایی که برمبنای اوبونتو هستند کار میکنه. توی دبیان تقریبا همیشه مشکل ایجاد میکنند. (به جز توی بعضی مواقع)
 شما هم ppa ها مربوط به اوبونتو impish رو اضافه کردید. اینها مال اوبونتو ۲۱.۱۰ هست که حتی هنوز رسمی منتشر نشده.(حدود ۵ ماه دیگه منتشر میشه)
 
 اگه از تراکتور میخواهید استفاده کنید، مخزنش رو باید درست تنظیم کنید. (ppa برای این جواب میده)
 
 uget هم توی مخازن دبیان هست لازم نیست مخزن جدا اضافه کنید.
 برای نصبش این دستور رو بزنید.( بعد از اینکه خطاهای بالا رو درست کردید :) وگرنه ممکنه سیستم رو خراب کنید)
 sudo apt install uget
 خروجی این دستورات رو بزارید.
 cat /etc/apt/sources.list
 ls /etc/apt/sources.list.d
 مخزن debian.asis.ai رو درست تنظیم نکردید. از خروجی apt مشخصه. خروجی دستورات بالا رو قرار بدید تا بشه بیشتر راهنمایی کرد.
 احتمالا خطی که شامل buster/updates هست، اینجوری نوشته شده.
 deb http://debian.asis.ai/debian buster/updates mainدرحالی که باید اینجوری باشه
 deb http://debian.asis.ai/debian-security buster/updates main
 خروجیهای دستوراتی که گفتم رو حتما قرار بدید تا بشه بیشتر راهنمایی کرد.
- 
				کلید مخزن تراکتور اینه: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x356ddb5df31a252c
 باید با apt-key به مخازنت اضافهاش کنی.
- 
				یکی اومد درستش کنه زد مخازنم رو هم پاک کرد فکر کنم  ](*,)
 cd /etc/apt/sources.list.d
 
رفته اینجا همه چیزو پاک کرده اینم زده
 
 sudo apt autocleanالان این میاد
 apt update
 Hit:1 http://deb.debian.org/debian buster InRelease
 Ign:2 http://deb.debian.org/debian buster/updates InRelease
 Hit:3 http://deb.debian.org/debian buster-updates InRelease
 Err:4 http://deb.debian.org/debian buster/updates Release
 404  Not Found [IP: 151.101.14.132 80]
 Reading package lists... Done
 E: The repository 'http://deb.debian.org/debian buster/updates 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.
یعنی پشیونم کرد از نصب دبیان  :'(
 خروجی دستوراتتون هم این ها شد
 cat /etc/apt/sources.list
 #
 
 # deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 NETINST 20210327-10:38]/ buster main
 
 # deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 NETINST 20210327-10:38]/ buster main
 
 deb http://deb.debian.org/debian/ buster main
 deb-src http://deb.debian.org/debian/ buster main
 
 deb http://deb.debian.org/debian/ buster/updates main
 deb-src http://deb.debian.org/debian/ buster/updates main
 
 # buster-updates, previously known as 'volatile'
 deb http://deb.debian.org/debian/ buster-updates main
 deb-src http://deb.debian.org/debian/ buster-updates main
 
 # 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.
 
ls /etc/apt/sources.list.dاخری هم که گفتم چی شد
- 
				اون ppa که مربوط به uget بود، حتما باید پاک میشد. مخزن تراکتور رو هم درست تنظیم نکرده بودید. ولی راحت میشه اضافش کرد. نگران اون نباشید.
 دستور autoclean هم برای این بوده که لیست مخازنی که دیگه در دسترس نیستند، از cache پاک بشه تا apt سراغ اونها نره.
 
 لیست مخازن شما هم درست به نظر میاد ولی یه جاش اشتباهه.
 توی خطهای ۱۱ و ۱۲ بهجای
 http://deb.debian.org/debianیه کدوم از آدرسهای زیر رو بزارید. فرقی نداره کدوم باشه.
 http://deb.debian.org/debian-security
 http://security.debian.org/debian
 برای اینکار فایل sources.list رو با هر ویرایشگر متنی و با دسترسی روت باز کنید و چیزهای مورد نیاز رو تغییر بدید. nano کار باهاش راحته.
 sudo nano /etc/apt/sources.listبعدش با ctrl + o ذخیره کنید و با ctrl + x خارج بشید.
 
 میتونید بهجای http از https استفاده کنید. برای اینکار فقط کافیه توی فایل مخازن، http رو تبدیل https کنید.
 بعد از اینکارها، یه بار sudo apt update بزنید. اگه مشکلی نبود یعنی درست انجام دادید.
 
 uget توی مخازن دبیان هست. لازم نیست برای نصبش چیزی اضافه کنید. این دستور رو بزنید.
 sudo apt install uget
 برای تراکتور هم اول بسته software-properties-common رو نصب کنید. (احتمالا نصب شده)
 sudo apt install software-properties-common 
 الان مخزن تراکتور رو اضافه کنید.
 sudo add-apt-repository ppa:tractor-team/tractor
 حالا لیست مخازن رو آپدیت کنید.
 sudo apt updateمطمئن بشید که مخزن درست اضافه شده.
 برنامه رو نصب کنید.
 sudo apt install tractor
- 
				انجام دادم ولی تغییری نکرد
 sudo apt update
 Hit:1 http://deb.debian.org/debian buster InRelease
 Ign:2 http://security.debian.org/debian buster-updates InRelease
 Ign:3 http://deb.debian.org/debian buster/updates InRelease
 Err:4 http://security.debian.org/debian buster-updates Release
 404  Not Found [IP: 199.232.138.132 80]
 Err:5 http://deb.debian.org/debian buster/updates Release
 404  Not Found [IP: 199.232.138.132 80]
 Reading package lists... Done
 E: The repository 'http://security.debian.org/debian buster-updates 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.
 E: The repository 'http://deb.debian.org/debian buster/updates 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.
 
اینم  فایل سورس ها
 cat /etc/apt/sources.list
 #
 
 # deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 NETINST 20210327-10:38]/ buster main
 
 # deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 NETINST 20210327-10:38]/ buster main
 
 deb http://deb.debian.org/debian/ buster main
 deb-src http://deb.debian.org/debian/ buster main
 
 deb http://deb.debian.org/debian/ buster/updates main
 deb-src http://deb.debian.org/debian/ buster/updates main
 
 # buster-updates, previously known as 'volatile'
 deb http://security.debian.org/debian buster-updates main
 deb-src http://security.debian.org/debian buster-updates main
 
 # 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 buster/updates main
 deb-src http://deb.debian.org/debian buster/updates main
 در حال که شما این خطها رو تغییر دادید
 deb http://deb.debian.org/debian buster-updates main
 deb-src http://deb.debian.org/debian buster-updates main
و حالا این شکلی شدن.
 deb http://security.debian.org/debian buster-updates main
 deb-src http://security.debian.org/debian buster-updates main
شما باید خطهایی که شامل buster/updates بود رو تغییر میدادید. نَه خطهایی که شامل buster-updates هست.
 
 الان این خطها رو به حالت قبل برگردونید
 deb http://security.debian.org/debian buster-updates main
 deb-src http://security.debian.org/debian buster-updates main
یعنی اینجوری بشه.
 deb http://deb.debian.org/debian buster-updates main
 deb-src http://deb.debian.org/debian buster-updates main
 و این خطها رو هم تغییر بدید.
 deb http://deb.debian.org/debian buster/updates main
 deb-src http://deb.debian.org/debian buster/updates main
اینجوری باید بشه
 deb http://security.debian.org/debian buster/updates main
 deb-src http://security.debian.org/debian buster/updates main
- 
				اخه گفته بودید خط ۱۱ و۱۲  :oops:
 خب انجام شد
 الان هم اینجوریه
 apt update
 Get:1 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
 Hit:2 https://deb.debian.org/debian buster InRelease
 Ign:3 http://security.debian.org/debian buster/updates InRelease
 Err:4 http://security.debian.org/debian buster/updates Release
 404  Not Found [IP: 151.101.14.132 80]
 Reading package lists... Done
 E: The repository 'http://security.debian.org/debian buster/updates 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.
 
اینم لیست سورس ها ک گفتید عوض کردم
 cat /etc/apt/sources.list
 #
 
 # deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 NETINST 20210327-10:38]/ buster main
 
 # deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 NETINST 20210327-10:38]/ buster main
 
 deb https://deb.debian.org/debian/ buster main
 deb-src https://deb.debian.org/debian/ buster main
 
 deb https://security.debian.org/debian buster/updates main
 deb-src https://security.debian.org/debian buster/updates main
 # buster-updates, previously known as 'volatile'
 deb https://deb.debian.org/debian buster-updates main
 deb-src https://deb.debian.org/debian buster-updates main
 
 # 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.
 
 
- 
				اشتباهی بهجای ۱۰ و ۱۱ نوشتم ۱۱ و ۱۲  ;D
 به deb.debian.org/debian-security تغییرش بدید. باید کار کنه.
- 
				 \\:D/ فکر کنم درست شد :D  :D :D
  apt update
 Hit:1 https://deb.debian.org/debian buster InRelease
 Get:2 https://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
 Get:3 https://deb.debian.org/debian buster-updates InRelease [51.9 kB]
 Get:4 https://deb.debian.org/debian-security buster/updates/main Sources [187 kB]
 Get:5 https://deb.debian.org/debian-security buster/updates/main amd64 Packages [291 kB]
 Get:6 https://deb.debian.org/debian-security buster/updates/main Translation-en [151 kB]
 Fetched 746 kB in 3s (275 kB/s)
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 6 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
دستتون درد نکنه خدا خیرتون بده =D> =D>
- 
				واسه تراکتور این میاد
 واسه نصبش هم نمیتونه پیداش کنه
 sudo apt update
 Get:1 http://ppa.launchpad.net/tractor-team/tractor/ubuntu impish InRelease [18.1 kB]
 Hit:2 https://deb.debian.org/debian buster InRelease
 Hit:3 https://deb.debian.org/debian-security buster/updates InRelease
 Hit:4 https://deb.debian.org/debian buster-updates 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
 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.
 
- 
				کلید مخزن تراکتور اینه: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x356ddb5df31a252c
 باید با apt-key به مخازنت اضافهاش کنی.
 
 این
- 
				کلید تراکتور رو اضافه کنید. اینجوری
 wget -qO - https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x356ddb5df31a252c | sudo apt-key add -
- 
				اینجوری شد
 wget -qO - https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x356ddb5df31a252c | sudo apt-key add -
 fish: No matches for wildcard “https://keyserver.ubuntu.com/pks/lookup?op=get”. See `help expand`.
 wget -qO - https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x356ddb5df31a252c | sudo apt-key add -
 ^
 fish: Unsupported use of '='. In fish, please use 'set search 0x356ddb5df31a252c'.
 wget -qO - https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x356ddb5df31a252c | sudo apt-key add -
 
و بخشی از ادرس به رنگ قرمز دراومده
 بعد از علامت &
- 
				درستش کردم
 دو طرف ادرس کوتیشن گذاشتم اوکی داد
 ممنون
- 
				اگه مشکلی نیست، یه (حل شد) به عنوان موضوع اضافه کنید
			
- 
				چشم