为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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