Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1270861 > unrolled thread

Bug#1121031: apt should support reading config/source/list files from /usr

Started byGioele Barabucci <gioele@svario.it>
First post2025-11-19 21:50 +0100
Last post2025-11-19 21:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1121031: apt should support reading config/source/list files from /usr Gioele Barabucci <gioele@svario.it> - 2025-11-19 21:50 +0100

#1270861 — Bug#1121031: apt should support reading config/source/list files from /usr

FromGioele Barabucci <gioele@svario.it>
Date2025-11-19 21:50 +0100
SubjectBug#1121031: apt should support reading config/source/list files from /usr
Message-ID<LSXhM-edfB-13@gated-at.bofh.it>
Package: apt
Version: 3.1.12
Severity: wishlist

Dear Apt developers,

currently Apt reads its configuration from /etc/apt/apt.conf{,.d} and 
its sources from /etc/apt/sources.list{,.d}.

Could Apt also support the so called "stateless" configuration pattern, 
i.e. reading the default configuration from /usr while allowing 
overriding it in /etc, giving system administrators a way to define 
local configuration without changing any distro-provided files?

In first approximation, this would mean falling back to 
/usr/lib/apt.conf{,.d} and /usr/lib/apt/sources.list{,.d} if their /etc 
counterparts do not exist.

Kind regards,

-- 
Gioele Barabucci

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web