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

Bug#180213: apt should offer finer grain package scope control



Package: apt
Version: 0.5.4
Severity: wishlist

For low end machine (20MB, i486-50MHz), even current stable archive is 
too big to handle.  Some methods to limit scope of packages will be nice.

Basically, idea is to filter the content of Packages file locally
before reading into local cache and database.

Introduction of this filtering capability through a configuration file
(something like apt-filter.conf) should be useful:
-------------
deny package some-special-package-name1
deny package some-special-package-name2
allow package some-special-package-name3
allow ext base
deny ext *
deny opt graphics
deny opt doc
deny opt web
allow * *
-----------

This shall enable apt to include base package from extra but all others
ext are not includes.  All but (graphics, doc, and web) in optional
packages are included and higher priority than optional are all
included. 

If this internal package list is smaller, I think we can have much
faster dependency check on slower machine.

Osamu
PS:  If policy add some extra field for rating package or for package
attribute, we can do finer control but that is for different wishlist.

Above can be done without changing anything on the archive.
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <osamu@debian.org>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract




Reply to: