Hi,
An "apt install wl-clipboard" fixes that. Looks like a missing dependency?
There's already a Recommends on "xclip | wl-clipboard", attempting to
express the fact that (a) only some pass functionality uses either
utility and pass is otherwise usable without it (I don't use the
clipboard functionality myself), and (b) pass uses one or the other
depending on whether you're using X or Wayland. I certainly don't think
a Depends is necessary here, but you evidently missed the Recommends as
well.
The recommends is satisfied because I have xclip installed. The "|" doesn't
really help when one switches from X11 to wayland (which means one still has all
the X11 things installed).
In fact I assume most wayland users will have X11 installed, and the xclip
alternative comes first here, so it is probably rather rare that this would
actually end up installing wl-clipboard.
It's not entirely clear how to improve this without annoying some
constituencies of pass users with excess dependencies. Maybe if it were
"Recommends: xclip, wl-clipboard" instead then it would be less likely
that people would miss the wl-clipboard recommendation?
Yeah it's not clear what the best solution is here... ideally you'd be able to
say "if some wayland compositor is installed, also recommend wl-clipboard", but
that is not something dpkg can express.
wl-clipboard has very few dependencies though -- libwayland-client0 is already a
dependency of libgtk3 and libgtk4 and plasma-desktop. So yeah I think
"Recommends: wl-clipboard" would probably make sense.
; Ralf