Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
话题已关闭并存档。 如果需要帮助请提出新问题。
Locked 已存档

firefox deb unattended-upgrades on ubuntu 24.04

SuMo Bot 已回复
SuMo Bot

I installed firefox on ubuntu 24.04 following the guidelines from https://support.mozilla.org/en-US/kb/install-firefox-linux

I followed the direction from the section "Install Firefox .deb package for Debian-based distributions", adding the https://packages.mozilla.org/apt repository, prioritizing that over firefox snap from ubunto repors and finally installing firefox.

All good, now I have the latest firefox.

Question: what entry should I add to the "Unattended-Upgrade::Allowed-Origins" section of "/etc/apt/apt.conf.d/50unattended-upgrades" in order to enable unattended upgrades for the mozilla repo?

Googling this got me different contradictory recommendations that did not get my system to firefox 146 until I manually run the apt update/upgrade.

Thanks!

I installed firefox on ubuntu 24.04 following the guidelines from https://support.mozilla.org/en-US/kb/install-firefox-linux I followed the direction from the section "Install Firefox .deb package for Debian-based distributions", adding the https://packages.mozilla.org/apt repository, prioritizing that over firefox snap from ubunto repors and finally installing firefox. All good, now I have the latest firefox. Question: what entry should I add to the "Unattended-Upgrade::Allowed-Origins" section of "/etc/apt/apt.conf.d/50unattended-upgrades" in order to enable unattended upgrades for the mozilla repo? Googling this got me different contradictory recommendations that did not get my system to firefox 146 until I manually run the apt update/upgrade. Thanks!

所有回复 (1)

I think I have found the answer to my own question.

The command 'apt-cache policy' lists all required information, among other entries I got:

1000 https://packages.mozilla.org/apt mozilla/main all Packages

   release o=namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla,a=mozilla,n=mozilla,l=namespaces/moz-fx-productdelivery-pr38b5/repositories/mozilla,c=main,b=all
   origin packages.mozilla.org


This translates into an Unattended-Upgrade::Allowed-Origins entry in /etc/apt/apt.conf.d/50unattended-upgrades like this:

"namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla:mozilla";

This question has been locked because the original author has deleted their account. While you can no longer post new replies, the existing content remains available for reference.