Quick way to match programs to packages



I haven't seen many replies to my long long post about making it easier
to report bugs, so I'll keep this short in case I send people to sleep.

I was grumbling (in part) that I found it took a long time to work out 
what package a particular program belonged to, which makes even the
first stage of reporting a bug (putting that "package" header in) a pain. 

My dearly beloved type took pity on me, decided to demonstrate shell-
scripting, got carried away, and the result is a script that works on
systems which have the rpm and locate commands (that means Red Hat, 
Mandrake, and Suse (?) but unfortunately not Debian and Slack) and which 
lets you type,

	gnome-versions		and get a list of all your gnome-related
				packages and their version numbers;
	revision foo		and get the package that foo is part of
				and its version number;
	whatis foo		and get lots of information about the
				package that foo is part of.

You can ask about more than one program name at once, and it will do
them all at once. For people who are happy with rpm, there's nothing new 
in there. For people who can never remember when you need to have .rpm on 
the end and when you don't, depending on what you're trying to make it do, 
it may help a lot. It's just a script, so you don't need to compile it, or
anything like that. There's some instructions for using it in the comments.

It's only short (3.5k) and it's at
	ftp.linux.org.uk/pub/linux/alan/RPM/revision.sh

The address for bugs and stuff in in the comments in the script. Alan
doesn't read this list, so don't send them here if you need a reply!

Telsa

PS I still think having the package in the "About" box where the program
name is given would help :)



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