[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: updating package list installation via rpm -qa
- From: Brett Schwarz <brett_schwarz yahoo com>
- To: kickstart-list redhat com
- Subject: Re: updating package list installation via rpm -qa
- Date: 12 Jan 2003 14:47:37 -0800
I am not totally sure what you want, but is this what you want:
rpm -qa --qf '%{NAME}\n'
This will print the package name for each package that is *installed* on
this system.
--brett
On Sun, 2003-01-12 at 14:38, Haisam K. Ido wrote:
> rpm -qq --qf '%{NAME}\n' losetup-2.11 returns losetup
>
> however,
>
> rpm -qa | rpm -qq --qf '%{NAME}\n' -
>
> does not read the standard in of rpm -qa, or can it?
>
> I guess I'm going to have to resort to perl.
>
> Brett Schwarz wrote:
> > On Sun, 2003-01-12 at 13:43, Haisam K. Ido wrote:
> >
> >>Will kickstart work with an updated list of installed packages via "rpm -qa", which
> >>includes versioning numbers. In other words, do I need to remove the versioning
> >>numbers for the kickstart installation to work.
> >>
> >
> >
> > I think you need the "NAME" of the package. You can get the names by
> > doing:
> >
> > rpm -qp --qf '%{NAME}\n' *.rpm
> >
> >
> >>Also what if the package I am installing from kickstart is already listed in @ section?
> >>
> >
> >
> > I think this gets resolved by itself. From the source, it looks like
> > each package is just a key in a dict, and is either selected or not
> > selected...so I assume there shouldn't be conflict (note, I am not a
> > python guru); once it is selected, reading it again won't change that...
> >
> >
> > --brett
> >
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat com
> https://listman.redhat.com/mailman/listinfo/kickstart-list
--
Brett Schwarz
brett_schwarz AT yahoo.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]