Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10297
| From | Paul Wise <pabs@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: apt.Cache.update with alternative sources.list |
| Date | 2018-03-22 15:30 +0100 |
| Message-ID | <vw9o5-1jW-1@gated-at.bofh.it> (permalink) |
| References | <vvUyK-8di-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Mar 22, 2018 at 6:12 AM, Ole Streicher wrote: > I need some access (as normal user) to an apt cache with an alternative > sources.list (those in /etc/blends/ installed by blends-dev), but I have > problems to find out how to use it. If you want to completely isolate apt from the system configuration for apt, the correct way to do that is to set the APT_CONFIG environment variable. See apt.conf(5), APT_CONFIG is the first mechanism used for setting the apt config and /etc is the second place apt looks for configuration. If you do not want to override every item (including hooks/etc) in every file in /etc/apt/apt.conf.d then you need to use APT_CONFIG. Examples of how to do this include chdist (from devscripts), apt-venv or the derivatives census codebase. -- bye, pabs https://wiki.debian.org/PaulWise
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
apt.Cache.update with alternative sources.list Ole Streicher <olebole@debian.org> - 2018-03-21 23:40 +0100 Re: apt.Cache.update with alternative sources.list Pierre-Elliott Bécue <becue@crans.org> - 2018-03-22 08:30 +0100 Re: apt.Cache.update with alternative sources.list Paul Wise <pabs@debian.org> - 2018-03-22 15:30 +0100
csiph-web