You are not logged in.
Referring to https://wiki.archlinux.org/index.php/Pa … repository
Fully updated system using standard repos, otherwise.
When running
pacman -S htop-temperature
I get this error
[root@archover customrepo]# pacman -S htop-temperature
warning: database file for 'customrepo' does not exist
error: target not found: htop-temperature
the htop-temperature is built from AUR, as my first attempt at understanding local repositories.
I thought pacman would see the customrepo i created as follows:
Contents of repo /var/cache/customrepo/x86_64
[root@archover x86_64]# ls -alh
total 80K
drwxr-xr-x 2 root root 4.0K Apr 24 13:02 .
drwxr-xr-x 3 root root 4.0K Apr 24 12:59 ..
lrwxrwxrwx 1 root root 20 Apr 24 13:02 customrepo.db -> customrepo.db.tar.gz
-rw-r--r-- 1 root root 584 Apr 24 13:02 customrepo.db.tar.gz
-rw-r--r-- 1 root root 585 Apr 24 13:02 customrepo.db.tar.gz.old
-rw-r--r-- 1 root root 62K Apr 24 12:33 htop-temperature-1.0.3-1-x86_64.pkg.tar.xz
My pacman.conf
[customrepo]
SigLevel = Optional TrustAll
Server = file:///var/cache/customrepo/$arch
My execution of repo-add
repo-add /var/cache/customrepo/x86_64/customrepo.db.tar.gz /var/cache/customrepo/x86_64/htop-temperature-1.0.3-1-x86_64.pkg.tar.xz
which completed without error. I had originally created the custom repo without the subdir x86_64, which I added, then removed the original repo, and readded, all without error.
Questions:
* Shouldn't pacman -S htop-temperature actually pull the aur built package from my custom repo and install it transparently?
* Why am I getting the pacman error?
Thanks in advance.
Steve.
Last edited by stevepa (2015-04-24 18:22:05)
Arch - LVM - ext4 - gnome (T60p 14.1 1400p x86_64), (T60 15 flexview 1400p i686)
Offline
sync database first -Sy
Offline
Or use 'pacman -Syu foo'.
Offline
sync database first -Sy
Sorry for late reply.
This worked!!
I was able to do a #pacman -S htop-temperature
as if it came from the regular repo.
Tks to both of you.
Last edited by stevepa (2015-04-28 22:29:48)
Arch - LVM - ext4 - gnome (T60p 14.1 1400p x86_64), (T60 15 flexview 1400p i686)
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline