You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
packaging(deb/rpm): ship unattended-upgrades whitelist so installs auto-update by default #456
Installing mcpproxy via the apt repo (apt.mcpproxy.app) gives users an updatable package, but unattended-upgrades does not actually upgrade it. Ubuntu's default Allowed-Origins in /etc/apt/apt.conf.d/50unattended-upgrades only whitelists Canonical origins:
Our packages publish under Origin: MCPProxy, Suite: stable (see contrib/linux-repos/apt-ftparchive.conf), so apt list --upgradable lists new versions but the unattended-upgrades cron never pulls them. The user must drop a snippet under /etc/apt/apt.conf.d/ whitelisting o=MCPProxy,a=stable. Undocumented, silently breaks the "I installed via apt = it auto-updates" expectation.
Proposed fix
Ship /etc/apt/apt.conf.d/52unattended-upgrades-mcpproxy as a conffile inside the .deb:
On hosts where unattended-upgrades is installed (default on Ubuntu Server), this immediately enables auto-upgrades for mcpproxy releases.
The .rpm side has an equivalent (dnf-automatic) — worth a follow-up but separate change.
Implementation notes
Add the file to packaging/linux/ (e.g. apt-unattended-upgrades.conf).
Add a contents entry in packaging/linux/nfpm.yaml with type: config|noreplace so apt treats it as a conffile.
Smoke test (contrib/linux-repos/smoke-test-debian.sh) currently only checks mcpproxy --version — extend to assert the conffile exists.
Context
Discovered during a manual-install → deb migration on kubic (Ubuntu 24.04). One of three independent gaps surfaced from one move; see also #455 (migration docs) and the doctor-snap-docker-check issue.
Activity
packaging(deb): ship unattended-upgrades whitelist so installs auto-u…