17

As I understand it, rdepends lists packages which depend on the specified package.

Example:

$ apt-cache rdepends abiword
abiword
Reverse Depends:
  abiword:i386
  xubuntu-desktop
 |python-carquinyol-0.96
  pkpgcounter
  lubuntu-desktop
  junior-writing
  gnome
 |freemind-doc
  abiword-plugin-mathview
  abiword-plugin-grammar
  abiword-dbg

In this output, what does | mean?

As per this question, it means 'or' in apt-cache depends, however that doesn't seem relevant here (package1 or package2 depending on abiword is impossible).

kiri
  • 27,676
  • 16
  • 81
  • 117

1 Answers1

19

In the example you give, the pipe | means that, for python-carquinyol-0.96 or freemind-doc, abiword is not the only package that satisfies the dependencies.

For example, if you installed freemind-doc, abiword or something else will do. Running apt-cache show freemind-doc you can see:

Recommends: evince | openoffice.org-writer | abiword | kword | pdf-viewer

which means that installing any of these packages is sufficient.

Compare that to the package xubuntu-desktop, shown without a |:

Recommends: abiword, abiword-plugin-grammar, ...

Here there are no alternatives to abiword; if you want all the recommended packages installed, you must install abiword.

Andrew McCarthy
  • 456
  • 3
  • 3