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


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

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

From Gioele Barabucci <gioele@svario.it>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121031: apt should support reading config/source/list files from /usr
Date 2025-11-19 21:50 +0100
Message-ID <LSXhM-edfB-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web