From: Keith E. <ke...@mi...> - 2004-02-13 17:43:53
|
What I'm trying to do: install Samba V3 from www.backports.org whilst otherwise maintaining a Woody system. What works: without using apt-proxy, I can do this by adding the following to sources.list: deb http://www.backports.org/debian stable samba ...and having a /etc/apt/preferences like this: ==================================================== Package: * Pin: release a=stable Pin-Priority: 900 Package: samba Pin: origin www.backports.org Pin-Priority: 950 Package: samba-common Pin: origin www.backports.org Pin-Priority: 950 Package: libacl1 Pin: origin www.backports.org Pin-Priority: 950 Package: libattr1 Pin: origin www.backports.org Pin-Priority: 950 Explanation: Uninstall or do not install any Debian-originated Explanation: instances other than those in the stable distro Package: * Pin: release o=Debian Pin-Priority: -10 ==================================================== Now, rather than pull those packages over the net each time, I want my apt-proxy server to serve them. However, I'm not sure how to set it up such that I can specify only the packages above are to come from backports; the rest are to come from stable mirrors. The problem is that once I add the appropriate lines to /etc/apt-proxy/apt-proxy.conf, the 'origin' of the packages (as seen by 'apt-cache policy') is the local apt-proxy server, and thus I cannot distinguish the backports packages from the others. Does that make sense? Can what I want to do be done with apt-proxy? Keith |