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

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


ارائه ۲۴٫۱۰ اوبونتو منتشر شد 🎉

نویسنده موضوع: مشکل در به روز رسانی و آپدیت مخازن نرم افزاری (حل شد)  (دفعات بازدید: 1739 بار)

0 کاربر و 2 مهمان درحال مشاهده موضوع.

آفلاین c17iii

  • Newbie
  • *
  • ارسال: 7
  • جنسیت : پسر
با سلام و روز بخیر به تمام دوستان.
بنده تازه اوبونتو رو نصب کردم و دارم یاد میگیرم. نمیدونم کجا و چی رو تغییر دادم که نمیتونم آپدیت کنم و حتی بعضی نرم افزارها رو هم نمیتونم نصب کنم مثل vlc
خطایی که میده به این صورته:
an error occured, please run package manager from the right click menu or apt-get in terminal to see what is wrong.
E: Type 'eb' is not known on line 1 in source list /etc/apt/sources.list
E: The list of sources could not be read.
قبل از این پیام هم نمیتونستم آپدیت کنم. دوستان راهی دارن مثل روز اول بشه. ممنون میشم بنده رو راهنمایی کنید
« آخرین ویرایش: 28 امرداد 1396، 08:08 ب‌ظ توسط c17iii »

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
سلام
خروجی این دستورات رو تو تگ کد بذارین :
cat /etc/apt/sources.list
sudo apt update
sudo apt install vlc

به احتمال زیاد شما تو لیست مخازنتون یه ورودی اشتباه قرار دادین الان باید پاکش کنیم

آفلاین c17iii

  • Newbie
  • *
  • ارسال: 7
  • جنسیت : پسر
کد شما رو وارد کردم و خروجی به این صورته. برای نصب vlc  هم رمز رو میخاد که هرچی میزنم قبول نمیکنه
eb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirror.iranserver.com/ubuntu/ xenial main restricted
deb-src http://mirror.iranserver.com/ubuntu/ xenial restricted universe multiverse main #Added by software-properties
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.iranserver.com/ubuntu/ xenial-updates main restricted
deb-src http://mirror.iranserver.com/ubuntu/ xenial-updates restricted universe multiverse main #Added by software-properties
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirror.iranserver.com/ubuntu/ xenial universe
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial universe
deb http://mirror.iranserver.com/ubuntu/ xenial-updates universe
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirror.iranserver.com/ubuntu/ xenial multiverse
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://mirror.iranserver.com/ubuntu/ xenial-updates multiverse
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirror.iranserver.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirror.iranserver.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
# deb-src http://ir.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://mirror.iranserver.com/ubuntu/ xenial-security main restricted
deb-src http://mirror.iranserver.com/ubuntu/ xenial-security restricted universe multiverse main #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://mirror.iranserver.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://mirror.iranserver.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
در مورد رمز ، زبان کیبورد و وضعیت Caps Lock رو چک کنین چون بدون sudo امکان نصب نرم افزار با apt و به صورت درست براتون وجود نخواهد داشت (و حتی امکان اجرای دستورات بعدی)

در مورد ورودی نادرست لیست مخازن هم درست حدس زده بودم خط زیر غلطه:
eb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restrictedو باید به خط زیر تبدیل بشه :
# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restrictedبرای اینکار دستور زیر رو وارد کنین :
sudo sed -i 's/\<eb\>/# deb/g' /etc/apt/sources.list
برای چک کردن اینکه درست کار می کنه و مشکلی نیست خروجی این دستور رو بذارین :
sudo apt update
sudo apt install vlc

آفلاین c17iii

  • Newbie
  • *
  • ارسال: 7
  • جنسیت : پسر
بله درسته این خط رو یادمه یجا پاک کردم.
Reading package lists... Done
Building dependency tree       
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:
 vlc : Depends: vlc-nox (= 2.2.2-5ubuntu0.16.04.3) but 2.2.2-5ubuntu0.16.04.4 is to be installed
       Recommends: vlc-plugin-notify (= 2.2.2-5ubuntu0.16.04.3) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.2-5ubuntu0.16.04.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
اول مخازن رو بروزرسانی کنین :
sudo apt updateاگه خطا نداد اقدام به نصب vlc کنین :
sudo apt install vlcچون شما نسخه ی 2.2.2-5ubuntu0.16.04.4 پکیج vlc-nox رو نصب دارین در صورتی که مخازن فعلی شما ورژن 2.2.2-5ubuntu0.16.04.3 رو پیش نیاز معرفی کردن (و با توجه به اینکه نسخه ی 2.2.2-5ubuntu0.16.04.4 تو مخازن رسمی xenial وجود داره نیشون می ده بروزرسانی مخازن رو سیستم شما درست اتفاق نیوفتاده)
برای اینکه فرآیند بروزرسانی رو چک کنم خروجی دستور اول update رو هم بذارین

آفلاین c17iii

  • Newbie
  • *
  • ارسال: 7
  • جنسیت : پسر
