On Wed, Nov 02, 2022 at 02:27:24PM +0100, Ralf Jung wrote: > when being run under Wayland, pass uses 'wl-copy' to copy things to the > clipboard. > This leads to the following error on my system: > > /usr/bin/pass: line 180: wl-copy: command not found > > 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. 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? -- Colin Watson (he/him) [cjwat...@debian.org]