How to tell which repositories provide which packages?

Little Girl littlergirl at gmail.com
Thu Jan 7 21:45:10 UTC 2021


Hey there,

Ralf Mardorf via ubuntu-users wrote:

>If I would search a text file for "Little Girl" and I'm unsure if
>it's "little girl", "LITTLE GIRL" or "Little Girl", then I would use
>"ignore case". Here it should match "Installed: ", so I wouldn't
>ignore the case.

Yep, I agree.

>Regarding the "unique" issue, the issue isn't "sort", the issue is
>"unique", since it's no solution to handle false positives. The
>script shouldn't suffer from false positives instead of hiding them.

Ah, okay, got it.

>In a later reply I demonstrated that "grep -A4" isn't enough, better
>use "grep -A 999999999999999999999999999999999" in case
>9999999999999999999 PPAs all provide an installed package named foo
>and you want to know from which of those PPAs your foo actually is
>installed.
>
>In a nutshell, command line won't do the job. The script needs to
>become a file with loops and comparisons, to avoid cheap workarounds.

That's a shame, but is good to know. Thanks for the research.

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list