[plug] Redhat/RPM dependency question

Anthony J. Breeds-Taurima tony at cantech.net.au
Tue Aug 21 10:02:06 WST 2001


On Mon, 20 Aug 2001, Greg Mildenhall wrote:

> On Mon, 20 Aug 2001, Arkem wrote:
> > > The trick is to create your own list of which packages are on your
> > > distro CD-set.
> > >   Try "rpm -qp --filesbypkg  <dir>/*.rpm  > my-list-of-rpm-files.txt"
> > This touches something I've been wanting to do but have had no idea
> > how to do under Debian. How can I tell apt to give me a list of
> > installed packages? (as a text file)
>
> Don't know about apt, but try:
>
> dpkg --get-selections
>
> Is that what you're after?


The difference is that dpkg --getselections gives you a list of all the .debs
on your system (which is the equiv. of rpm -qa).

The rpm command is the manual equiv of
wget <insert mirror>/...../Contents.i386.gz


Yours Tony.

/*
 * "The significant problems we face cannot be solved at the
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */




More information about the plug mailing list