AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1506964
Accepted
Billal Begueradj
Billal Begueradj
Asked: 2024-03-09 01:47:28 +0800 CST2024-03-09 01:47:28 +0800 CST 2024-03-09 01:47:28 +0800 CST

无法在 Ubuntu 23.10 上运行 Firefox

  • 772

在终端上,当我尝试运行 Firefox 时,我收到以下消息:

Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox

但它已经安装了:

[sudo] password for begueradj: 
snap "firefox" is already installed, see 'snap help refresh'

更多信息:

begueradj@p50:~$ apt list --installed firefox -a
Listing... Done
firefox/mantic,now 1:1snap1-0ubuntu3 amd64 [installed]
firefox/mozilla 123.0.1~build1 amd64
firefox/mozilla 123.0~build3 amd64
firefox/mozilla 122.0.1~build1 amd64
firefox/mozilla 122.0~build2 amd64

编辑:

which firefox
/usr/local/bin/firefox

如何解决这个问题?

firefox
  • 1 1 个回答
  • 65 Views

1 个回答

  • Voted
  1. Best Answer
    Billal Begueradj
    2024-03-22T02:39:32+08:002024-03-22T02:39:32+08:00

    前面的评论家说得对。由于我需要恢复我的 Firefox snap 会话,我这样做了:

    snap info firefox
    

    输出:

    name:      firefox
    summary:   Mozilla Firefox web browser
    publisher: Mozilla✓
    store-url: https://snapcraft.io/firefox
    contact:   https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla
    license:   unset
    description: |
      Firefox is a powerful, extensible web browser with support for modern web
      application technologies.
    commands:
      - firefox
      - firefox.geckodriver
    snap-id:  3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
    tracking: latest/stable
    channels:
      latest/stable:    124.0-1      2024-03-19 (3972) 281MB -
      latest/candidate: 124.0-1      2024-03-12 (3972) 281MB -
      latest/beta:      125.0b2-1    2024-03-20 (4022) 283MB -
      latest/edge:      126.0a1      2024-03-21 (4026) 300MB -
      esr/stable:       115.9.0esr-2 2024-03-19 (3988) 256MB -
      esr/candidate:    115.9.0esr-2 2024-03-14 (3988) 256MB -
      esr/beta:         ↑                                    
      esr/edge:         ↑                                    
    installed:          121.0.1-1               (3626) 257MB disabled
    

    它说 Firefox 已被禁用。所以我启用它:

    snap enable firefox
    

    输入密码后,我可以通过终端启动 Firefox:firefox

    • 0

相关问题

  • Flash 在 Firefox 中无法正常工作。不会响应某些点击[关闭]

  • Firefox 鼠标中键滚动

  • 如何解决 Firefox 中的字体问题?

  • 使用突触或通过 Firefox 的插件菜单安装 adblock?

  • Firefox 的 Ubuntu Firefox 修改扩展有什么作用?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve