[pacman-dev] Confused about -Fo

Stefan Tatschner rumpelsepp at sevenbyte.org
Sat Jan 30 13:23:11 UTC 2016


I am quite exited that pacman 5.0 has been removed and finally hooks are
there. Good job folks!

But I am a bit confused about the new -F feature. What exactly are the
advantages of e.g. -Fo over -Qo, or -Fl over -Ql? I don't understand
what is the purpose of this duplication; furthermore the output is not
consistent and even gives different results.


  ~ $ pacman -Fo /usr/bin/ls
  usr/bin/ls is owned by core/coreutils 8.24-1

  ~ $ pacman -Qo /usr/bin/ls
  /usr/bin/ls is owned by coreutils 8.25-1


  ~ $ pacman -Fl coreutils
  coreutils usr/
  coreutils usr/bin/
  coreutils usr/bin/[
  coreutils usr/bin/base64
  coreutils usr/bin/basename
  [...]

  $ pacman -Ql coreutils
  coreutils /usr/
  coreutils /usr/bin/
  coreutils /usr/bin/[
  coreutils /usr/bin/base32     <-- missing in -Fl
  coreutils /usr/bin/base64
  coreutils /usr/bin/basename
  [...]


  ~ $ pacman -Fl coreutils | grep base
  coreutils usr/bin/base64
  coreutils usr/bin/basename
  coreutils usr/share/man/man1/base64.1.gz
  coreutils usr/share/man/man1/basename.1.gz

  ~ $ pacman -Ql coreutils | grep base
  coreutils /usr/bin/base32
  coreutils /usr/bin/base64
  coreutils /usr/bin/basename
  coreutils /usr/share/man/man1/base32.1.gz
  coreutils /usr/share/man/man1/base64.1.gz
  coreutils /usr/share/man/man1/basename.1.gz


Thanks,
Stefan


More information about the pacman-dev mailing list