[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what's a virtual package



On Wed, Oct 08, 2025 at 03:55:16PM +0000, fxkl47BF@protonmail.com wrote:
> for example
> what's it's purpose

Here's a good explanation:

  https://www.debian.org/doc/manuals/debian-faq/pkg-basics.en.html#virtual

> $ apt show pdf-viewer
> Package: pdf-viewer
> State: not a real package (virtual)
> N: Can't select candidate version from package pdf-viewer as it has no
> candidate
> N: Can't select versions from package 'pdf-viewer' as it is purely virtual
> N: No packages found

You can install *any* pdf-viewer (e.g. xpdf, okular, you name it), and it
would satisfy the dependecies of packages which need "a pdf viewer", but
don't care which one.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: