rpm command line help needed

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eddie Williams
Date:  
Subject: rpm command line help needed
I was testing it by grepping XFree86 like so:

[droog@bigblack droog]$ rpm -qa|awk -F "-[0-9]" '{print $1}'|grep XFree86
XFree86-libs
XFree86
XFree86-twm
XFree86-xfs
XFree86
XFree86-tools
XFree86-xdm
XFree86-devel
XFree86

[droog@bigblack droog]$ rpm -qa|grep XFree86
XFree86-libs-4.0.3-5
XFree86-4.0.3-5
XFree86-twm-4.0.3-5
XFree86-xfs-4.0.3-5
XFree86-100dpi-fonts-4.0.3-5
XFree86-tools-4.0.3-5
XFree86-xdm-4.0.3-5
XFree86-devel-4.0.3-5
XFree86-75dpi-fonts-4.0.3-5

Im too tired to figure it out...:-)


At 12:01 AM 1/22/2002 -0700, you wrote:
>worked here on my DEC alpha when I just cut and pasted the command into the
>terminal. Make sure you typed it correctly or just cut and paste it.
>
>Eddie Williams wrote:
> >
> > erp....that doesnt quite work correctly....
> >
> > At 11:50 PM 1/21/2002 -0800, you wrote:
> > >rpm -qa|awk -F "-[0-9]" '{print $1}'
> > >
> > >
> > >At 11:59 PM 1/21/2002 -0500, you wrote:
> > >>Yes, I spent an hour in the man page and typing, and I got
> > >>nowhere.
> > >>
> > >>What I want is a list of packages installed without
> > >>version numbers - like rpm -qa.
> > >>
> > >>I know it has to be easy, but that man page is not.
> > >>
> > >>George
> > >>________________________________________________
> > >>See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> > >>post to the list quickly and you use Netscape to write mail.
> > >>
> > >>PLUG-discuss mailing list -
> > >>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > >
> > >________________________________________________
> > >See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> > >post to the list quickly and you use Netscape to write mail.
> > >
> > >PLUG-discuss mailing list -
> > >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> post to the list quickly and you use Netscape to write mail.
> >
> > PLUG-discuss mailing list -
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>________________________________________________
>See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
>post to the list quickly and you use Netscape to write mail.
>
>PLUG-discuss mailing list -
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss