Re: apt_preferences: need an example
On Mon, Aug 26, 2002 at 09:49:42PM -0400, Abdul Latip wrote:
> Hello:
>
> Suppose "woody" is the default archive. But, I would like
> to use package "xyzzy" from "sid". But, "xyzzy" requires
> package "plugh" from "sid" too.
>
> The /etc/apt/sources.list would be like (?):
>
> ==============================================================
> deb http://blah.blah/debian/ woody main contrib non-free
> deb http://blah.blah/debian/ sid main contrib non-free
> deb http://blah.blah/debian-non-US/ woody/non-US main contrib non-free
> deb http://blah.blah/debian-non-US/ sid/non-US main contrib non-free
> deb http://blah.blah/debian-security/ woody/updates main contrib non-free
> ==============================================================
You may want to add security for stable.
> * May I know, how the /etc/apt/preferences should look like?
See my document and its examples on Debian server.
http://www.debian.org/doc/manuals/reference/ (Chapter 6)
http://www.debian.org/doc/manuals/reference/examples/
> * Besides "man apt_preferences", is there any other document
> available? Could someone please, send me an example of
> a working /etc/apt/preferences ?
Read examples above. But you need to decide what to track :)
Of course my above one. Also APT-HOWTO
http://www.debian.org/doc/manuals/apt-howto
> * May I know, how to detect that a new "plugh" is needed by
> "xyzzy" ?
$ apt-cache show -a xyzzy |less
$ apt-cache policy plugh xyzzy |less
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki @ Cupertino CA USA, GPG-key: A8061F32
.''`. Debian Reference: post-installation user's guide for non-developers
: :' : http://www.debian.org/doc/manuals/reference/ also http://qref.sf.net
`. `' "Our Priorities are Our Users and Free Software" --- Social Contract
Reply to: