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

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

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


توزیع گنو/لینوکس اوبونتو ۲۰ ساله شد 🎉

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

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

آفلاین sajjad93

  • Sr. Member
  • *
  • ارسال: 294
مشکل در آپدیت و اضافه کردن مخازن و...
« : 27 بهمن 1393، 12:31 ب‌ظ »
من هر وقت می خوام با ترمینال سیستم رو آپدیت کنم یا مخزنی اضافه کنم یا حتی یه دستور اشتباه می زنم این پیام رو میده:
WARNING:root:could not open file '/etc/apt/sources.list'مشکل چیه؟
البته با وجود این پیغام کار خودش رو انجام میده و مخزن مورد نظر رو اضافه می کنه!

آفلاین دانیال بهزادی

  • ناظر انجمن
  • *
  • ارسال: 19754
  • جنسیت : پسر
  • Urahara Kiesuke
    • وبلاگ
پاسخ : مشکل در آپدیت و اضافه کردن مخازن و...
« پاسخ #1 : 27 بهمن 1393، 03:25 ب‌ظ »
خروجی این دو تا رو بذار:
$ sudo ls -alh /etc/apt/sources.list
$ cat /etc/apt/sources.list
اگه این ارسال بهت کمک کرد، دنبال دکمهٔ تشکر نگرد. به جاش تو هم به جامعهٔ آزادت کمک کن

آفلاین sajjad93

  • Sr. Member
  • *
  • ارسال: 294
پاسخ : مشکل در آپدیت و اضافه کردن مخازن و...
« پاسخ #2 : 27 بهمن 1393، 03:37 ب‌ظ »
خروجی این دو تا رو بذار:
$ sudo ls -alh /etc/apt/sources.list
$ cat /etc/apt/sources.list
sajjad@sajjad-K45VD:~$ sudo ls -alh /etc/apt/sources.list
[sudo] password for sajjad:
ls: cannot access /etc/apt/sources.list: No such file or directory
sajjad@sajjad-K45VD:~$ cat /etc/apt/sources.list
cat: /etc/apt/sources.list: No such file or directory

آفلاین دانیال بهزادی

  • ناظر انجمن
  • *
  • ارسال: 19754
  • جنسیت : پسر
  • Urahara Kiesuke
    • وبلاگ
پاسخ : مشکل در آپدیت و اضافه کردن مخازن و...
« پاسخ #3 : 27 بهمن 1393، 04:30 ب‌ظ »
چرا sources.list نداری؟
برو در قسمت «نرم‌افزارها و به‌روز رسانی»، تیک مخازن رو بزن
اگه این ارسال بهت کمک کرد، دنبال دکمهٔ تشکر نگرد. به جاش تو هم به جامعهٔ آزادت کمک کن

آفلاین sajjad93

  • Sr. Member
  • *
  • ارسال: 294
پاسخ : مشکل در آپدیت و اضافه کردن مخازن و...
« پاسخ #4 : 28 بهمن 1393، 10:52 ب‌ظ »
چرا sources.list نداری؟
برو در قسمت «نرم‌افزارها و به‌روز رسانی»، تیک مخازن رو بزن
تیک دارن. قبلا یه مشکلی به وجود اومده بود اصلا برنامه نصب نمی شد گوگل کردم مشکل نصب نرم افزار حل شد ولی نمیدونم چرا از وقتی اون مشکل حل شده این پیام رو میده!

آفلاین دانیال بهزادی

  • ناظر انجمن
  • *
  • ارسال: 19754
  • جنسیت : پسر
  • Urahara Kiesuke
    • وبلاگ
پاسخ : مشکل در آپدیت و اضافه کردن مخازن و...
« پاسخ #5 : 29 بهمن 1393، 12:10 ق‌ظ »
خب من sources.list خودم رو می‌ذارم. بذار به‌جای خودت که نداری
# deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main restricted

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

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

## 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://archive.ubuntu.com/ubuntu/ utopic universe
deb http://archive.ubuntu.com/ubuntu/ utopic-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.

## 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://archive.ubuntu.com/ubuntu/ utopic-security main restricted multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ utopic-security main restricted multiverse universe #Added by software-properties

## 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 utopic partner
deb-src http://archive.canonical.com/ubuntu utopic partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu utopic main
deb-src http://extras.ubuntu.com/ubuntu utopic main
اگه این ارسال بهت کمک کرد، دنبال دکمهٔ تشکر نگرد. به جاش تو هم به جامعهٔ آزادت کمک کن

آفلاین sajjad93

  • Sr. Member
  • *
  • ارسال: 294
پاسخ : مشکل در آپدیت و اضافه کردن مخازن و...
« پاسخ #6 : 29 بهمن 1393، 12:36 ق‌ظ »
خب من sources.list خودم رو می‌ذارم. بذار به‌جای خودت که نداری
# deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main restricted

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

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

## 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://archive.ubuntu.com/ubuntu/ utopic universe
deb http://archive.ubuntu.com/ubuntu/ utopic-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.

## 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://archive.ubuntu.com/ubuntu/ utopic-security main restricted multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ utopic-security main restricted multiverse universe #Added by software-properties

## 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 utopic partner
deb-src http://archive.canonical.com/ubuntu utopic partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu utopic main
deb-src http://extras.ubuntu.com/ubuntu utopic main
ممنون