1) Debian packages are not supposed to edit the configuration
   of other packages.

2) apt-get provides /etc/apt/sources.list.d/

I am correct to assume that if a Debian packages needs to
modify sources.list (indirectly) it should drop a .conf file
into /etc/apt/sources.list.d/ ?

If so we could

- provide a meta package r-cran-repository which

        - installs /etc/apt/sources.list.d/r-cran-repository.conf
                - post-install runs "apt-get update" ?

        - Suggests: a few main packages in r-cran-repository
                - that way "apt-get --install-suggests install 
r-cran-repository" acts like an "R-CRAN task"
                - Does that even work with already-installed packages ?
                - if not we'd want/need an r-cran-most-common.deb Depends: 
r-cran-repository

        - Lists: all (?) packages in r-cran-repository
                - that way "apt-cache search some-r-cran-package" would find 
r-cran-repository and/or r-cran-most-common

I'm sure there's flaws in this scheme. Please find them.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to