How to tell which repositories provide which packages?

Tom H tomh0665 at gmail.com
Fri Jan 8 21:11:34 UTC 2021


On Tue, Jan 5, 2021 at 10:03 PM Ralf Mardorf via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>
> apt list --installed | cut -d/ -f1

Given that "apt" outputs, "WARNING: apt does not have a stable CLI
interface. Use with caution in scripts." when you pipe its output,
it's better to use "dpkg-query -f='${binary:Package}\n' -W '*'"




More information about the ubuntu-users mailing list