Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can't install Firefox snap

  • 3 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 Hey232

more options

I'm following a tutorial to install cinnamon desktop which includes Firefox snap on my Ubuntu LXD container, but the installation with snap fails. Does anyone know why it happens and how to fix it?

Preparing to unpack .../firefox_1%3a1snap1-0ubuntu2_amd64.deb ... => Installing the firefox snap ==> Checking connectivity with the snap store ==> Installing the firefox snap error: cannot perform the following tasks: - Setup snap "firefox" (2487) security profiles (cannot setup udev for snap "firefox": cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) - Setup snap "firefox" (2487) security profiles (cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) - Setup snap "firefox" (2487) security profiles for auto-connections (cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) dpkg: error processing archive /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_amd64.deb (--unpack):

new firefox package pre-installation script subprocess returned error exit status 1

Errors were encountered while processing:

/var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm following a tutorial to install cinnamon desktop which includes Firefox snap on my Ubuntu LXD container, but the installation with snap fails. Does anyone know why it happens and how to fix it? Preparing to unpack .../firefox_1%3a1snap1-0ubuntu2_amd64.deb ... => Installing the firefox snap ==> Checking connectivity with the snap store ==> Installing the firefox snap error: cannot perform the following tasks: - Setup snap "firefox" (2487) security profiles (cannot setup udev for snap "firefox": cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) - Setup snap "firefox" (2487) security profiles (cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) - Setup snap "firefox" (2487) security profiles for auto-connections (cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory ) dpkg: error processing archive /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_amd64.deb (--unpack): new firefox package pre-installation script subprocess returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/firefox_1%3a1snap1-0ubuntu2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

被選擇的解決方法

Nevermind, I installed other desktop enviornment that doesn't need Firefox snap, everything went well. Problem solved

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

Try downloading Firefox from Mozilla, run firefox-bin from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

Your issue appears to be with the snap version, so you will need to post your question here. https://forum.snapcraft.io/

or here

https://ubuntuforums.org/forumdisplay.php?f=329&s=7363865718a82ac1b769f33acf93fb24

more options

jonzn4SUSE said

Try downloading Firefox from Mozilla, run firefox-bin from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release Your issue appears to be with the snap version, so you will need to post your question here. https://forum.snapcraft.io/ or here https://ubuntuforums.org/forumdisplay.php?f=329&s=7363865718a82ac1b769f33acf93fb24

Thanks, I posted my question there.

As I don't have the display yet, I can't run the firefox-bin. Is there a way to install it so it would be integrated as 'firefox' package?

more options

選擇的解決方法

Nevermind, I installed other desktop enviornment that doesn't need Firefox snap, everything went well. Problem solved