Web lists-archives.com

Re: show searched packages including versions




Greg Wooledge composed on 2018-01-03 16:56 (UTC-0500):

> On Wed, Jan 03, 2018 at 04:51:13PM -0500, Felix Miata wrote:

>> apt-cache policy linux-image and apt-cache showpkg produce output that in no way
>> resembles my OP request (searches substring from complete package name; one line
>> per available package, including its version, source repo optional).

> In that case, I recommend "The C Programming Language" by Kernighan
> and Ritchie.                          

Resembles != equals. I'm four decades past learning new languages.

In simple terms, I want a search to return complete package names, base package
name with version string appended. Anything more that fits on a single line is a
bonus. Anything that routinely makes individual results require more than ~80
characters is too verbose.

Another example:

	$ grep RETT /etc/os-release
	PRETTY_NAME="Mageia 6"
	$ urpmq -y kernel-desk
	kernel-desktop-4.9.35-1.mga6
	kernel-desktop-4.9.40-1.mga6
	kernel-desktop-4.9.43-1.mga6
	kernel-desktop-4.9.50-1.mga6
	kernel-desktop-4.9.56-1.mga6
	kernel-desktop-devel-4.9.35-1.mga6
	kernel-desktop-devel-4.9.40-1.mga6
	kernel-desktop-devel-4.9.43-1.mga6
	kernel-desktop-devel-4.9.50-1.mga6
	kernel-desktop-devel-4.9.56-1.mga6
	kernel-desktop-devel-latest
	kernel-desktop-latest
	vboxadditions-kernel-desktop-latest
	virtualbox-kernel-desktop-latest
	xtables-addons-kernel-desktop-latest
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/