Public bug reported:
Package version: 4.0.1build1 (Ubuntu 26.04 devel)
There is an inconsistency between the config key mentioned in the
warning message and the one actually used in the code.
Warning message says:
"consider using APT::Snapshots::Retain instead"
But the code reads:
apt_pkg.config.find_i(f"APT::Snapshot::Retain::{name}", count)
Note the difference: "Snapshots" (with 's') vs "Snapshot" (without 's').
This is confusing for users trying to configure the retain policy.
File: /usr/lib/python3/dist-packages/apt_btrfs_snapshot.py
Either the message or the code should be corrected to use
a consistent key name.
** Affects: apt-btrfs-snapshot (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2145811
Title:
Inconsistent config key: APT::Snapshots::Retain vs
APT::Snapshot::Retain
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-btrfs-snapshot/+bug/2145811/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs