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-472162

Sreram's questions

Martin Hope
Sreram
Asked: 2022-06-03 10:58:11 +0800 CST

如何在 Ubuntu 22.04 LTS 中刷新 DNS 缓存?

  • 1

我已经尝试过了sudo systemd-resolve --flush-caches,但它最终显示sudo: systemd-resolve: command not found。那么,如何在 Ubuntu 22 中刷新 DNS 缓存?

dns
  • 1 个回答
  • 714 Views
Martin Hope
Sreram
Asked: 2019-04-09 01:42:49 +0800 CST

我无法在 ubuntu 中安装任何东西

  • 11

以下是我现在尝试在 Ubuntu 上安装任何东西时收到的消息。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 cuda-libraries-dev-10-1 : Depends: libcublas-dev (>= 10.1.0.105) but it is not going to be installed
 cuda-samples-10-1 : Depends: libcublas-dev (>= 10.1.0.105) but it is not going to be installed
 cuda-visual-tools-10-1 : Depends: libcublas-dev (>= 10.1.0.105) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我试过了apt --fix-broken install,我试过了purge,我试过了sudo apt install -f,而且sudo apt-get remove --purge '^nvidia-.*'我什么也做不了。这一切都失败了。

我厌倦了在恢复模式下重新启动以尝试卸载驱动程序。

这是我的输出apt --fix-broken install:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libnvidia-common-390
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libcublas-dev
The following NEW packages will be installed:
  libcublas-dev
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
8 not fully installed or removed.
Need to get 0 B/39.9 MB of archives.
After this operation, 115 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 735451 files and directories currently installed.)
Preparing to unpack .../libcublas-dev_10.1.0.105-1_amd64.deb ...
Unpacking libcublas-dev (10.1.0.105-1) ...
dpkg: error processing archive /var/cache/apt/archives/libcublas-dev_10.1.0.105-1_amd64.deb (--unpack):
 trying to overwrite '/usr/include/cublas_v2.h', which is also in package nvidia-cuda-dev 9.1.85-3ubuntu1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libcublas-dev_10.1.0.105-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人可以帮帮我吗?我一直在花费数小时试图解决这个问题。我尝试cuda 10.1与已经存在的cuda 9.1. 结果证明这是一个错误。我的旧 cuda 安装工作正常,但dpkg完全坏了,它不再工作了。

没有卸载之前版本的cuda,我直接尝试安装10.1版本(误操作)。我尝试按照此处给出的链接进行安装:https ://developer.nvidia.com/cuda-downloads 。我选择了:Linux -> x86_64 -> Ubuntu -> 18.04 -> deb(network)然后我按照那边的说明进行操作。

因此,我无法安装任何东西。

package-management drivers nvidia apt cuda
  • 3 个回答
  • 13743 Views
Martin Hope
Sreram
Asked: 2018-12-04 06:37:10 +0800 CST

Okular 中的“朗读文本”功能不起作用。我如何让它工作?

  • 9

我目前正在使用 Ubuntu 18.04 和 Okular 来查看 pdf 文档。我认为如果我可以使用文本到语音功能会很方便。我尝试按照此处给出的所有说明进行操作:http: //freesoftwaremagazine.com/articles/listen_your_books_epub_pdf_okular/(这是我可以在网上找到的唯一来源),但我仍然无法让文本转语音功能正常工作。你能告诉我我该怎么做才能让它工作吗?如果由于已弃用而无法实现,您能否推荐一个好的替代方案?

我尝试从终端打开应用程序来收听音频。这是我选择部分文本并单击“朗读文本”时终端上的输出:

using null output device, none available
qt.speech.tts.flite: "Failed to start audio output (error 1)"
software-recommendation okular text-to-speech
  • 3 个回答
  • 8850 Views
Martin Hope
Sreram
Asked: 2018-08-10 01:42:08 +0800 CST

我的 WACOM One 设备不工作

  • 1

我最近买了一支 WACOM One 平板笔,但我无法让它在 Ubuntu(使用 gnome)上运行。我使用以下命令安装了驱动程序:

sudo apt-get install xserver-xorg-input-wacom

完成后,我重新启动了系统。但启动后,没有输入设备工作。所以我不得不再次重新启动,并进入恢复模式以使用以下命令重新安装所有输入驱动程序:

sudo apt-get install --reinstall xserver-xorg-input-all

后来,我能够让键盘和鼠标工作,但我仍然无法让平板电脑工作。

命令:

lsmod | grep wacom

输出:

wacom                 106496  0
usbhid                 49152  1 wacom
hid                   118784  3 hid_generic,usbhid,wacom

命令:

xsetwacom --list devices

输出:(没有显示)。

命令:

xinput list

输出:

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=9    [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                     id=10   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                     id=11   [slave  keyboard (3)]
    ↳ Eee PC WMI hotkeys                        id=12   [slave  keyboard (3)]

命令:

lsb_release -a

输出:

LSB Version:    core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-    noarch:printing-9.20160110ubuntu0.2-amd64:printing-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:    16.04
Codename:   xenial

我还尝试使用以下命令重新安装和重新启动:

sudo apt-get install --reinstall xserver-xorg-input-wacom

它仍然无法正常工作。我现在该怎么办?

software-installation tablet drivers wacom input-devices
  • 1 个回答
  • 4198 Views
Martin Hope
Sreram
Asked: 2017-09-11 05:08:24 +0800 CST

如何检查我的英特尔处理器是否为正品?

  • 5

我最近买了一台组装好的电脑。电脑没有组装在我的眼前。并且每个组件(处理器、显卡……等)盒子的密封在我之前都没有被拆掉。我刚刚将我的规格交给了第 3 方电脑组装店并组装好了。现在我想知道我的Intel处理器是不是正品。所以我尝试使用终端获取处理器的序列号(我不想冒险自己打开我的电脑)。

我用于检查处理器序列号的命令:

sudo dmidecode -t system | grep Serial

终端给出的输出是 : Serial Number: System Serial Number。

这是否表示我的处理器不是正品(我购买的是正品)?还是只是某些主板的 BIOS 没有从处理器中检索到这些信息?

或者有没有更好的方法来确定我的处理器是否是正品(无需拆卸 PC)?

附加信息:

命令 :

$ lscpu

输出:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 158
Model name:            Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Stepping:              9
CPU MHz:               900.000
CPU max MHz:           4200.0000
CPU min MHz:           800.0000
BogoMIPS:              7200.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              8192K
NUMA node0 CPU(s):     0-7

(省略标志)

command-line
  • 1 个回答
  • 9702 Views
Martin Hope
Sreram
Asked: 2016-02-19 04:46:59 +0800 CST

如何安装和设置使用 PortAudio 的环境?

  • 6

我对 Ubuntu 很陌生,我发现很难安装程序/库。如何使用终端在 Ubuntu 中安装和构建 PortAudio?

software-installation
  • 2 个回答
  • 21336 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