administrator |
|
Темы:
3
Сообщения:
16
Участник с: 12 февраля 2011
|
AUR у меня вообще не работает, сначало жаловался на service-query. Устанавливаю его пакманом, пишет что версия не под мою ахитектуру (у меня i686). Затем взял исходники и установил “насильно”, после этого хочу установить шрифты, вбиваюsudo yaourt -S ttf-droidВ ответ получаю: problem setting dbpath ‘//usr/local/var/lib/pacman/’ (could not find or read directory)Уже не знаю что делать, помогите люди добрые, хочу нормальео пользоваться Арчем =) |
vadik |
|
Темы:
55
Сообщения:
5395
Участник с: 17 августа 2009
|
Начните отсюда. И зачем sudo? |
administrator |
|
Темы:
3
Сообщения:
16
Участник с: 12 февраля 2011
|
Быстрый ответ :-) Я уже второй день сижу с Wiki. Устанавливал по ману.[[email protected] santa]# pacman -Sy yaourt :: Synchronizing package databases... core is up to date extra is up to date community is up to date archlinuxfr is up to date warning: yaourt-0.9.5.1-1 is up to date -- reinstalling resolving dependencies... looking for inter-conflicts... Targets (1): yaourt-0.9.5.1-1 Total Download Size: 0.03 MB Total Installed Size: 0.21 MB Proceed with installation? [Y/n] yes :: Retrieving packages from archlinuxfr... yaourt-0.9.5.1-1-any 34.9K 83.0K/s 00:00:00 [######################################] 100% checking package integrity... (1/1) checking for file conflicts [######################################] 100% (1/1) upgrading yaourt [######################################] 100% Check /etc/yaourtrc ==> for a full colorized output, install pacman-color and export PACMAN=pacman-color or set it into yaourtrc file. Тоже самое при установке с помощью PKGBUILD |
sirocco |
|
Темы:
29
Сообщения:
2501
Участник с: 25 июля 2007
|
AdministratorЭто как? Подробнее опишите. |
administrator |
|
Темы:
3
Сообщения:
16
Участник с: 12 февраля 2011
|
Нашел пакеты на https://aur.archlinux.org/ , и установил с помощью makepkg. Там что то писалось, что могу повредить систему, пришлось вводить –asroot |
sirocco |
|
Темы:
29
Сообщения:
2501
Участник с: 25 июля 2007
|
AdministratorПравильно писалось. Несколько опечаток в PKGBUILD - и можно лишиться системы (при запуске makepkg с правами рута). Недавно был на форуме прецедент. Таки попробуйте yaourt без sudo. |
administrator |
|
Темы:
3
Сообщения:
16
Участник с: 12 февраля 2011
|
Такая же фигня:yaourt -S ttf-droid problem setting dbpath '//usr/local/var/lib/pacman/' (could not find or read directory) problem setting dbpath '//usr/local/var/lib/pacman/' (could not find or read directory) problem setting dbpath '//usr/local/var/lib/pacman/' (could not find or read directory) Password: error: 'ttf-droid': could not find or read package |
sirocco |
|
Темы:
29
Сообщения:
2501
Участник с: 25 июля 2007
|
cat /etc/pacman.conf cat /etc/yaourtrc set | grep TYPE |
administrator |
|
Темы:
3
Сообщения:
16
Участник с: 12 февраля 2011
|
/etc/pacman.conf# # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives # # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # 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 SyncFirst = pacman #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #XferCommand = /usr/bin/curl -C - %u > %o #CleanMethod = KeepInstalled Architecture = auto # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = #IgnoreGroup = #NoUpgrade = #NoExtract = # Misc options (all disabled by default) #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 # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. # # The testing repositories are disabled by default. To enable, uncomment the # repo name header and Include lines. You can add preferred servers immediately # after the header, and they will be used before the default mirrors. #[testing] #Include = /etc/pacman.d/mirrorlist [core] Include = /etc/pacman.d/mirrorlist [extra] Include = /etc/pacman.d/mirrorlist #[community-testing] #Include = /etc/pacman.d/mirrorlist [community] Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. [archlinuxfr] Server = http://repo.archlinux.fr/i686 [archlinuxfr] Server = http://repo.archlinux.fr/i686 # yaourtrc - Configuration for yaourt # # See yaourtrc(5) for more information # # # ABS_REPO list repositories available on archlinux rsync server ABS_REPO=(testing core extra community-testing community gnome-unstable kde-unstable) # General #AUTOSAVEBACKUPFILE=0 #DEVELBUILDDIR="/var/abs/local/yaourtbuild" #DEVEL=0 EDITOR="nano" #FORCEENGLISH=0 #FORCE=0 #TMPDIR="/tmp" #SUDONOVERIF=0 # Avoid multiple sudo checks when timestamp_timeout=0 # AUR #AURCOMMENT=5 #AURDEVELONLY=0 #AURSEARCH=1 #AURUPGRADE=0 #AURVOTE=1 # Build #EXPORT=0 # Export to 1: EXPORTDIR or PKGDEST # 2: pacman cache (as root) #EXPORTSRC=0 # Need EXPORT>0 to be used #EXPORTDIR="" # If empty, use makepkg's connfiguration (see makepkg.conf) # Prompt #NOCONFIRM=0 #UP_NOCONFIRM=0 # No prompt while build upgrades (including -Sbu) #BUILD_NOCONFIRM=0 # Only prompt for editing files #EDITFILES=1 #NOENTER=1 # Output #USECOLOR=1 #DETAILUPGRADE=1 #SHOWORPHANS=1 #TERMINALTITLE=1 # Command #PACMAN="pacman-color" #DIFFEDITCMD="vimdiff" HOSTTYPE=i686 LC_CTYPE=ru_RU.UTF-8 MACHTYPE=i686-pc-linux-gnu OSTYPE=linux-gnu |
sirocco |
|
Темы:
29
Сообщения:
2501
Участник с: 25 июля 2007
|
cat /etc/fstab cat /etc/mtab |