You are not logged in.
Hello, I get the error message in subject line while doing:
$ sudo pacman -Fo any-packageI checked that I have {community,code,extra}.db in /var/lib/pacman/sync (du is 5.9M)
and {community,code,extra}.files in /var/cache/pkgfile/ (du is 220M)
Next I downloaded pkgfile with pacman and executed:
$ sudo pkgfile -u
::Updating 3 repos...
core is up to date
download complete: extra ....
download complete: extra ....
:: download complete in 24.41s ....
:: waiting for 1 process to finish repacking repos...
$
$ sudo pkgfile git
extra/gitBut all this did not affect the underlying issue causing the warning.
I went back 6 years in the archlinux forum to look for an answer, to no avail.
I am no closer to understand what the issue seems to be or how to fix this.
Any help welcome.
Last edited by Cbhihe (2017-10-08 19:43:42)
I like strawberries, therefore I'm not a bot.
Offline
pacman -FyOffline
That synchronizes the 3 DBs nicely and leaves `$ sudo pacman -Fo any-package` with no answer and no error message. just nothing. (???) Am I missing something very basic ?
I like strawberries, therefore I'm not a bot.
Offline
$ pacman -Fo any-packageSo no package owns the file or directory /any-package
Offline
@loqs: actually you just gave me the answer. Thank you.
I should write
$ pacman -Fo /fully/qualified/path/nameinstead of :
$ pacman -Fo name # interpreted as /nameAll the same I find it interesting that 'pkgfile' and 'pacman' give different results: advantage 'pkgfile' apparently:
$ pacman -Fo /usr/bin/netstat
usr/bin/netstat is owned by core/net-tools 1.60.20160...git-1
$ pkgfile netstat
core/net-tools
extra/munin-nodeThe second group is not shown by 'pacman'.
I like strawberries, therefore I'm not a bot.
Offline
$ pacman -Fs netstat
core/net-tools 1.60.20160710git-1
usr/bin/netstat
extra/munin-node 2.0.26-4
usr/lib/munin/plugins/netstatOffline
@loqs: Aha ! Thank you, one more time.
I like strawberries, therefore I'm not a bot.
Offline
For further reading about -F and its options. please see the ArchWiki and pacmans' man page.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Yes, pkgfile and pacman -F are completely different utilities and have completely different usage, compare the difference between `pkgfile -h` and `pacman -Fh`. ![]()
That being said, pkgfile as a standalone tool is IMHO a lot better than the more recent `pacman -F` implementation. It is both more powerful and faster.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline