Bret,
  this doesn't work here:
#############################################
$ rpm -qf `find /usr/bin -type f -mtime -14`
findutils-4.1.5-4
findutils-4.1.5-4
##############################################


[minutes later ...]
oops,Bret, just found some solution:
########################
rpm -qa --last
######################
I think that's it ... although it gives a bit too much of output ..
(just remembering the words "Keep it simple ...!" Was it A. Feininger, the
American photographer, who said this  ... ??)

Thanks for your help, Bret.
Wolfgang

-- 

         Wolfgang Pfeiffer
         http://www.geocities.com/wolfgangpfeiffer

Message from Bret Hughes on Sun, 18 Mar 2001, 09:21 <-0600>:

> Wolfgang Pfeiffer wrote:
>
> > I'm trying to find rpm-packages that I installed on my machine (Red Hat
> > 6.1) the last some days:
> >
> > Quote from 'Maximum RPM' (1997):
> > ---------------------------------------------------------------------
> > Finding Recently Installed Packages, Part I
> >
> > You remember installing a new package a few days ago. All you know for
> > certain is that the package installed a new
> > command in the /bin directory. Let's try to find the package:
> >
> >
> > # find /bin -type f -mtime -14 | rpm -qF
> > rpm-2.3-1
> > #
> >
> > Looks like RPM version 2.3 was installed sometime in the last two weeks.
> > -----------------------------------------------------------------------
> >
> > But if I do the same on my system I get this:
> > ------------------------------------------
> > $ find /bin -type f -mtime -14 | rpm -qF
> > rpm: only one major mode may be specified
> > -----------------------------------------
> > I have installed findutils-4.1.5-4.
> >
> >
> > Am I getting old; what's going on there?
> >
>
> Try
>
>
> rpm -qf `find /usr/bin -type f -mtime -14`
>
> the F means Freshen to the later versions of rpm and I have never had
> any luck piping args into rpm so I use the backticks on the command that
> will return the args.
>
> Bret
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to