Skip to content

pacopts

pacopts answers questions pacman does not: which Obarun repository a package came from, which of your installed packages have a 66 service available, and it wraps AUR operations.

It is in obextra:

# pacman -S pacopts

pacopts needs root

All three subcommands refuse to run as an unprivileged user.

Interface

pacopts <options> origin|service|aur <target> <arguments>

Global options: -h for help, -z to colourise, -v to change verbosity.

origin

Check which repository a package comes from.

# pacopts origin obcore 66

The target is the repository name, and defaults to obcore when omitted. The arguments are one or more package names.

service

Find out which packages have a matching 66 service definition.

# pacopts service dbus

The target is a package name, or a list of them. With no target at all, every installed package is checked, which is a good way to discover that something you already run could be supervised:

# pacopts service

aur

A wrapper around AUR operations. Each mode has its own help:

# pacopts aur -d help
Option Action
-s search
-m maintainer search
-i info
-d download
-b build
-I install
-u update
-U upgrade

The AUR side is configured in /etc/obarun/pacopts.conf, which lets you pin the options passed to the underlying AUR agent.

The AUR is not supported

AUR packages are built by strangers against Arch, and many of them assume systemd is present. Read the PKGBUILD before you build anything, and do not expect an AUR package to ship a working 66 service.