On Sat, May 26, 2001 at 01:45:09PM +0100 or so it is rumoured hereabouts,
Telsa Gwynne thought:
> On Sat, May 26, 2001 at 10:24:40AM +0100 or thereabouts, Conor Daly wrote:
> > The thing that gets me with rpm is the way I cannot query an uninstalled
> > package to see what's there...
>
> > isn't installed, do an rpm -ql package-0.1.3.9-i386.rpm and I get back
> > "pagkage is not installed" I KNOW it's not installed, that's why I'm
> > trying to look inside for the proggie I need.
>
> rpm -qlp /mnt/cdrom/whatever/.../package-0.1.3.9-i306.rpm
> ^
> |
>
> the rpm -q[il]p combination is very useful.
>
> rpm --help | more
> -q, --query - query mode
> Package specification options:
> -a, --all - query all packages
> -f <file>+ - query package owning <file>
> -p <packagefile>+ - query (uninstalled) package <packagefile>
I don't know *how* many times I've read through rpm --help without
spotting that!
Thanks Telsa.
Conor
--
Conor Daly <[EMAIL PROTECTED]>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
8:30pm up 7 days, 8:39, 0 users, load average: 0.19, 0.19, 0.08
Hobbiton.cod.ie
8:33pm up 6 days, 9:34, 2 users, load average: 0.04, 0.03, 0.01
_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk