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

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

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

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

نویسنده موضوع: از کار افتادن pacman(حل شد)  (دفعات بازدید: 2116 بار)

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

آفلاین bahador72

  • Full Member
  • *
  • ارسال: 234
  • جنسیت : پسر
    • مکانیک دنیایی بزرگ
از کار افتادن pacman(حل شد)
« : 12 امرداد 1392، 11:40 ق‌ظ »
هر کاری میکنم
نصب
اپدیت
تو ترمینال این ارور بم میده  :'(
error: no usable package repositories configured.
« آخرین ویرایش: 12 امرداد 1392، 12:58 ب‌ظ توسط bahador72 »

آفلاین bahador72

  • Full Member
  • *
  • ارسال: 234
  • جنسیت : پسر
    • مکانیک دنیایی بزرگ
پاسخ : از کار افتادن pacman
« پاسخ #1 : 12 امرداد 1392، 12:56 ب‌ظ »
خودم حلش کردم
می خواستم aria2c رو به پکمن اضاف کنم.اول نصبش کردم بعد pacman.conf رو باز کرده و خط زیر رو اضاف کردم
XferCommand=/usr/bin/aria2c --allow-overwrite=true -c --file-allocation=none --log-level=error -m2 -x2 --max-file-not-found=5 -k5M --no-conf -Rtrue --summary-interval=60 -t5 -d / -o %o %uبعدش که ذخیره کردم ارور بالا یعنی این error: no usable package repositories configured.واسه هر کاری با پکمن میامد.
اما راه حل: فایل pacman.conf رو یبار دیگه باز شود و تمام # پشت [lib32]و[core]و[platform]و[desktop]و[apps]و[games]و[extra] برداشته شوند.سپس ذخیره!

آفلاین sayres

  • High Hero Member
  • *
  • ارسال: 1096
  • جنسیت : پسر
    • دست نوشته های من
پاسخ : از کار افتادن pacman
« پاسخ #2 : 12 امرداد 1392، 01:54 ب‌ظ »
خودم حلش کردم
می خواستم aria2c رو به پکمن اضاف کنم.اول نصبش کردم بعد pacman.conf رو باز کرده و خط زیر رو اضاف کردم
XferCommand=/usr/bin/aria2c --allow-overwrite=true -c --file-allocation=none --log-level=error -m2 -x2 --max-file-not-found=5 -k5M --no-conf -Rtrue --summary-interval=60 -t5 -d / -o %o %uبعدش که ذخیره کردم ارور بالا یعنی این error: no usable package repositories configured.واسه هر کاری با پکمن میامد.
اما راه حل: فایل pacman.conf رو یبار دیگه باز شود و تمام # پشت [lib32]و[core]و[platform]و[desktop]و[apps]و[games]و[extra] برداشته شوند.سپس ذخیره!

فایل pacman.conf اینجا بزار !

آفلاین bahador72

  • Full Member
  • *
  • ارسال: 234
  • جنسیت : پسر
    • مکانیک دنیایی بزرگ
پاسخ : از کار افتادن pacman(حل شد)
« پاسخ #3 : 12 امرداد 1392، 02:15 ب‌ظ »
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
#[options]
#XferCommand=/usr/bin/aria2c --allow-overwrite=true -c --file-allocation=none --log-level=error -m2 -x2 --max-file-not-found=5 -k5M --no-conf -Rtrue --summary-interval=60 -t5 -d / -o %o %u
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
#SigLevel = Never

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

[lib32]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[platform]
Include = /etc/pacman.d/mirrorlist

[desktop]
Include = /etc/pacman.d/mirrorlist

[apps]
Include = /etc/pacman.d/mirrorlist

[games]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[unstable]
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs