[Feature Request] Integrate with update-manager on Debian-based distributions
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
Comments
-
And switch to a DEB822-style /etc/apt/sources.list.d/1password.sources file whilst you're at it. They have been supported for several years. This works perfectly for me:
Types: deb URIs: https://downloads.1password.com/linux/debian/amd64 Suites: stable Components: main Architectures: amd64 Signed-By: -----BEGIN PGP PUBLIC KEY BLOCK----- . mQINBFkeAh4BEACy6fUHiFi/YvXZ2E5Gs7qFL8TSKQGLt0g8w/NtBotMNveW2Nzg aXcmJ2E0aXY7nBRtpIgRRrb7XuskDZwGmVx4PQshaZuIozS0T1kdMitobi4k3g2M 551yf1bPWl1neVJ5MmbpknnaIG6VjMHxcRKE0xXDYhpBtt7QQQw1HT8vOjUOXBUf VIj2o7I/+cRGNgDdkbuGRccC8hSGyiWXy4FY8xPvxMSCXoL5w531ew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EtBhSYGj/307UvFywP2tlXTeJqma1XwEBzXvx6j9Xn8pLIlvFh3 /ouLmP36bY+Ftj8Im3EWGnmVm5joe5S2hDLQI7FDbWGUwJePDNaMxC/SsvVzkXJz jAvajVAReB3Pu93SfsraNV/nNMGO4ALW+1Z1p/tzgwW7G4YpiXmRZ1EcL688MQKB /B8IrKajadMk5avGsoPc53MFEDOboZ3lA7F9WnuS6OSX3zBqyiPYxWskAiVf2TVK lBU54ptBq8ruhKAQqn54VJ9A3jX31XAcEv1YBw44bPvZzMPxc51ufODSWN80Y5Tu i5hpxQVKjCfhjtBaYrwtTnuIXQQQEQIAHRYhBCIx3/CGnuOliFrn1PeHeivJxAwx BQJZsEYgAAoJEPeHeivJxAwxo6oAn1dFjYZNzLyIhZeKaeIiZwGmq/9EAJ4+fRg9 P4I7jHwe0BN3iNAG1nKbGg== =hYVe -----END PGP PUBLIC KEY BLOCK-----
1 -
I came here to ask about the DEB822-style.
I've just got a large amount of noise along the lines of
is configured multiple times in /etc/apt/sources.list.d/1password.list:2 and /etc/apt/sources.list.d/1password.sources:1
in my terminal due to 1password updating the/etc/apt/sources.list.d/1password.list
file, instead of my/etc/apt/sources.list.d/1password.sources
file.Thank you!
0