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

تازه کار => انجمن تازه‌کاران => نویسنده: zarash در 24 اسفند 1398، 04:32 ب‌ظ

عنوان: خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: zarash در 24 اسفند 1398، 04:32 ب‌ظ
سلام دوستان
موقع آپدیت و وارد کردن کد زیر با خطا روبرو میشم ممنون می شم کسی راهنمایی کنه
sudo apt-get update

خطا
Hit:1 http://deb.opera.com/opera stable InRelease                                                                                                               
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                                         
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                               
Hit:4 https://deb.opera.com/opera-stable stable InRelease                                                                                       
Hit:5 https://dl.yarnpkg.com/debian stable InRelease                     
Reading package lists... Done
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2[/right][/left]
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: SLACKER در 24 اسفند 1398، 05:07 ب‌ظ
Hit:1 http://deb.opera.com/opera stable InRelease                                                                                                               
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                                         
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                               
Hit:4 https://deb.opera.com/opera-stable stable InRelease                                                                                       
Hit:5 https://dl.yarnpkg.com/debian stable InRelease                     
Reading package lists... Done
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/opera.list:1 and /etc/apt/sources.list.d/opera.list:2[/right][/left]
بعضی از نوشتهای این فایل /etc/apt/sources.list.d
دوبار نوشته شده. باید پاکش کنی یا این رو بزاری اول خط #
نوشته های این فایل /etc/apt/sources.list.d رو بزار اینجا تا بهتر بشه راهنمایی کرد
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: esmaeelE در 24 اسفند 1398، 05:59 ب‌ظ
برای اوبونتو راه ساده اینه
https://askubuntu.com/a/781636
می‌توانید از مخازن داخلی نیز استفاده کنید.
echo "deb http://archive.ubuntu.petiak.ir/ubuntu/ bionic main universe restricted multiverse">/etc/apt/sources.list
بعد از تغییر مخزن خروجی دستور زیر را قرار دهید.
sudo apt update
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: zarash در 24 اسفند 1398، 09:59 ب‌ظ
ممنونم دوستان بابت وقتی که میزارین
از https://askubuntu.com/questions/760896/how-can-i-fix-apt-error-w-target-packages-is-configured-multiple-times?noredirect=1&lq=1
اینجا تونستم خطاهارو کم کنم
الان خطایی که دارم این هست:Hit:1 http://deb.opera.com/opera stable InRelease                                                                                         
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                         
Hit:3 https://dl.yarnpkg.com/debian stable InRelease                                         
Hit:4 https://deb.opera.com/opera-stable stable InRelease             
Reading package lists... Done   
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: SLACKER در 25 اسفند 1398، 02:50 ق‌ظ
نوشته های این فایل /etc/apt/sources.list.d رو بزار اینجا
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: zarash در 25 اسفند 1398، 08:43 ق‌ظ
نوشته های این فایل /etc/apt/sources.list.d رو بزار اینجا

دستور زیر رو زدم
nano /etc/apt/sources.list

نتیجه:
فقط این خط کد هست
deb http://archive.ubuntu.com/ubuntu bionic main universe multiverse restricted
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: helium در 25 اسفند 1398، 09:25 ق‌ظ
ممنونم دوستان بابت وقتی که میزارین
از https://askubuntu.com/questions/760896/how-can-i-fix-apt-error-w-target-packages-is-configured-multiple-times?noredirect=1&lq=1
اینجا تونستم خطاهارو کم کنم
الان خطایی که دارم این هست:Hit:1 http://deb.opera.com/opera stable InRelease                                                                                         
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                         
Hit:3 https://dl.yarnpkg.com/debian stable InRelease                                         
Hit:4 https://deb.opera.com/opera-stable stable InRelease             
Reading package lists... Done   

سلام، این خطا نیست.
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: zarash در 25 اسفند 1398، 11:08 ق‌ظ
ممنونم دوستان بابت وقتی که میزارین
از https://askubuntu.com/questions/760896/how-can-i-fix-apt-error-w-target-packages-is-configured-multiple-times?noredirect=1&lq=1
اینجا تونستم خطاهارو کم کنم
الان خطایی که دارم این هست:Hit:1 http://deb.opera.com/opera stable InRelease                                                                                         
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                         
Hit:3 https://dl.yarnpkg.com/debian stable InRelease                                         
Hit:4 https://deb.opera.com/opera-stable stable InRelease             
Reading package lists... Done   

سلام، این خطا نیست.


پس چی هست؟؟؟ چطور می تونم برطرفش کنم که نمایش داده نشه؟؟؟ ](*,) ](*,) ](*,)
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: ###darklinux$$$ در 25 اسفند 1398، 11:13 ق‌ظ
ممنونم دوستان بابت وقتی که میزارین
از https://askubuntu.com/questions/760896/how-can-i-fix-apt-error-w-target-packages-is-configured-multiple-times?noredirect=1&lq=1
اینجا تونستم خطاهارو کم کنم
الان خطایی که دارم این هست:Hit:1 http://deb.opera.com/opera stable InRelease                                                                                         
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                         
Hit:3 https://dl.yarnpkg.com/debian stable InRelease                                         
Hit:4 https://deb.opera.com/opera-stable stable InRelease             
Reading package lists... Done   

