You are not logged in.
Sometimes the makepkg prompts on missing dependencies that are installed. packages like python for example. I think that there is problem with the database. now in pacman3, all package that depends on python installs the python package as it was never been on the computer.
how could it be?
Offline
is python installed now ?
python -V
and does pacman see it?
pacman -Q python
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
I'm not at home right now, but python programs are working, like alacarte. It keep install pytthon every time it is dependent for some package.
Offline
I'm not at home right now, but python programs are working, like alacarte. It keep install pytthon every time it is dependent for some package.
yes, that's why I was curious about the output of pacman -Q python, to check if pacman knows it's installed or not.
And also, if nothing wrongs happens when installing it (pacman -S python)
And I wasn't able to reproduce the bug. I added python in makedepends of a package, and python was already installed, so it detected it fine.
Then I removed python (with pacman -Rd python), ran makepkg again, it complained about the missing dependency.
I ran makepkg -s as root, it installed python and built the package correctly.
Then I can run makepkg again as many times as I want, it won't reinstall it python.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
that's strange - python version is 2.5.1 but pacman says that pacman isn't installed:
[eli@myhost ~]$ python -V
Python 2.5.1
[eli@myhost ~]$ sudo pacman -Q python
Password:
error: invalid name for database entry '-'
error: package "python" not found
so there is problem with pacman. how can i solve it?
Offline
Try to reinstall python explicitly:
pacman -S python
Mortuus in anima, curam gero cutis
Offline
that's strange - python version is 2.5.1 but pacman says that pacman isn't installed:
[eli@myhost ~]$ python -V Python 2.5.1 [eli@myhost ~]$ sudo pacman -Q python Password: error: invalid name for database entry '-' error: package "python" not found
so there is problem with pacman. how can i solve it?
There are already several recent threads about this problem, eg http://bbs.archlinux.org/viewtopic.php?id=32056
it should mean that you have a "-" directory in /var/lib/pacman/local/
you might want to move this wrong "-" directory out of /var/lib/pacman/local/ , so that it can be examined later.
or you could maybe just show which files it contains, and paste the contents of each file here if they aren't too long, then remove them.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline