[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Comps file



On Wed, 29 Jan 2003, Taylor, ForrestX wrote:

> Joel wrote:
> > Considering I took a boat load of packages out of the installation in 
> > which I want to perform, I could be here all day trying to edit this 
> > file.  Is there any oter way to rebuild this file other then manually 
> > editing?
> > 
> 
> No, there is no way to automatically rebuild the comps file.  You could, 
> however, write a simple script that extracts the names of your rpms and 
> inserts them in the comps file under the Base section.
To get a list of package, on the installed system run this command
rpm -qa
and save the output/

You can get fancy with --qf to construct an actuall list of files; I'll
leave it to you to read the documentation;-0

Hint:
rpm -qd rpm
to _find_ the documentation.

 

-- 
Please, reply only to the list.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]