You are not logged in.
Pages: 1
I installed yaourt according to the instruction here http://archlinux.fr/yaourt-en
But when I run yaourt -Syu --devel --aur , I get an error: problem setting dbpath '//usr/local/var/lib/pacman/' (could not find or read directory)
The directory doesn't exist and pacman -v shows nothing related to that directory. What should I do?[]
Last edited by codetrick (2011-03-04 14:28:03)
Offline
The default dbpath is "/var/lib/pacman". Change it in your pacman.conf
My blog:-
http://blog.abhijeetr.com
Offline
The default dbpath is "/var/lib/pacman". Change it in your pacman.conf
I've checked pacman.conf and didn't find any problem. By the way, pacman works just fine. The problem is with yaourt.
Offline
There are multiple way to achieve installing yaourt on the page you linked. Which one did you use?
Offline
Ok. Now I am sure there's something wrong with package-query. So I tried to change the configuration file with package-query --config "/etc/pacman.conf" But I still got the same error. What should I try next?
Offline
Ok. Now I am sure there's something wrong with package-query. So I tried to change the configuration file with package-query --config "/etc/pacman.conf" But I still got the same error. What should I try next?
Because you didnt confirm as to what procedure you used to install yaourt, install it again the safest way.
$pacman -R yaourtNow, check if you have [archlinuxfr] enabled in your pacman.conf, if not add it.
[archlinuxfr]
Server = http://repo.archlinux.fr/$arch"Now,
$pacman -Syyu
$pacman -S yaourtSee if the error is still there.
My blog:-
http://blog.abhijeetr.com
Offline
Same error ![]()
maybe there's some bad conf files remaining in the system...... I installed package-query with "./configure make make install" method before. And later using makepkg to "overlap" it. Will it cause mess? I tried pacman -Rsn but no help at all...... any suggestions?
I'm new to arch and doesn't know much about how linux works. Maybe I should consider reinstalling the os to see if the problem remains?
Offline
Nowhere on the page you linked does it advise you to to install using the method you did. This is why you have ended up with it looking for files in /usr/local. Uninstall everything you installed manually to do with package-query and delete any left over files in /usr/local... then install using pacman.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Same error
maybe there's some bad conf files remaining in the system...... I installed package-query with "./configure make make install" method before. And later using makepkg to "overlap" it. Will it cause mess? I tried pacman -Rsn but no help at all...... any suggestions?
I'm new to arch and doesn't know much about how linux works. Maybe I should consider reinstalling the os to see if the problem remains?
Why did you try installing things manually? Always use pacman.
As loafer correctly pointed out, you should have chosen the right path with "--prefix=" while doing ./configure...
Now, its all messed up so you are now left with doing all things manually..
Last edited by shadyabhi (2011-03-04 14:02:13)
My blog:-
http://blog.abhijeetr.com
Offline
My fault...
Now yaourt works. I should read some wiki to learn more about pacman and archlinux.
Thanks for your help.
Offline
I have the same problem. I get it when try to install 'package-query' and 'yaourt' from AUR, but i install it manually.
In INSTALL file of package-query I found interesting thing:
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX', where PREFIX must be an
absolute file name.I uninstall yaourt and package-query using pacman and delete /usr/local directory (the system is fresh and this directory is not important)
Then i do
./configure --prefix=''
sudo make installWith yaourt i have more problems... Iven if you delete "/usr/local" from Makefile you don't solve the problem.
I find all "/usr/local" substrings in files from yaourt.x.x.x.tar.gz with commands:
tar -xzvf yaourt.x.x.x.tar.gz
cd yaourt.x.x.x
grep -RiHn 'usr/local/' *and manually delete them.
Then i make and install my yaourt. It worked.
Oh, i know that it is unnormal, but i can't find anything in internet and write it to others.
P.S. I may install yaourt with this instruction^ http://archlinux.fr/yaourt-en (with pacman)
Last edited by Grandma (2011-12-18 00:06:52)
Offline
Pages: 1