دستور رو زدم. خروجیش به این صورته دوست عزیز
Hit:1 http://mirror.iranserver.com/ubuntu xenial InRelease
Hit:2 http://mirror.iranserver.com/ubuntu xenial-updates InRelease             
Hit:3 http://mirror.iranserver.com/ubuntu xenial-backports InRelease           
Hit:4 http://mirror.iranserver.com/ubuntu xenial-security InRelease     
Ign:5 http://ppa.launchpad.net/cooperjona/nitrotasks/ubuntu xenial InRelease
Ign:6 http://ppa.launchpad.net/n-muench/vlc/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/noobslab/apps/ubuntu xenial InRelease
Hit:8 http://ppa.launchpad.net/persepolis/ppa/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu xenial InRelease
Err:11 http://ppa.launchpad.net/cooperjona/nitrotasks/ubuntu xenial Release
  404  Not Found
Err:12 http://ppa.launchpad.net/n-muench/vlc/ubuntu xenial Release
  404  Not Found
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/cooperjona/nitrotasks/ubuntu xenial 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/n-muench/vlc/ubuntu xenial 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.

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
بله شما دو تا مخزن ثانویه اضافه کردین که هیچ کدوم پکیجی برای xenial ندارن با این دستورات اونا رو پاک کنین :
sudo add-apt-repository -r ppa:cooperjona/nitrotasks
sudo add-apt-repository -r ppa:n-muench/vlc
حالا دستورات زیر رو اجرا کنین :
sudo apt update
sudo apt install vlc

آفلاین c17iii

  • Newbie
  • *
  • ارسال: 7
  • جنسیت : پسر
دوست عزیز دستت درد نکنه. الان Software center و Software updater درست شده و میگه که آپدیته. این خروجی آپدیت که به این صورته:

Hit:1 http://mirror.iranserver.com/ubuntu xenial InRelease
Hit:2 http://mirror.iranserver.com/ubuntu xenial-updates InRelease             
Hit:3 http://mirror.iranserver.com/ubuntu xenial-backports InRelease           
Hit:4 http://mirror.iranserver.com/ubuntu xenial-security InRelease         
Hit:5 http://ppa.launchpad.net/noobslab/apps/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/persepolis/ppa/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease
Hit:8 http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu xenial InRelease
Reading package lists... Done                     
Building dependency tree       
Reading state information... Done
All packages are up to date

ولی vlc هنوز مشکل داره و این خروجی رو میده:

Reading package lists... Done
Building dependency tree       
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:
 vlc : Depends: vlc-nox (= 2.2.2-5ubuntu0.16.04.3) but 2.2.2-5ubuntu0.16.04.4 is to be installed
       Recommends: vlc-plugin-notify (= 2.2.2-5ubuntu0.16.04.3) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.2-5ubuntu0.16.04.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
برای مشکل vlc این دستور رو بزنین:
sudo dpkg -r --force-all vlc-noxحالا اینو بزنین :
sudo apt install vlc

آفلاین c17iii

  • Newbie
  • *
  • ارسال: 7
  • جنسیت : پسر
دوست عزیز ممنون همه چی درست شده و مثل اول کار میکنه. اینکه به بنده کمک کردین بسیار متشکرم.
چون تازه شروع کردم امکانش هست مختصر و ساده بفرمایید مشکل چی بوده؟ شاید تخصصی متوجه نشم ولی میخاستم تیتر وار هم شده بدونم مشکل چی بوده تا در آینده شاید کمکم کرد

آفلاین علی رزم دیده

  • عضو کاربران ایرانی اوبونتو
  • *
  • ارسال: 1244
  • جنسیت : پسر
  • ali76 سابق
دوست عزیز ممنون همه چی درست شده و مثل اول کار میکنه. اینکه به بنده کمک کردین بسیار متشکرم.
چون تازه شروع کردم امکانش هست مختصر و ساده بفرمایید مشکل چی بوده؟ شاید تخصصی متوجه نشم ولی میخاستم تیتر وار هم شده بدونم مشکل چی بوده تا در آینده شاید کمکم کرد
خواهش می کنم دوست عزیز
بله چشم ؛ چند تا مشکل بود :
1.شما اون #deb رو پاک کرده بودین و به صورت eb درآورده بودین
2.شما مخازن ثانویه (ppa) اضافه کرده بودین که برای اوبونتو 16.04 پکیج نداشت و Not found می داد
3.از طریق یکی از مخازن پکیج vlc-nox رو نصب کرده بودین که دارای ورژن بالاتر از ورژن مورد نیاز بود
و از اونجا که خود apt به صورت پیش فرض پکیج ها رو دانگرید نمی کنه باید دستی این کار رو می کردین که دو تا راه براش وجود داشت
1) کلا vlc-nox رو پاک کنیم و بذاریم خود apt این پکیج رو موقع نصب vlc نصب کنه که ما این کار رو انجام دادیم (اون سوییچ -r برای پاک کردن و اون --force-all برای نادیده گرفتن پیش نیازها و تمام اخطارها و خطاها بود)
2) به صورت دستی این پکیج رو با دستور زیر دانگرید کنیم :
sudo apt install  vlc-nox=2.2.2-5ubuntu0.16.04.3و بعدش اقدام به نصب vlc کنیم ولی ما راه اول رو رفتیم

فقط لطف کنین عبارت (حل شد) رو به عنوان اضافه کنین

آفلاین c17iii

  • Newbie
  • *
  • ارسال: 7
  • جنسیت : پسر
از راهنمایی های شما و توضیحات خوب پایانی شما بسیار بسیار ممنونم.
همیشه موفق باشید