When I run apt-cache depends tar
under my Debian 8.3 installation, then it says that it will replace cpio:
# apt-cache depends tar
tar
PreDepends: libacl1
PreDepends: libc6
PreDepends: libselinux1
Suggests: bzip2
Suggests: ncompress
Suggests: xz-utils
Suggests: tar-scripts
Conflicts: cpio
Breaks: dpkg-dev
Replaces: cpio
#
However, I have both cpio
and tar
packages installed:
$ COLUMNS=80 dpkg -l cpio tar
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii cpio 2.11+dfsg-5 amd64 GNU cpio -- a program to manage a
ii tar 1.28-2.1 amd64 GNU version of the tar archiving
(edited by cas: the version Martin has installed is 2.11+dfsg-4.1+deb8u1
rather than the 2.11+dfsg-5
I have from debian sid
, but it makes no difference. Faheem's answer is still correct for the same reason)
How to understand the Replaces:
field in output of apt-cache depends
?