انجمنهای فارسی اوبونتو
کمک و پشتیبانی => سایر توزیعهای گنو/لینوکس => آرچ => نویسنده: bahador72 در 12 امرداد 1392، 11:40 قظ
-
هر کاری میکنم
نصب
اپدیت
تو ترمینال این ارور بم میده :'(
error: no usable package repositories configured.
-
خودم حلش کردم
می خواستم 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] برداشته شوند.سپس ذخیره!
-
خودم حلش کردم
می خواستم 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 اینجا بزار !
-
#
# /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