سلام، این خطا نیست.


پس چی هست؟؟؟ چطور می تونم برطرفش کنم که نمایش داده نشه؟؟؟ ](*,) ](*,) ](*,)
مخازنی که مطعلق به اپرا هست رو پاک کنید و بعد از سایت های معتبر یک مخزن داشته باشید که اصلی باشه من الان دو تا مخزن دیدم که هر دو تاش مال اپراس طبیعیه همچین بلایی سرت بیاد
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: zarash در 25 اسفند 1398، 12:10 ب‌ظ
با دستور زیر
dpkg -l
از لیست پیدا کردم و بعد  دستور زیر
sudo apt-get --purge remove opera-stable

اما باز دو پیغام دیگه مونده
Hit:1 http://deb.opera.com/opera stable InRelease                     
Hit:2 https://dl.yarnpkg.com/debian stable InRelease

دوستان من مبتدی هستم ممنون میشم توضیحاتتونو کاملتر بفرمایید :) :oops:
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: هومان در 25 اسفند 1398، 12:14 ب‌ظ
با دستور زیر
dpkg -l
از لیست پیدا کردم و بعد  دستور زیر
sudo apt-get --purge remove opera-stable

اما باز دو پیغام دیگه مونده
Hit:1 http://deb.opera.com/opera stable InRelease                     
Hit:2 https://dl.yarnpkg.com/debian stable InRelease

دوستان من مبتدی هستم ممنون میشم توضیحاتتونو کاملتر بفرمایید :) :oops:
اونا منطقین وجودشون
و اینکه مخازن به برنامه ربط نداره و به جای پاک کردن برنامه باید مخازن رو پاک میکردید
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: zarash در 25 اسفند 1398، 12:19 ب‌ظ
با دستور زیر
dpkg -l
از لیست پیدا کردم و بعد  دستور زیر
sudo apt-get --purge remove opera-stable

اما باز دو پیغام دیگه مونده
Hit:1 http://deb.opera.com/opera stable InRelease                     
Hit:2 https://dl.yarnpkg.com/debian stable InRelease

دوستان من مبتدی هستم ممنون میشم توضیحاتتونو کاملتر بفرمایید :) :oops:
اونا منطقین وجودشون
و اینکه مخازن به برنامه ربط نداره و به جای پاک کردن برنامه باید مخازن رو پاک میکردید

مخازن رو چطوری پاک کنم؟؟؟ :'(
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: هومان در 25 اسفند 1398، 12:21 ب‌ظ
با دستور زیر
dpkg -l
از لیست پیدا کردم و بعد  دستور زیر
sudo apt-get --purge remove opera-stable

اما باز دو پیغام دیگه مونده
Hit:1 http://deb.opera.com/opera stable InRelease                     
Hit:2 https://dl.yarnpkg.com/debian stable InRelease

دوستان من مبتدی هستم ممنون میشم توضیحاتتونو کاملتر بفرمایید :) :oops:
اونا منطقین وجودشون
و اینکه مخازن به برنامه ربط نداره و به جای پاک کردن برنامه باید مخازن رو پاک میکردید

مخازن رو چطوری پاک کنم؟؟؟ :'(
من اوبونتو ندارم ولی تا جایی که یادمه یه رابط کاربری بودش برای این کار ولی خب یادم نیست کجا بودش
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: SLACKER در 25 اسفند 1398، 12:31 ب‌ظ
حواسم نبود
این فایل منظورم بود
/etc/apt/sources.listنوشته های این فایل رو بزار اینجا
————————————————————-
از اینجا هم میتونی دوباره بسازیش

https://repogen.simplylinux.ch/index.php
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: Sun-PDA در 25 اسفند 1398، 12:55 ب‌ظ
با دستور زیر
dpkg -l
از لیست پیدا کردم و بعد  دستور زیر
sudo apt-get --purge remove opera-stable

اما باز دو پیغام دیگه مونده
Hit:1 http://deb.opera.com/opera stable InRelease                     
Hit:2 https://dl.yarnpkg.com/debian stable InRelease

دوستان من مبتدی هستم ممنون میشم توضیحاتتونو کاملتر بفرمایید :) :oops:
اونا منطقین وجودشون
و اینکه مخازن به برنامه ربط نداره و به جای پاک کردن برنامه باید مخازن رو پاک میکردید

مخازن رو چطوری پاک کنم؟؟؟ :'(

توی منو software & update رو سرچ کن و به تب other software برو اونجا مخازنی که نمیخواهی رو پاک کن یا تیکشون رو بردار
عنوان: پاسخ : خطای آپدیت اوبونتو ۱۸.۰۴
ارسال شده توسط: zarash در 25 اسفند 1398، 01:28 ب‌ظ
با دستور زیر به مخازن دسترسی پیدا کردم

ls -lh /etc/apt/sources.list.d

و بعد با دستور زیر مخزن مورد نظر ور پاک کردم

sudo rm -Rf /etc/apt/sources.list.d/PPA_NAME.list

و حل شد. \\:D/
 ممنون از دوستانی که کمکم کردم :)