apt phasing should be documented in apt.conf(5) rather than apt_preferences(5)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hello, the apt documentation on controlling apt phasing is in apt_preferences(5). However, putting the records into a file in /etc/apt/
$ rg -l APT::Machine-ID -g '*.xml'
apt_2.2.
apt_2.3.
apt_2.3.
apt_2.1.
apt_2.3.
apt_2.3.
apt_2.4.
apt_2.2.
apt_2.5.
apt_2.4.
apt_2.3.
apt_2.2.
apt_2.3.
apt_2.3.
apt_2.1.
apt_2.3.
apt_2.5.
apt_2.4.
apt_2.3.
apt_2.2.
apt_2.3.
apt_2.3.
apt_2.3.
apt_2.2.
apt_2.4.
apt_2.1.
⏚ [sarnold:/etc/apt] $ sudo vim /etc/apt/
[sudo] password for sarnold:
⏚ [sarnold:/etc/apt] 11s $ apt list
E: Invalid record in the preferences file /etc/apt/
⏚ [sarnold:/etc/apt] $ cat /etc/apt/
// To have all your machines phase the same, set the same string in this field
// If commented out, apt will use /etc/machine-id to seed the random number generator
APT::Machine-ID "aaaabbbbccccdd
// Always include phased updates
APT::Get:
// Never include phased updates
# APT::Get:
Considering how difficult it is to tell which of preferences vs conf should be used for which settings, mentioning phasing in both manpages would be very kind. However, both manpages should be clear about which one is actually correct.
Thanks
Status changed to 'Confirmed' because the bug affects multiple users.