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
    • 最新
    • 标签
主页 / user-244421

Billal Begueradj's questions

Martin Hope
Billal Begueradj
Asked: 2024-03-09 01:47:28 +0800 CST

无法在 Ubuntu 23.10 上运行 Firefox

  • 5

在终端上,当我尝试运行 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 个回答
  • 65 Views
Martin Hope
Billal Begueradj
Asked: 2019-11-25 02:53:03 +0800 CST

Ubuntu 18.04:找不到 vue 命令

  • 0

当我运行时:

vue --version

我收到此错误消息:

Command 'vue' not found, did you mean:

  command 'vpe' from deb texlive-latex-extra

Try: sudo apt install <deb name>

笔记:

npm config get prefix
/home/begueradj/.nvm/versions/node/v12.8.0

和:

npm list vue
/home/begueradj
└── vue@2.6.10 

我之前跑过:

yarn global add @vue/cli
yarn global add @vue/cli-service-global

如何解决这个问题?

目前,当我将其添加到~/.profile

export PATH="$(yarn global bin):$PATH"

并运行:source ~/.profile

问题已解决...但仅适用于当前的终端会话(source .profile每次打开新的终端会话时我都必须运行)

18.04
  • 1 个回答
  • 5910 Views
Martin Hope
Billal Begueradj
Asked: 2019-08-16 03:26:23 +0800 CST

无法将 Node.js 切换到我选择的默认版本

  • 4

当我跑步时,nvm alias default 12.8.0我得到了这个:

默认 -> 12.8.0 (-> v12.8.0)

但是当我运行时,node -v我得到的是 v11.9.0

为什么会这样?

nodejs 18.04
  • 2 个回答
  • 2856 Views
Martin Hope
Billal Begueradj
Asked: 2019-07-23 02:30:32 +0800 CST

检测到系统程序问题?

  • 85

几天以来,我不断收到“检测到系统程序问题”错误消息:

在此处输入图像描述

我总是点击报告问题按钮,但没有任何反应。

我也每天运行更新和升级。

这是什么原因造成的?如何摆脱它?

18.04
  • 3 个回答
  • 68701 Views
Martin Hope
Billal Begueradj
Asked: 2018-10-24 07:42:37 +0800 CST

为什么从命令行删除文件夹比手动删除需要更长的时间?[复制]

  • 9
这个问题在这里已经有了答案:
为什么“rm”比通过文件管理器删除文件慢得多? (1 个回答)
3年前关闭。

我注意到每当我想使用命令行 ( ) 删除包含大量数据的文件夹时sudo rm -r folder_name,终端都会挂起以终止操作。但同时,当我手动删除一个类似大小的文件夹时,删除是立即执行的,无需等待。

关于为什么会发生这种差异的任何解释

command-line delete
  • 1 个回答
  • 1175 Views
Martin Hope
Billal Begueradj
Asked: 2018-06-10 09:05:58 +0800 CST

为什么在获取文件后 user@hostname 颜色会发生变化?

  • 5

我注意到每当我获取文件时,user@hostname 的颜色都会发生变化:

在此处输入图像描述

为什么?

bash prompt
  • 3 个回答
  • 1972 Views
Martin Hope
Billal Begueradj
Asked: 2018-05-31 07:23:54 +0800 CST

ImportError:无法导入名称'multiarray'

  • 2

我安装了Python3.6,如下所述:

sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6

然后我按如下方式安装了numpy:

sudo apt-get install python3-numpy

我想我可以从 Python3.5 导入 numpy,但不能从 Python3.6

Python 3.6.5 (default, Mar 29 2018, 03:28:50) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 180, in <module>
    from . import add_newdocs
  File "/usr/lib/python3/dist-packages/numpy/add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/usr/lib/python3/dist-packages/numpy/lib/__init__.py", line 8, in <module>
    from .type_check import *
  File "/usr/lib/python3/dist-packages/numpy/lib/type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 14, in <module>
    from . import multiarray
ImportError: cannot import name 'multiarray'

如何解决这个问题?

python3 16.04 numpy
  • 3 个回答
  • 14829 Views
Martin Hope
Billal Begueradj
Asked: 2018-05-23 09:22:23 +0800 CST

安装所需的磁盘空间大于删除后释放的空间:为什么?[复制]

  • 4
这个问题在这里已经有了答案:
为什么 apt-get install 和 remove 不清除相同的空间 2 个答案
4年前关闭。

我安装了 OBS Studio:

sudo apt-get install obs-studio 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-keybinder-3.0 libkeybinder-3.0-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libfdk-aac0 libluajit-5.1-2 libluajit-5.1-common libxcb-xinerama0
The following NEW packages will be installed:
  libfdk-aac0 libluajit-5.1-2 libluajit-5.1-common libxcb-xinerama0 obs-studio
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,678 kB of archives.
After this operation, 13.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

我决定删除它:

sudo apt-get --purge remove obs-studio Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-keybinder-3.0 libfdk-aac0 libkeybinder-3.0-0 libluajit-5.1-2
  libluajit-5.1-common libxcb-xinerama0
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  obs-studio*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 11.6 MB disk space will be freed.
Do you want to continue? [Y/n] 

删除它时,我希望释放13.0 MB的磁盘空间,因为这是安装所需的,但我却释放了11.6 MB的磁盘空间:为什么?

disk obs-studio
  • 2 个回答
  • 370 Views
