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

Stefan Bollmann's questions

Martin Hope
Stefan Bollmann
Asked: 2024-09-29 15:53:40 +0800 CST

6.1.0-25-amd64 内核无法安装 displaylink-driver

  • 7

我可以修复我的系统吗?我应该提交错误 evdi 还是其他软件包的错误跟踪?

上次内核更新失败。我不得不删除该evdi软件包。此后更新成功。我需要 evdi 才能使用displaylink-driver 软件包来使用扩展坞。尝试安装时,displaylink-driver我收到以下终端输出,其中出现后处理错误,退出代码为 10。此处make.log提到。

我没有太多办法让扩展坞工作。 一个针对 pop os 提交的错误似乎解决了这个问题,但是没有得到答复。这不是我第一次安装这个软件包,所以发行说明中指向uefi sec 解决方法的一条评论不应该困扰我。但是,我试过了,失败了,因为我无法安装 evdi 软件包。evdi错误跟踪器有一个安装后返回代码 10 的问题,但是,这个代码很旧,指的是较旧的内核。使用 kernkel 6.1.0-24-amd64 内核,它以前可以工作。

# apt install displaylink-driver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-headers-6.1.0-21-common
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  evdi
Suggested packages:
  update-notifier-common
The following NEW packages will be installed:
  displaylink-driver evdi
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,905 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Selecting previously unselected package evdi.
(Reading database ... 268277 files and directories currently installed.)
Preparing to unpack .../evdi_1.14.6-100_amd64.deb ...
Unpacking evdi (1.14.6-100) ...
Selecting previously unselected package displaylink-driver.
Preparing to unpack .../displaylink-driver_6.0.0-24_amd64.deb ...
Unpacking displaylink-driver (6.0.0-24) ...
Setting up evdi (1.14.6-100) ...
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/evdi/1.14.6/source -> /usr/src/evdi-1.14.6

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.1.0-25-amd64 all INCLUDEDIR=/lib/modules/6.1.0-25-amd64/build/include KVERSION=6.1.0-25-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-25-amd64 (x86_64)
Consult /var/lib/dkms/evdi/1.14.6/build/make.log for more information.
dpkg: error processing package evdi (--configure):
 installed evdi package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of displaylink-driver:
 displaylink-driver depends on evdi (>= 1.14.4); however:
  Package evdi is not configured yet.
 displaylink-driver depends on evdi (<< 1.15.0); however:
  Package evdi is not configured yet.

dpkg: error processing package displaylink-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 evdi
 displaylink-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)

关于 Stephen Kitts 的问题:

$ cat synaptics.list 
deb [signed-by=/usr/share/keyrings/synaptics-repository-keyring.gpg] https://www.synaptics.com/sites/default/files/Ubuntu/ stable main
deb [signed-by=/usr/share/keyrings/synaptics-repository-keyring.gpg] https://www.synaptics.com/sites/default/files/Ubuntu/ stable non-free
debian
  • 1 个回答
  • 100 Views
Martin Hope
Stefan Bollmann
Asked: 2024-02-24 21:53:27 +0800 CST

自 pep 668 起如何使用 eyeD3 进行 abcde

  • 5

自 pep 668 起,如何在 Debian 12 中使用 eyeD3 和 abcde?

我正在尝试使用 abcde 并将输出设置为 中设置的 mp3 .abcde.conf。abcde没有找到eyeD3,所以我尝试安装。但是,据我所知, pip3/pip告诉我使用虚拟环境或通过安装。apt install python3-eyed3但是安装后python3-eyed3仍然找不到路径。

# apt install python3-eyed3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-eyed3 is already the newest version (0.9.7-1).

pip eyeD3安装尝试。pip3 给出相同的结果。

# pip install eyeD3 
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
$ abcde
[ERROR] abcde: eyeD3 is not in your path.
[INFO] Define the full path to the executable if it exists on your system.
[INFO] Hint: sudo apt-get install 
~$ cat /etc/debian_version 
12.5

我查看了pep 668和eyeD3 安装文档。虽然理解为什么会发生激励变化,但我不知道该怎么做。

debian
  • 1 个回答
  • 9 Views
Martin Hope
Stefan Bollmann
Asked: 2019-08-31 09:00:21 +0800 CST

未找到更新-initramfs 命令

  • 4

如何更新 initramfs在其他地方如何描述它以添加固件?

对于 Debian 10,我得到一个command not found error. initramfs-tools已安装。

root@pc:/home/.../linux-firmware/i915# update-initramfs -u
bash: update-initramfs: command not found
root@pc:/home/.../linux-firmware/i915# apt install initramfs-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
initramfs-tools is already the newest version (0.133).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

好的,再次搜索并找到带有 live-update-initramfs 的包 live-tools。然而,现在其他的失败。

root@pc:/home/stefan/Downloads/intel-firmware/linux-firmware/i915# apt install live-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  debian-installer-launcher rsync uuid-runtime
The following NEW packages will be installed:
  live-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.1 kB of archives.
After this operation, 109 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 live-tools all 1:20171207 [31.1 kB]
Fetched 31.1 kB in 0s (91.4 kB/s)   
Selecting previously unselected package live-tools.
(Reading database ... 160376 files and directories currently installed.)
Preparing to unpack .../live-tools_1%3a20171207_all.deb ...
Unpacking live-tools (1:20171207) ...
Setting up live-tools (1:20171207) ...
Created symlink /etc/systemd/system/multi-user.target.wants/live-tools.service → /lib/systemd/system/live-tools.service.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start runlevel arguments (none) do not match live-tools Default-Start values (S)
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-5) ...
root@pd:/home/stefan/Downloads/intel-firmware/linux-firmware/i915# live-update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.19.0-5-amd64
/usr/sbin/update-initramfs.orig.initramfs-tools: 157: /usr/sbin/update-initramfs.orig.initramfs-tools: mkinitramfs: not found
update-initramfs: failed for /boot/initrd.img-4.19.0-5-amd64 with 127.
debian initramfs
  • 2 个回答
  • 23671 Views
Martin Hope
Stefan Bollmann
Asked: 2019-05-25 01:26:03 +0800 CST

选择具有在另一个文件中列出的 id-string 组合的文本文件行

  • 0

如何仅获取 list_of_od_strings.txt file_with_strings_in_lines.xml 给出的字符串的行?

这个问题类似于Select lines from text file which has ids listed in another file只要我有一个文件 list_of_od_strings.txt ,其中的字符串存在于 file_with_strings_in_lines.xml 中。应打印具有这些字符串之一的行。提到的问题在第一个文件中的 id 仅包含一个单词。

我的情况是不同的,在 ids.csv 中,id 是连续两到四个字符串的组合,如“一二 333 四”。

grep -wFf list_of_id_strings.txt file_with_strings_in_lines.xml

给我一个输出,我看到 list_of_id_strings.txt 的找到的字符串突出显示。但是,file_with_strings_in_lines.xml 中没有 list_of_id_strings.txt 字符串的行也会出现。也就是说,我在输出中看到了整个 list_of_id_strings.txt。

如何仅获取 list_of_od_strings.txt file_with_strings_in_lines.xml 给出的字符串的行?

shell text-processing
  • 1 个回答
  • 53 Views

Sidebar

Stats

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

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve