[Feature Request] Integrate with update-manager on Debian-based distributions

Options
RogueScholar
RogueScholar
Community Member

Having gotten a head start on the upcoming Ubuntu upgrade cycle to 24.04 LTS "Noble Numbat," I took notice of a quick and painless enhancement that 1Password could add to their Debian packages to make the release upgrade process smoother for users.

All the way back at the time of the Debian 5 "Lenny"/Ubuntu 9.04 "Jaunty Jackalope" releases added the ability for third-party repositories to opt-out of the typical deactivation of all non-official package sources during the do-release-upgrade workflow. The functionality is poorly-documented in the extreme, but you can see evidence of its existence in this changelog entry for the Ubuntu update-manager package. All that's required is for the package to install a readable "INI"-type file ending in .cfg in /etc/update-manager/release-upgrades.d/ that follows the convention below.

[ThirdPartyMirrors]
1password=https://downloads.1password.com/linux/debian/<arch>

The key name simply needs to be unique, typically the common name of the repository, while the value just needs to match the URI present in the .list or .source (DEB-822 style) entry found in the /etc/apt/sources.list.d file associated with it. This exempts that package source from the "unknown source" treatment in /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py and allows your users to continue receiving updates to the desktop app and CLI without interruption or need to manually fiddle with APT configuration files following a system upgrade.


1Password Version: 1Password for Linux 8.10.32 (81032024)
Extension Version: 2.23.28 (22302800)
OS Version: Kubuntu Linux 24.04 LTS "Noble Numbat"
Browser: Vivaldi Snapshot 6.7.3329.16