Martin Hope
Billal Begueradj
Asked: 2018-04-09 00:17:00 +0800 CST

存储库“http://miktex.org/download/ubuntu xenial InRelease”不支持架构“i386”[重复]

  • 2
这个问题在这里已经有了答案:
跳过获取配置文件“xxxx”作为存储库“xxxx xenial InRelease”不支持体系结构“i386”” (2 个答案)
4年前关闭。

我按照本教程安装了 MikTex :

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889

echo "deb http://miktex.org/download/ubuntu xenial universe" | sudo tee /etc/apt/sources.list.d/miktex.list

sudo apt-get update

我收到了这条便条消息:

N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu xenial InRelease' doesn't support architecture 'i386'

如何摆脱这个?

16.04
  • 1 个回答
  • 3267 Views
Martin Hope
Billal Begueradj
Asked: 2018-04-03 03:31:17 +0800 CST

guvcview:无法录制视频

  • 2

我安装了guvcview,当我尝试录制视频时,它会记录我的声音和一张图像。它不会记录所有帧(图像)。如何解决这个问题?

16.04 guvcview
  • 1 个回答
  • 1405 Views
Martin Hope
Billal Begueradj
Asked: 2018-03-15 09:58:26 +0800 CST

适用于 Lubuntu 的 HP 打印机驱动程序

  • 1

在我的一台旧电脑上,我有 Lubuntu 16.04.4 LTS。

我的操作系统找不到 HP Envy 4526 打印机的驱动程序。

我能做些什么?我暂时无法打印(认为打印机已被识别)

drivers printing lubuntu
  • 3 个回答
  • 2607 Views
Martin Hope
Billal Begueradj
Asked: 2018-02-09 23:30:49 +0800 CST

软件更新程序要求我安装更新,但在终端上没有检测到升级

  • 0

我打开我的笔记本电脑,看到一个弹出窗口,通知我有更新以及我是否愿意安装它们。我选择不:

在此处输入图像描述

我打开终端并运行sudo apt-get upgrade,但它没有安装任何东西:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libmm-glib0 libqmi-proxy modemmanager
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

所以我去了仪表板并选择了我安装更新的软件更新程序。

这有什么逻辑解释吗?我的意思是为什么命令行没有检测到任何要升级的东西?

command-line update-manager
  • 1 个回答
  • 283 Views
Martin Hope
Billal Begueradj
Asked: 2017-09-13 18:36:21 +0800 CST

E:包'libpng12-0'没有安装候选(Ubuntu 17.04)[重复]

  • 2
这个问题在这里已经有了答案:
E:包'libpng12-0'没有安装候选[ubuntu 16.10 Gnome] (3个答案)
4年前关闭。

当我运行:sudo apt-get install libpng12-0时,我收到以下错误消息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libpng12-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libpng12-0' has no installation candidate
  • 如何解决这个问题?
  • 已经libpng16-16安装够做什么了libpng12-0吗?

我有:

Distributor ID: Ubuntu
Description:    Ubuntu 17.04
Release:    17.04
Codename:   zesty
17.04
  • 1 个回答
  • 2786 Views
Martin Hope
Billal Begueradj
Asked: 2017-08-07 02:48:23 +0800 CST

由于公钥不可用,无法验证以下签名:NO_PUBKEY [重复]

  • 99
这个问题在这里已经有了答案:
如何修复 GPG 错误“NO_PUBKEY”? (13 个回答)
5年前关闭。

社区在2 个月前审查了是否重新打开此问题并将其关闭:

原始关闭原因未解决

当我运行时apt-get update,我收到以下错误消息:

Err:18 http://dl.google.com/linux/chrome/deb stable Release.gpg                
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E

我了解导致此问题的原因。我想知道如何解决它。

编辑:

我尝试了重复链接中提供的最受好评的解决方案:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E

根据我看到的帖子,我得到了这个新问题,似乎在这个网站上没有得到解决:

Executing: /tmp/tmp.jyolnTyZuJ/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
6494C6D6997C215E
gpg: requesting key 997C215E from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
16.04
  • 1 个回答
  • 197176 Views
Martin Hope
Billal Begueradj
Asked: 2016-11-09 23:37:00 +0800 CST

如何通过单击最小化打开的窗口?

  • 2

为了最小化所有打开的窗口,我使用Ctrl++ Window。D

是否有像我可以拖放到任务栏的图标一样的东西,因为单击比同时按下 3 个按钮更快更容易?

16.04
  • 1 个回答
  • 1707 Views
Martin Hope
Billal Begueradj
Asked: 2016-06-08 04:53:39 +0800 CST

如何在 Ubuntu 16.04 LTS 上为 Python 3.5 安装 OpenCV 3.1?

  • 26

如何在 Ubuntu 16.04 LTS 上安装 OpenCV 3.1 版以使用 Python 3.5.1?

我在 VM 上尝试过这个,但如果你想使用 Python 2,这显然很有用。

16.04
  • 7 个回答
  • 124802 Views
Martin Hope
Billal Begueradj
Asked: 2016-03-06 10:16:53 +0800 CST

为 ScaPy 安装 libdnet Python 包装器

  • 1

如何在 Ubuntu 14.04.4 LTS 上为libdnet安装 Python (3) 包装器?我需要的是因为它是ScaPy 的先决条件,但是Python 3.x 包装器似乎还不存在。

14.04
  • 1 个回答
  • 835 Views

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