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

Re: A full list of package and section name



On Sun, 16 Oct 2005 13:12:12 +0300, Simo Kauppi wrote:

>> Is there any way to list all the packages and their section names?
> 
> How about aptitude --display-format "%p %s" search ~n.*

Thanks. 

Now, how to redirect the output, with package description, to a file? ie.

aptitude --display-format "%p %s %70d" search ~n.*
[...]
cursel                                                    misc       simple language to provide text application interfaces                                           
curves                                                    devel      colorful console interface for CVS version control                                               
cutils                                                    devel      C source code utilities                                                                          
cutter                                                    net        disconnect routed IP connections                                                                 
cuyo                                                      games      Tetris-like game with very impressive effects                                                    
cvm                                                       admin      Credential Validation Modules                                                                    
cvm-dev                                                   libdevel   Credential Validation Modules (development files, documentation)                                 
cvm-mysql                                                 admin      Credential Validation Modules (mysql)                                                            
[...]

Of all the following that I tried, none of them worked as displayed.

aptitude --display-format "%p %s %70d" search ~n.* > file
COLUMNS=120 aptitude --display-format "%p %s %70d" search ~n.* > file

please help. thanks


tong




Reply to: