Package: apt
Version: 0.3.19
Severity: wishlist

It would be nice if apt-get install provided the option

                --section foo \* 

where foo is the chosen section (base, admin, maths, whatever), and *
being every package in that section that is installable (based on
priorities and conflicts) or removable.

In addition, a complementary option would be 

                --priority {important,standard,optional,extra}

with reasonably obvious options:

                >={standard,optional,extra}             eg for install
                <={important,standard,optional} eg for a removal, leaving only a
                                                                                
basic "standard" system
                !important                                              eg for 
a removal, leaving only a
                                                                                
bare system.

So, one could remove all but the standard or important editors:

                apt-get remove --priority \<\= standard --section editors \*

Admittedly the shell quoting would be a bit sucky.

Regards,

Edward.

-- System Information
Debian Release: woody
Architecture: i386
Kernel: Linux tsumakin 2.4.0-test9-7 #1 Wed Sep 27 03:19:37 EST 2000 i686

Versions of packages apt depends on:
ii  libc6                        2.1.94-3    GNU C Library: Shared libraries an
ii  libstdc++2.10                1:2.95.2-14 The GNU stdc++ library            



Reply via email to