On Thu, 8 Nov 2001 at 7:59pm (-0800), [EMAIL PROTECTED] wrote: > I've spent the last halk hour or so reading the 'rpm' man page, and trying > various rpm options, but I've been unable to figure out how to, if it's > possible, get info (read the specfile??) on what installing a particular rpm > package file *will* do during the install. > > I use 'rpm -qil foo' all the time to see how 'foo' was installed from an rpm > package file. I'd like to see the same info for a package yet to be > installed or updated. > > The problem that's driving this question is: > > [root@localhost new_soft]# ls librep*.rpm > librep-0.15.2-1.i386.rpm librep-devel-0.15.2-1.i386.rpm > > [root@localhost new_soft]# rpm -Uvh --test librep*.rpm > Preparing... ########################################### [100%] > package librep-0.13.6-5 (which is newer than librep-0.15.2-1) is already installed > package librep-devel-0.13.6-5 (which is newer than librep-devel-0.15.2-1) is already >installed > > I want to check dates to see what's going on. >
You want the '-p' option. So like... [root@localhost new_soft]# rpm -q -i -p librep-0.15.2-1.i386.rpm M. -- WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company Level 1, 96 Lytton Road. Network Operations - Systems Engineer PO Box 4169, East Brisbane. phone: +61 7 3249 2500 Queensland, Australia. pgp key id: 0x900E515F _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list