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 / 问题

全部问题(ubuntu)

Martin Hope
fixit7
Asked: 2024-09-18 05:17:04 +0800 CST

wnctrl 没有最小化我的终端

  • 7

这有效。

xdotool search  "Mozilla Firefox" windowminimize

但这并没有最小化我的终端。

xdotool search  "Terminal" windowminimize
Defaulting to search window name, class, and classname

wmctrl -l
0x01400003 -1 andy-To-be-filled-by-O-E-M Top Panel
0x01400017 -1 andy-To-be-filled-by-O-E-M Bottom Panel
0x01400025 -1 andy-To-be-filled-by-O-E-M Top Panel
0x01600006 -1 andy-To-be-filled-by-O-E-M Desktop
0x02800007  0 andy-To-be-filled-by-O-E-M Downloads - Thunar
0x0360003e  0 andy-To-be-filled-by-O-E-M How to minimize an application window from command line - Unix & Linux Stack Exchange — Mozilla Firefox
0x03800006  0 andy-To-be-filled-by-O-E-M Terminal
0x03c00007  0 andy-To-be-filled-by-O-E-M *untitled - Geany

为什么我的终端没有被最小化?

command-line
  • 1 个回答
  • 21 Views
Martin Hope
karel
Asked: 2024-09-18 00:43:20 +0800 CST

如何从我的 ubuntu.sources 中删除格式错误的行?

  • 8

这个问题显然是如何从我的 sources.list 中删除格式错误的行?的更新版本。在 Ubuntu 24.04 及更高版本中,Ubuntu 软件源已移至/etc/apt/sources.list.d/ubuntu.sources。该问题的目的是获得至少一个适合合并到原始规范问题的更新答案。

作为起点,这里是 Ubuntu 24.04 中默认的 ubuntu.sources 文件的样子。

Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
apt
  • 1 个回答
  • 47 Views
Martin Hope
asmith
Asked: 2024-09-17 22:19:42 +0800 CST

耳机声音输出与 Line-Out 输出混合(ALSA 驱动程序问题?)

  • 5

我遇到了与此问题中描述的完全相同的问题:耳机声音输出与线路输出混合。不幸的是,这个问题没有发布答案。我不确定以这种方式发布问题是否合适(我是这些论坛的新手),但我已经尝试了几个星期来解决这个问题,但没有成功。

我遇到此问题的系统使用带有三个模拟输出的 CS4207。三个输出中只有两个连接:耳机和线路输出。我在 Windows 上测试了音频硬件,并验证所有硬件均按预期运行(这和我进行的其他一些测试使我相信这是 Alsa 或 pulseaudio 的驱动程序问题)。

我看到的问题如下:当选择 Line Out 作为声音输出时,声音按预期工作(即,声音仅来自连接到 Line Out 端口的扬声器),但是当选择 Headphones 作为声音输出时,声音来自连接到 Headphones 端口的扬声器和连接到 Line Out 端口的扬声器。

通过 Alsamixer 查看声音设置同时更改所选的输出设备有助于说明问题。

当选择 Line Out 为输出时:

LineOut_selected_output

当选择耳机作为输出时:

耳机_选定_输出

正如您在此处看到的,当选择 Line Out 为输出时,耳机会自动静音并将音量设置为零,但是当选择 Headphones 为输出时,Line Out 音量和静音设置不会受到影响。

为了解决这个问题,我一直在进行修改/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf,虽然我可以看到更改正在应用(声音设置更改和 alsamixer 更改),但我还没有找到具有预期效果的修改。

我不确定下面的任何内容是否有用,但我将重现原始帖子中生成的输出,这些输出指出了这个问题(以下输出来自我的系统,我只是运行与原始帖子相同的命令)。请注意,在运行这些命令之前,我已将所有修改恢复到 analog-output-headphones.conf。

sudo aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS4207 Analog [CS4207 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CS4207 Digital [CS4207 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [DELL U2713HM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [BenQ LCD]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

出现问题时(选择耳机作为输出):

pacmd list-sinks

1 sink(s) available.
  * index: 1
    name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: RUNNING
    suspend cause: (none)
    priority: 9039
    volume: front-left: 27022 /  41% / -23.09 dB,   front-right: 27023 /  41% / -23.08 dB
            balance 0.00
    base volume: 52057 /  79% / -6.00 dB
    volume steps: 65537
    muted: no
    current latency: 4.86 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 1
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 4
    linked by: 4
    configured latency: 4.00 ms; range is 4.00 .. 2000.00 ms
    card: 0 <alsa_card.pci-0000_00_1f.3>
    module: 21
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "CS4207 Analog"
        alsa.id = "CS4207 Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "HDA Intel PCH"
        alsa.long_card_name = "HDA Intel PCH at 0x6001110000 irq 155"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1f.3"
        sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "51ca"
        device.form_factor = "internal"
        device.string = "front:0"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "Built-in Audio Analog Stereo"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
            properties:
                
        analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "audio-speakers"
        analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
            properties:
                device.icon_name = "audio-headphones"
    active port: <analog-output-headphones>

出现问题时(选择耳机作为输出)

pactl list sink-inputs

Sink Input #1
    Driver: protocol-native.c
    Owner Module: 10
    Client: 10
    Sink: 1
    Sample Specification: s16le 1ch 44100Hz
    Channel Map: mono
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
    Corked: no
    Mute: no
    Volume: mono: 65536 / 100% / 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 4851 usec
    Resample method: copy
    Properties:
        media.name = "playback"
        application.name = "speech-dispatcher"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "34"
        application.process.id = "4710"
        application.process.user = [removed]
        application.process.host = "localhost.localdomain"
        application.process.binary = "sd_espeak-ng"
        application.language = "C"
        window.x11.display = ":0"
        application.process.machine_id = "cbd63041d9194224ad624e9ddb6a37da"
        application.process.session_id = "2"
        module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"

Sink Input #2
    Driver: protocol-native.c
    Owner Module: 10
    Client: 11
    Sink: 1
    Sample Specification: s16le 1ch 44100Hz
    Channel Map: mono
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
    Corked: no
    Mute: no
    Volume: mono: 65536 / 100% / 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 4839 usec
    Resample method: copy
    Properties:
        media.name = "playback"
        application.name = "speech-dispatcher"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "34"
        application.process.id = "4724"
        application.process.user = [removed]
        application.process.host = "localhost.localdomain"
        application.process.binary = "sd_cicero"
        application.language = "C"
        window.x11.display = ":0"
        application.process.machine_id = "cbd63041d9194224ad624e9ddb6a37da"
        application.process.session_id = "2"
        module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"

Sink Input #3
    Driver: protocol-native.c
    Owner Module: 10
    Client: 12
    Sink: 1
    Sample Specification: s16le 1ch 44100Hz
    Channel Map: mono
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
    Corked: no
    Mute: no
    Volume: mono: 65536 / 100% / 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 4829 usec
    Resample method: copy
    Properties:
        media.name = "playback"
        application.name = "speech-dispatcher"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "34"
        application.process.id = "4728"
        application.process.user = [removed]
        application.process.host = "localhost.localdomain"
        application.process.binary = "sd_dummy"
        application.language = "C"
        window.x11.display = ":0"
        application.process.machine_id = "cbd63041d9194224ad624e9ddb6a37da"
        application.process.session_id = "2"
        module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"

Sink Input #4
    Driver: protocol-native.c
    Owner Module: 10
    Client: 13
    Sink: 1
    Sample Specification: s16le 1ch 44100Hz
    Channel Map: mono
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
    Corked: no
    Mute: no
    Volume: mono: 65536 / 100% / 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 4818 usec
    Resample method: copy
    Properties:
        media.name = "playback"
        application.name = "speech-dispatcher"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "34"
        application.process.id = "4731"
        application.process.user = [removed]
        application.process.host = "localhost.localdomain"
        application.process.binary = "sd_generic"
        application.language = "C"
        window.x11.display = ":0"
        application.process.machine_id = "cbd63041d9194224ad624e9ddb6a37da"
        application.process.session_id = "2"
        module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"

当问题未发生时(选择 Line Out 作为输出):

pactl list sink-inputs

Sink Input #1
    Driver: protocol-native.c
    Owner Module: 10
    Client: 10
    Sink: 1
    Sample Specification: s16le 1ch 44100Hz
    Channel Map: mono
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
    Corked: no
    Mute: no
    Volume: mono: 65536 / 100% / 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 3734 usec
    Resample method: copy
    Properties:
        media.name = "playback"
        application.name = "speech-dispatcher"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "34"
        application.process.id = "4710"
        application.process.user = [removed]
        application.process.host = "localhost.localdomain"
        application.process.binary = "sd_espeak-ng"
        application.language = "C"
        window.x11.display = ":0"
        application.process.machine_id = "cbd63041d9194224ad624e9ddb6a37da"
        application.process.session_id = "2"
        module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"

Sink Input #2
    Driver: protocol-native.c
    Owner Module: 10
    Client: 11
    Sink: 1
    Sample Specification: s16le 1ch 44100Hz
    Channel Map: mono
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
    Corked: no
    Mute: no
    Volume: mono: 65536 / 100% / 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 4804 usec
    Resample method: copy
    Properties:
        media.name = "playback"
        application.name = "speech-dispatcher"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "34"
        application.process.id = "4724"
        application.process.user = [removed]
        application.process.host = "localhost.localdomain"
        application.process.binary = "sd_cicero"
        application.language = "C"
        window.x11.display = ":0"
        application.process.machine_id = "cbd63041d9194224ad624e9ddb6a37da"
        application.process.session_id = "2"
        module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"

Sink Input #3
    Driver: protocol-native.c
    Owner Module: 10
    Client: 12
    Sink: 1
    Sample Specification: s16le 1ch 44100Hz
    Channel Map: mono
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
    Corked: no
    Mute: no
    Volume: mono: 65536 / 100% / 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 4794 usec
    Resample method: copy
    Properties:
        media.name = "playback"
        application.name = "speech-dispatcher"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "34"
        application.process.id = "4728"
        application.process.user = [removed]
        application.process.host = "localhost.localdomain"
        application.process.binary = "sd_dummy"
        application.language = "C"
        window.x11.display = ":0"
        application.process.machine_id = "cbd63041d9194224ad624e9ddb6a37da"
        application.process.session_id = "2"
        module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"

Sink Input #4
    Driver: protocol-native.c
    Owner Module: 10
    Client: 13
    Sink: 1
    Sample Specification: s16le 1ch 44100Hz
    Channel Map: mono
    Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "1"  format.channel_map = "\"mono\""
    Corked: no
    Mute: no
    Volume: mono: 65536 / 100% / 0.00 dB
            balance 0.00
    Buffer Latency: 0 usec
    Sink Latency: 4788 usec
    Resample method: copy
    Properties:
        media.name = "playback"
        application.name = "speech-dispatcher"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "34"
        application.process.id = "4731"
        application.process.user = [removed]
        application.process.host = "localhost.localdomain"
        application.process.binary = "sd_generic"
        application.language = "C"
        window.x11.display = ":0"
        application.process.machine_id = "cbd63041d9194224ad624e9ddb6a37da"
        application.process.session_id = "2"
        module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher"
sound
  • 1 个回答
  • 31 Views
Martin Hope
Kuba D
Asked: 2024-09-17 17:25:15 +0800 CST

仅为 Nautilus 所有者设置 ftp 上的执行权限

  • 5

我已使用 Nautilus 连接到 sftp 服务器(即标准文件窗口中的其他位置)。我想添加 x 权限,但仅限于所有者。当我单击属性和权限时 - GUI 只为我提供了一个全局复选框“允许将文件作为程序执行”。它全局地将 x 权限分配给所有者/组/其他人。有什么技巧可以只为所有者设置它吗?

nautilus
  • 1 个回答
  • 21 Views
Martin Hope
Amandeep Singh
Asked: 2024-09-17 05:10:11 +0800 CST

Ubuntu WiFi 问题:rtw_8822bu 无法从固件获取 tx 报告

  • 5

我的 PC 的 Wifi 最近停止工作了,可能是在内核升级之后。Wifi 连接到 SSID,端口分配了一个 IP 地址。但是,除了主机本身之外,我无法 ping 任何东西。尝试过重新启动、重新连接、重新启动 Wifi 路由器、禁用 GUFW 等,但都不起作用。局域网中的其他一切都运行良好。

尝试添加以下 Grub 启动参数,但没有帮助:

pcie_aspm=off

更改以下参数以禁用省电模式,甚至有帮助 - /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf:

wifi.powersave = 3 ==> 2

将电源管理中的省电模式更改为平衡,问题仍然存在。

Wifi Dongle 是TP-Link Archer T3U [Realtek RTL8812BU]

我怀疑是内核或固件出了问题,或者是硬件出了问题。请指导我找出问题所在,并尽可能帮助解决。

以下是 DMESG 命令和 Wireless-info 脚本的输出:

  • Dmesg:https://paste.ubuntu.com/p/byDJdFx4RZ/
  • 无线信息:https ://paste.ubuntu.com/p/MfwQwKH69W/
wireless
  • 1 个回答
  • 40 Views
Martin Hope
WesternGun
Asked: 2024-09-16 21:00:06 +0800 CST

Bash 5 - 幽灵功能:已删除但仍在 Bash 缓存中可用 - 漏洞?错误?

  • 7

GNU Bash 版本 5.1、WSL、Ubuntu 22.04.3 LTS。

$ bash -version
bash -version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
  1. 编辑.bashrc、创建功能foo:
foo() {
    echo 'GHOST'
}

保存并退出

  1. 来源.bashrc:
. .bashrc

现在foo是一个有效的函数:

type foo
foo is a function
foo ()
{
    echo 'GHOST'
}
  1. 调用foo(),它会打印GHOST

  2. 编辑.bashrc,删除该功能,重新来源

  3. foo作为一个函数,仍然可供调用和type。

  4. 重新启动终端窗口,它现在停止存在。

  5. 当然,当您重命名某个函数时也会发生这种情况;您会不断调用旧版本,同时重复按“UP”键以使用历史记录中的版本。

漏洞?功能?漏洞?

bash
  • 1 个回答
  • 31 Views
Martin Hope
user26554551
Asked: 2024-09-16 20:05:14 +0800 CST

24.04 LTS 安装过程中出现问题。机器是 dell-xps-13-9350

  • 4

这是日志文件。

Sep 16 12:23:33 ubuntu subiquity_event.3502[3502]: subiquity/load_cloud_config/extract_autoinstall:
Sep 16 12:23:35 ubuntu subiquity_event.3502[3502]: subiquity/load_cloud_config/extract_autoinstall:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Early/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Early/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Reporting/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Reporting/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Error/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Error/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Userdata/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Userdata/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Package/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Package/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Debconf/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Debconf/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Kernel/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Kernel/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Zdev/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Zdev/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Ad/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Ad/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Late/apply_autoinstall_config:
Sep 16 12:23:36 ubuntu subiquity_event.3502[3502]: subiquity/Late/apply_autoinstall_config:
Sep 16 12:27:22 ubuntu subiquity_event.3502[3502]: subiquity/Ad/has_support_GET:
Sep 16 12:28:51 ubuntu subiquity_event.3502[3502]: subiquity/Ad/has_support_GET:
Sep 16 12:32:56 ubuntu subiquity_event.3502[3502]: configuring apt
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: start: cmd-apt-config: curtin command apt-config
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Handling apt to target /tmp/tmp82cvjhg0/mount with config {'debconf_selections': {'subiquity': ''}, 'disable_components': [], 'disable_suites': ['security'], 'preserve_sources_list': False, 'primary': [{'arches': ['default'], 'uri': 'http://ng.archive.ubuntu.com/ubuntu/'}], 'security': [{'arches': ['amd64', 'i386'], 'uri': 'http://security.ubuntu.com/ubuntu/'}, {'arches': ['s390x', 'arm64', 'armhf', 'powerpc', 'ppc64el', 'riscv64'], 'uri': 'http://ports.ubuntu.com/ubuntu-ports'}]}
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['mount', '--bind', '/dev', '/tmp/tmp82cvjhg0/mount/dev'] with allowed return codes [0] (capture=False)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['mount', '--bind', '/proc', '/tmp/tmp82cvjhg0/mount/proc'] with allowed return codes [0] (capture=False)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['mount', '--bind', '/run', '/tmp/tmp82cvjhg0/mount/run'] with allowed return codes [0] (capture=False)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['mount', '--bind', '/sys', '/tmp/tmp82cvjhg0/mount/sys'] with allowed return codes [0] (capture=False)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['mount', '--bind', '/tmp/tmp82cvjhg0/mount/usr/bin/true', '/tmp/tmp82cvjhg0/mount/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['unshare', '--help'] with allowed return codes [0] (capture=True)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Checking if target_proc (/tmp/tmp82cvjhg0/mount/proc) is a mount
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: It is, so unshare will use --mount-proc=/tmp/tmp82cvjhg0/mount/proc
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/tmp/tmp82cvjhg0/mount/proc', '--', 'chroot', '/tmp/tmp82cvjhg0/mount', 'lsb_release', '--all'] with allowed return codes [0] (capture=True)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Checking if target_proc (/tmp/tmp82cvjhg0/mount/proc) is a mount
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: It is, so unshare will use --mount-proc=/tmp/tmp82cvjhg0/mount/proc
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/tmp/tmp82cvjhg0/mount/proc', '--', 'chroot', '/tmp/tmp82cvjhg0/mount', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: got primary mirror: http://ng.archive.ubuntu.com/ubuntu/
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: got security mirror: http://security.ubuntu.com/ubuntu/
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Apt Mirror info: {'PRIMARY': 'http://ng.archive.ubuntu.com/ubuntu/', 'SECURITY': 'http://security.ubuntu.com/ubuntu/', 'MIRROR': 'http://ng.archive.ubuntu.com/ubuntu/'}
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Applying debconf selections
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Checking if target_proc (/tmp/tmp82cvjhg0/mount/proc) is a mount
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: It is, so unshare will use --mount-proc=/tmp/tmp82cvjhg0/mount/proc
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/tmp/tmp82cvjhg0/mount/proc', '--', 'chroot', '/tmp/tmp82cvjhg0/mount', 'debconf-set-selections'] with allowed return codes [0] (capture=True)
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Checking if target_proc (/tmp/tmp82cvjhg0/mount/proc) is a mount
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: It is, so unshare will use --mount-proc=/tmp/tmp82cvjhg0/mount/proc
Sep 16 12:32:58 ubuntu subiquity_log.3502[5222]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/tmp/tmp82cvjhg0/mount/proc', '--', 'chroot', '/tmp/tmp82cvjhg0/mount', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: No custom template provided, fall back to modifymirrors in /etc/apt/sources.list.d/ubuntu.sources on the target system
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Checking if target_proc (/tmp/tmp82cvjhg0/mount/proc) is a mount
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: It is, so unshare will use --mount-proc=/tmp/tmp82cvjhg0/mount/proc
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/tmp/tmp82cvjhg0/mount/proc', '--', 'chroot', '/tmp/tmp82cvjhg0/mount', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Checking if target_proc (/tmp/tmp82cvjhg0/mount/proc) is a mount
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: It is, so unshare will use --mount-proc=/tmp/tmp82cvjhg0/mount/proc
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/tmp/tmp82cvjhg0/mount/proc', '--', 'chroot', '/tmp/tmp82cvjhg0/mount', 'dpkg-query', '--show', '--showformat', '${Version}', 'cloud-init'] with allowed return codes [0] (capture=True)
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Set preserve_sources_list to True in /etc/cloud/cloud.cfg.d/curtin-preserve-sources.cfg with: {'apt': {'preserve_sources_list': True}}
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Checking if target_proc (/tmp/tmp82cvjhg0/mount/proc) is a mount
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: It is, so unshare will use --mount-proc=/tmp/tmp82cvjhg0/mount/proc
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/tmp/tmp82cvjhg0/mount/proc', '--', 'chroot', '/tmp/tmp82cvjhg0/mount', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_InRelease to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_InRelease
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_main_binary-amd64_Packages to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_main_binary-amd64_Packages
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_main_cnf_Commands-amd64 to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_main_cnf_Commands-amd64
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_main_dep11_Components-amd64.yml.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_main_dep11_Components-amd64.yml.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_main_dep11_icons-48x48.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_main_dep11_icons-48x48.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_main_dep11_icons-64x64%402.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_main_dep11_icons-64x64%402.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_main_dep11_icons-64x64.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_main_dep11_icons-64x64.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_main_i18n_Translation-en to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_main_i18n_Translation-en
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_binary-amd64_Packages to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_binary-amd64_Packages
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_cnf_Commands-amd64 to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_cnf_Commands-amd64
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_dep11_Components-amd64.yml.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_dep11_Components-amd64.yml.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_dep11_icons-48x48.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_dep11_icons-48x48.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_dep11_icons-64x64%402.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_dep11_icons-64x64%402.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_dep11_icons-64x64.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_dep11_icons-64x64.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_i18n_Translation-en to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-updates_restricted_i18n_Translation-en
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_InRelease to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_InRelease
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_main_binary-amd64_Packages to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_main_binary-amd64_Packages
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_main_cnf_Commands-amd64 to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_main_cnf_Commands-amd64
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_main_dep11_Components-amd64.yml.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_main_dep11_Components-amd64.yml.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_main_dep11_icons-48x48.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_main_dep11_icons-48x48.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_main_dep11_icons-64x64%402.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_main_dep11_icons-64x64%402.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_main_dep11_icons-64x64.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_main_dep11_icons-64x64.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_main_i18n_Translation-en to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_main_i18n_Translation-en
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_restricted_binary-amd64_Packages to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_restricted_binary-amd64_Packages
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_restricted_cnf_Commands-amd64 to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_restricted_cnf_Commands-amd64
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble_restricted_i18n_Translation-en to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble_restricted_i18n_Translation-en
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_InRelease to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_InRelease
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_main_cnf_Commands-amd64 to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_main_cnf_Commands-amd64
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_main_dep11_Components-amd64.yml.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_main_dep11_Components-amd64.yml.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_main_dep11_icons-48x48.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_main_dep11_icons-48x48.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_main_dep11_icons-64x64%402.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_main_dep11_icons-64x64%402.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_main_dep11_icons-64x64.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_main_dep11_icons-64x64.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_cnf_Commands-amd64 to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_cnf_Commands-amd64
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_dep11_Components-amd64.yml.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_dep11_Components-amd64.yml.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_dep11_icons-48x48.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_dep11_icons-48x48.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_dep11_icons-64x64%402.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_dep11_icons-64x64%402.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_dep11_icons-64x64.tar.gz to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_multiverse_dep11_icons-64x64.tar.gz
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_restricted_cnf_Commands-amd64 to /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/ng.archive.ubuntu.com_ubuntu_dists_noble-backports_restricted_cnf_Commands-amd64
Sep 16 12:32:59 ubuntu subiquity_log.3502[5222]: Renaming apt list /tmp/tmp82cvjhg0/mount/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_noble-backports_restricted_dep11_Components-am
system-installation
  • 1 个回答
  • 32 Views
Martin Hope
Steve Clay
Asked: 2024-09-16 18:30:41 +0800 CST

如何修复:“错误依赖性无法满足”?

  • 8

我今天下载了新版本的 VS Code。当我尝试使用 GDebi 安装它时,GDebi 说:“错误:依赖项无法满足:libglib2.0-0 (>=2.37.3)”。请注意第一个版本中的连字符和第二个版本中的点。这是个线索吗?

请问我该如何修复此问题?

这可能与几周前我从 ubuntu 24.04.0 升级到 24.04.1 有关。更新一直持续到深夜,我想我太累了,错过了一条错误消息。所以我的系统可能出了问题,但我不知道是什么问题!到目前为止一切都正常,所有软件更新似乎都已正确安装,包括我在尝试更新 Visual Studio Code 之前安装的更新。

apt
  • 1 个回答
  • 260 Views
Martin Hope
ysalmon
Asked: 2024-09-16 17:46:19 +0800 CST

从 22.04 升级到 24.04 后,切换到 USB 耳机效果不佳

  • 6

我使用 NVIDIA GPU 的声音输出作为主声音接收器。不过,我时不时会插入 EPOS 耳机(一种与实际耳机进行无线通信的 USB 适配器)。

在 KUbuntu 22.04 下,pulseaudio 会自动切换到 EPOS 进行声音输入和输出。

自升级到 KUbuntu 24.04.1 以来,此功能一直无法正常工作,而且我无法调试它,因为我不熟悉 pipewire 也不熟悉 pipewire-pulse“桥”。

插入 EPOS 加密狗后,切换无法正常进行:在 pavucontrol 中,EPOS 显示为默认源和接收器,但没有实际声音。我可以通过使用 pavucontrol 选择 NVIDIA GPU 作为默认设置,然后再选择 EPOS,使其正常工作。

有一次(在网络会议期间),我突然没有声音了。我通过在 pavucontrol 中执行相同的操作恢复了声音。但当我关闭 pavucontrol 时,它又出错了。然而,这并不是系统性发生的,而是随机发生的。

我认为我的配置对于从 22.04 升级到 24.04 来说非常标准。我所做的唯一更改是在/bin/true下创建了一个符号链接$HOME/bin/pulseaudio:这使游戏 (Victoria 3) 能够正确检测 NVIDIA GPU 声音接收器(否则它将输出到计算机机箱的内置扬声器)。

仅供参考,网络会议是在 Firefox 下使用 Big Blue Button 进行的(直接从 Mozilla 获得,而不是 snap distrib)。

pactl list这是EPOS 加密狗工作时输出的开始部分(是否有 pipewire 的等效项?):

Module #1
    Nom : libpipewire-module-rt
    Paramètre : {
            nice.level    = -11
            rt.prio       = 88
            #rt.time.soft = -1
            #rt.time.hard = -1
            #uclamp.min = 0
            #uclamp.max = 1024
        }
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-rt"
        object.id = "1"
        object.serial = "1"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Use realtime thread scheduling, falling back to RTKit"
        module.usage = "( nice.level=<priority: default 20(don't change)> ) ( rt.prio=<priority: default 83> ) ( rt.time.soft=<in usec: default -1> ) ( rt.time.hard=<in usec: default -1> ) ( rlimits.enabled=<default true> ) ( rtportal.enabled=<default true> ) ( rtkit.enabled=<default true> ) ( uclamp.min=<default 0> ) ( uclamp.max=<default 1024> )"
        module.version = "1.0.5"
        nice.level = "-11"
        rt.prio = "88"

Module #2
    Nom : libpipewire-module-protocol-native
    Paramètre : {
            # List of server Unix sockets, and optionally permissions
            #sockets = [ { name = "pipewire-0" }, { name = "pipewire-0-manager" } ]
        }
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-protocol-native"
        object.id = "2"
        object.serial = "2"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Native protocol using unix sockets"
        module.version = "1.0.5"

Module #3
    Nom : libpipewire-module-profiler
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-profiler"
        object.id = "3"
        object.serial = "3"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Generate Profiling data"
        module.version = "1.0.5"

Module #5
    Nom : libpipewire-module-metadata
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-metadata"
        object.id = "5"
        object.serial = "5"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Allow clients to create metadata store"
        module.version = "1.0.5"

Module #7
    Nom : libpipewire-module-spa-device-factory
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-spa-device-factory"
        object.id = "7"
        object.serial = "7"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Provide a factory to make SPA devices"
        module.version = "1.0.5"

Module #9
    Nom : libpipewire-module-spa-node-factory
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-spa-node-factory"
        object.id = "9"
        object.serial = "9"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Provide a factory to make SPA nodes"
        module.version = "1.0.5"

Module #11
    Nom : libpipewire-module-client-node
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-client-node"
        object.id = "11"
        object.serial = "11"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Allow clients to create and control remote nodes"
        module.version = "1.0.5"

Module #13
    Nom : libpipewire-module-client-device
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-client-device"
        object.id = "13"
        object.serial = "13"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Allow clients to create and control remote devices"
        module.version = "1.0.5"

Module #15
    Nom : libpipewire-module-portal
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-portal"
        object.id = "15"
        object.serial = "15"

Module #16
    Nom : libpipewire-module-access
    Paramètre : {
            # Socket-specific access permissions
            #access.socket = { pipewire-0 = "default", pipewire-0-manager = "unrestricted" }

            # Deprecated legacy mode (not socket-based),
            # for now enabled by default if access.socket is not specified
            #access.legacy = true
        }
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-access"
        object.id = "16"
        object.serial = "16"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Perform access check"
        module.usage = "( access.socket={ <socket>=<access>, ... } ) ( access.legacy=true ) "
        module.version = "1.0.5"

Module #17
    Nom : libpipewire-module-adapter
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-adapter"
        object.id = "17"
        object.serial = "17"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Manage adapter nodes"
        module.version = "1.0.5"

Module #19
    Nom : libpipewire-module-link-factory
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-link-factory"
        object.id = "19"
        object.serial = "19"
        module.author = "Wim Taymans <[email protected]>"
        module.description = "Allow clients to create links"
        module.usage = "( allow.link.passive=<bool, default false> ) "
        module.version = "1.0.5"

Module #21
    Nom : libpipewire-module-session-manager
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-session-manager"
        object.id = "21"
        object.serial = "21"
        module.author = "George Kiagiadakis <[email protected]>"
        module.description = "Implements objects for session management"
        module.version = "1.0.5"

Module #28
    Nom : libpipewire-module-jackdbus-detect
    Paramètre : {
            #jack.library     = libjack.so.0
            #jack.server      = null
            #jack.client-name = PipeWire
            #jack.connect     = true
            #tunnel.mode      = duplex  # source|sink|duplex
            source.props = {
                #audio.channels = 2
        #midi.ports = 1
                #audio.position = [ FL FR ]
                # extra sink properties
            }
            sink.props = {
                #audio.channels = 2
        #midi.ports = 1
                #audio.position = [ FL FR ]
                # extra sink properties
            }
        }
    Nombre d’utilisations : n/d
    Propriétés : 
        module.name = "libpipewire-module-jackdbus-detect"
        object.id = "28"
        object.serial = "28"

Module #536870912
    Nom : module-always-sink
    Paramètre : 
    Nombre d’utilisations : n/d
    Propriétés : 
        module.author = "Pauli Virtanen <[email protected]>"
        module.description = "Always keeps at least one sink loaded even if it's a null one"
        module.usage = "sink_name=<name of sink>"
        module.version = "1.0.5"

Destination #126
    État : IDLE
    Nom : alsa_output.pci-0000_01_00.1.hdmi-stereo
    Description : HDA NVidia Digital Stereo (HDMI)
    Pilote : PipeWire
    Spécification de l’échantillon : s32le 2ch 48000Hz
    Plan des canaux : front-left,front-right
    Module du propriétaire : 4294967295
    Sourdine : non
    Volume : front-left: 29491 /  45% / -20,81 dB,   front-right: 29491 /  45% / -20,81 dB
            balance 0,00
    Volume de base : 65536 / 100% / 0,00 dB
    Source du moniteur : alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
    Latence : 0 usec, configuré 0 usec
    Marqueurs : HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
    Propriétés :
        alsa.card = "0"
        alsa.card_name = "HDA NVidia"
        alsa.class = "generic"
        alsa.components = "HDA:10de0094,14628d92,00100100"
        alsa.device = "3"
        alsa.driver_name = "snd_hda_intel"
        alsa.id = "NVidia"
        alsa.long_card_name = "HDA NVidia at 0xef080000 irq 17"
        alsa.mixer_name = "Nvidia GPU 94 HDMI/DP"
        alsa.name = "DELL U2718Q"
        alsa.resolution_bits = "16"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "HDA NVidia at 0xef080000 irq 17"
        api.alsa.card.name = "HDA NVidia"
        api.alsa.path = "hdmi:0"
        api.alsa.pcm.card = "0"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "FL,FR"
        card.profile.device = "4"
        device.api = "alsa"
        device.class = "sound"
        device.id = "48"
        device.profile.description = "Digital Stereo (HDMI)"
        device.profile.name = "hdmi-stereo"
        device.routes = "1"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "HDA NVidia"
        node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo"
        node.nick = "DELL U2718Q"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:0:hdmi:0:playback"
        priority.driver = "696"
        priority.session = "696"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "35"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "79"
        object.serial = "126"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "1024"
        api.alsa.period-num = "32"
        api.alsa.headroom = "0"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "0"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio0"
        device.bus = "pci"
        device.bus_path = "pci-0000:01:00.1"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_01_00.1"
        device.nick = "HDA NVidia"
        device.plugged.usec = "7069916"
        device.product.id = "0x10fa"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0"
        device.vendor.id = "0x10de"
        device.vendor.name = "NVIDIA Corporation"
        device.string = "0"
    Ports :
        hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 1, available)
    Port actif : hdmi-output-0
    Formats :
        pcm

Destination #146
    État : RUNNING
    Nom : alsa_output.usb-EPOS_EPOS_BTD_800_A000870205107583-00.analog-stereo
    Description : EPOS BTD 800 Analog Stereo
    Pilote : PipeWire
    Spécification de l’échantillon : s16le 2ch 48000Hz
    Plan des canaux : front-left,front-right
    Module du propriétaire : 4294967295
    Sourdine : non
    Volume : front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB
            balance 0,00
    Volume de base : 41335 /  63% / -12,01 dB
    Source du moniteur : alsa_output.usb-EPOS_EPOS_BTD_800_A000870205107583-00.analog-stereo.monitor
    Latence : 0 usec, configuré 0 usec
    Marqueurs : HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    Propriétés :
        alsa.card = "3"
        alsa.card_name = "EPOS BTD 800"
        alsa.class = "generic"
        alsa.components = "USB1395:0382"
        alsa.device = "0"
        alsa.driver_name = "snd_usb_audio"
        alsa.id = "E800"
        alsa.long_card_name = "EPOS EPOS BTD 800 at usb-0000:00:14.0-2, full speed"
        alsa.mixer_name = "USB Mixer"
        alsa.name = "USB Audio"
        alsa.resolution_bits = "16"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "EPOS EPOS BTD 800 at usb-0000:00:14.0-2, full speed"
        api.alsa.card.name = "EPOS BTD 800"
        api.alsa.path = "front:3"
        api.alsa.pcm.card = "3"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "FL,FR"
        card.profile.device = "3"
        device.api = "alsa"
        device.class = "sound"
        device.id = "84"
        device.profile.description = "Analog Stereo"
        device.profile.name = "analog-stereo"
        device.routes = "1"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "EPOS BTD 800"
        node.name = "alsa_output.usb-EPOS_EPOS_BTD_800_A000870205107583-00.analog-stereo"
        node.nick = "EPOS BTD 800"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:3:front:3:playback"
        priority.driver = "1009"
        priority.session = "1009"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "35"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "86"
        object.serial = "146"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "256"
        api.alsa.period-num = "128"
        api.alsa.headroom = "256"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "3"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio3"
        device.bus = "usb"
        device.bus-id = "usb-EPOS_EPOS_BTD_800_A000870205107583-00"
        device.bus_path = "pci-0000:00:14.0-usb-0:2:1.0"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-usb"
        device.name = "alsa_card.usb-EPOS_EPOS_BTD_800_A000870205107583-00"
        device.nick = "EPOS BTD 800"
        device.plugged.usec = "2794502964"
        device.product.id = "0x0382"
        device.product.name = "EPOS BTD 800"
        device.serial = "EPOS_EPOS_BTD_800_A000870205107583"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/sound/card3"
        device.vendor.id = "0x1395"
        device.vendor.name = "DSEA A/S"
        device.string = "3"
    Ports :
        analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
    Port actif : analog-output
    Formats :
        pcm

Source #62
    État : RUNNING
    Nom : alsa_input.usb-046d_0809_78AC8FE2-02.mono-fallback
    Description : Webcam Pro 9000 Mono
    Pilote : PipeWire
    Spécification de l’échantillon : s16le 1ch 48000Hz
    Plan des canaux : mono
    Module du propriétaire : 4294967295
    Sourdine : non
    Volume : mono: 65536 / 100% / 0,00 dB
            balance 0,00
    Volume de base : 19944 /  30% / -31,00 dB
    Moniteur de la destination : n/d
    Latence : 0 usec, configuré 0 usec
    Marqueurs : HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    Propriétés :
        alsa.card = "1"
        alsa.card_name = "USB Device 0x46d:0x809"
        alsa.class = "generic"
        alsa.components = "USB046d:0809"
        alsa.device = "0"
        alsa.driver_name = "snd_usb_audio"
        alsa.id = "U0x46d0x809"
        alsa.long_card_name = "USB Device 0x46d:0x809 at usb-0000:00:14.0-5, high speed"
        alsa.mixer_name = "USB Mixer"
        alsa.name = "USB Audio"
        alsa.resolution_bits = "16"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "USB Device 0x46d:0x809 at usb-0000:00:14.0-5, high speed"
        api.alsa.card.name = "USB Device 0x46d:0x809"
        api.alsa.path = "hw:1"
        api.alsa.pcm.card = "1"
        api.alsa.pcm.stream = "capture"
        audio.channels = "1"
        audio.position = "MONO"
        card.profile.device = "1"
        device.api = "alsa"
        device.class = "sound"
        device.id = "49"
        device.profile.description = "Mono"
        device.profile.name = "mono-fallback"
        device.routes = "1"
        factory.name = "api.alsa.pcm.source"
        media.class = "Audio/Source"
        device.description = "Webcam Pro 9000"
        node.name = "alsa_input.usb-046d_0809_78AC8FE2-02.mono-fallback"
        node.nick = "USB Device 0x46d 0x809"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:1:hw:1:capture"
        priority.driver = "2000"
        priority.session = "2000"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "35"
        node.driver = "true"
        factory.mode = "split"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "62"
        object.serial = "62"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "512"
        api.alsa.period-num = "64"
        api.alsa.headroom = "512"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "1"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio1"
        device.bus = "usb"
        device.bus-id = "usb-046d_0809_78AC8FE2-02"
        device.bus_path = "pci-0000:00:14.0-usb-0:5:1.2"
        device.enum.api = "udev"
        device.form_factor = "webcam"
        device.icon_name = "camera-web-analog-usb"
        device.name = "alsa_card.usb-046d_0809_78AC8FE2-02"
        device.nick = "USB Device 0x46d:0x809"
        device.plugged.usec = "7635131"
        device.product.id = "0x0809"
        device.product.name = "Webcam Pro 9000"
        device.serial = "046d_0809_78AC8FE2"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/sound/card1"
        device.vendor.id = "0x046d"
        device.vendor.name = "Logitech, Inc."
        device.string = "1"
    Ports :
        analog-input-mic: Microphone (type: Mic, priority: 8700, availability unknown)
    Port actif : analog-input-mic
    Formats :
        pcm

Source #126
    État : IDLE
    Nom : alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
    Description : Monitor of HDA NVidia Digital Stereo (HDMI)
    Pilote : PipeWire
    Spécification de l’échantillon : s32le 2ch 48000Hz
    Plan des canaux : front-left,front-right
    Module du propriétaire : 4294967295
    Sourdine : non
    Volume : front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
            balance 0,00
    Volume de base : 65536 / 100% / 0,00 dB
    Moniteur de la destination : alsa_output.pci-0000_01_00.1.hdmi-stereo
    Latence : 0 usec, configuré 0 usec
    Marqueurs : HARDWARE DECIBEL_VOLUME LATENCY 
    Propriétés :
        alsa.card = "0"
        alsa.card_name = "HDA NVidia"
        alsa.class = "generic"
        alsa.components = "HDA:10de0094,14628d92,00100100"
        alsa.device = "3"
        alsa.driver_name = "snd_hda_intel"
        alsa.id = "NVidia"
        alsa.long_card_name = "HDA NVidia at 0xef080000 irq 17"
        alsa.mixer_name = "Nvidia GPU 94 HDMI/DP"
        alsa.name = "DELL U2718Q"
        alsa.resolution_bits = "16"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "HDA NVidia at 0xef080000 irq 17"
        api.alsa.card.name = "HDA NVidia"
        api.alsa.path = "hdmi:0"
        api.alsa.pcm.card = "0"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "FL,FR"
        card.profile.device = "4"
        device.api = "alsa"
        device.class = "monitor"
        device.id = "48"
        device.profile.description = "Digital Stereo (HDMI)"
        device.profile.name = "hdmi-stereo"
        device.routes = "1"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "HDA NVidia"
        node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo"
        node.nick = "DELL U2718Q"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:0:hdmi:0:playback"
        priority.driver = "696"
        priority.session = "696"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "35"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "79"
        object.serial = "126"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "1024"
        api.alsa.period-num = "32"
        api.alsa.headroom = "0"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "0"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio0"
        device.bus = "pci"
        device.bus_path = "pci-0000:01:00.1"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_01_00.1"
        device.nick = "HDA NVidia"
        device.plugged.usec = "7069916"
        device.product.id = "0x10fa"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0"
        device.vendor.id = "0x10de"
        device.vendor.name = "NVIDIA Corporation"
        device.string = "0"
    Ports :
        hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 1, available)
    Port actif : hdmi-output-0
    Formats :
        pcm

Source #146
    État : RUNNING
    Nom : alsa_output.usb-EPOS_EPOS_BTD_800_A000870205107583-00.analog-stereo.monitor
    Description : Monitor of EPOS BTD 800 Analog Stereo
    Pilote : PipeWire
    Spécification de l’échantillon : s16le 2ch 48000Hz
    Plan des canaux : front-left,front-right
    Module du propriétaire : 4294967295
    Sourdine : non
    Volume : front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
            balance 0,00
    Volume de base : 65536 / 100% / 0,00 dB
    Moniteur de la destination : alsa_output.usb-EPOS_EPOS_BTD_800_A000870205107583-00.analog-stereo
    Latence : 0 usec, configuré 0 usec
    Marqueurs : HARDWARE DECIBEL_VOLUME LATENCY 
    Propriétés :
        alsa.card = "3"
        alsa.card_name = "EPOS BTD 800"
        alsa.class = "generic"
        alsa.components = "USB1395:0382"
        alsa.device = "0"
        alsa.driver_name = "snd_usb_audio"
        alsa.id = "E800"
        alsa.long_card_name = "EPOS EPOS BTD 800 at usb-0000:00:14.0-2, full speed"
        alsa.mixer_name = "USB Mixer"
        alsa.name = "USB Audio"
        alsa.resolution_bits = "16"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "EPOS EPOS BTD 800 at usb-0000:00:14.0-2, full speed"
        api.alsa.card.name = "EPOS BTD 800"
        api.alsa.path = "front:3"
        api.alsa.pcm.card = "3"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "FL,FR"
        card.profile.device = "3"
        device.api = "alsa"
        device.class = "monitor"
        device.id = "84"
        device.profile.description = "Analog Stereo"
        device.profile.name = "analog-stereo"
        device.routes = "1"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "EPOS BTD 800"
        node.name = "alsa_output.usb-EPOS_EPOS_BTD_800_A000870205107583-00.analog-stereo"
        node.nick = "EPOS BTD 800"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:3:front:3:playback"
        priority.driver = "1009"
        priority.session = "1009"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "35"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "86"
        object.serial = "146"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "256"
        api.alsa.period-num = "128"
        api.alsa.headroom = "256"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "3"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio3"
        device.bus = "usb"
        device.bus-id = "usb-EPOS_EPOS_BTD_800_A000870205107583-00"
        device.bus_path = "pci-0000:00:14.0-usb-0:2:1.0"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-usb"
        device.name = "alsa_card.usb-EPOS_EPOS_BTD_800_A000870205107583-00"
        device.nick = "EPOS BTD 800"
        device.plugged.usec = "2794502964"
        device.product.id = "0x0382"
        device.product.name = "EPOS BTD 800"
        device.serial = "EPOS_EPOS_BTD_800_A000870205107583"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/sound/card3"
        device.vendor.id = "0x1395"
        device.vendor.name = "DSEA A/S"
        device.string = "3"
    Ports :
        analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
    Port actif : analog-output
    Formats :
        pcm

Source #147
    État : RUNNING
    Nom : alsa_input.usb-EPOS_EPOS_BTD_800_A000870205107583-00.mono-fallback
    Description : EPOS BTD 800 Mono
    Pilote : PipeWire
    Spécification de l’échantillon : s16le 1ch 16000Hz
    Plan des canaux : mono
    Module du propriétaire : 4294967295
    Sourdine : non
    Volume : mono: 65536 / 100% / 0,00 dB
            balance 0,00
    Volume de base : 65536 / 100% / 0,00 dB
    Moniteur de la destination : n/d
    Latence : 0 usec, configuré 0 usec
    Marqueurs : HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    Propriétés :
        alsa.card = "3"
        alsa.card_name = "EPOS BTD 800"
        alsa.class = "generic"
        alsa.components = "USB1395:0382"
        alsa.device = "0"
        alsa.driver_name = "snd_usb_audio"
        alsa.id = "E800"
        alsa.long_card_name = "EPOS EPOS BTD 800 at usb-0000:00:14.0-2, full speed"
        alsa.mixer_name = "USB Mixer"
        alsa.name = "USB Audio"
        alsa.resolution_bits = "16"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "EPOS EPOS BTD 800 at usb-0000:00:14.0-2, full speed"
        api.alsa.card.name = "EPOS BTD 800"
        api.alsa.path = "hw:3"
        api.alsa.pcm.card = "3"
        api.alsa.pcm.stream = "capture"
        audio.channels = "1"
        audio.position = "MONO"
        card.profile.device = "2"
        device.api = "alsa"
        device.class = "sound"
        device.id = "84"
        device.profile.description = "Mono"
        device.profile.name = "mono-fallback"
        device.routes = "1"
        factory.name = "api.alsa.pcm.source"
        media.class = "Audio/Source"
        device.description = "EPOS BTD 800"
        node.name = "alsa_input.usb-EPOS_EPOS_BTD_800_A000870205107583-00.mono-fallback"
        node.nick = "EPOS BTD 800"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:3:hw:3:capture"
        priority.driver = "2000"
        priority.session = "2000"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "35"
        node.driver = "true"
        factory.mode = "split"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "88"
        object.serial = "147"
        node.max-latency = "16000/16000"
        api.alsa.period-size = "256"
        api.alsa.period-num = "125"
        api.alsa.headroom = "256"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "3"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio3"
        device.bus = "usb"
        device.bus-id = "usb-EPOS_EPOS_BTD_800_A000870205107583-00"
        device.bus_path = "pci-0000:00:14.0-usb-0:2:1.0"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-usb"
        device.name = "alsa_card.usb-EPOS_EPOS_BTD_800_A000870205107583-00"
        device.nick = "EPOS BTD 800"
        device.plugged.usec = "2794502964"
        device.product.id = "0x0382"
        device.product.name = "EPOS BTD 800"
        device.serial = "EPOS_EPOS_BTD_800_A000870205107583"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/sound/card3"
        device.vendor.id = "0x1395"
        device.vendor.name = "DSEA A/S"
        device.string = "3"
    Ports :
        analog-input-headset-mic: Headset Microphone (type: Casque, priority: 8800, availability unknown)
    Port actif : analog-input-headset-mic
    Formats :
        pcm
kubuntu
  • 1 个回答
  • 32 Views
Martin Hope
benanderson89
Asked: 2024-09-16 03:43:54 +0800 CST

无法选择 USB 音频设备,但该设备出现在 USB-DEVICES 中

  • 5

该设备是 Maono Maonocaster C2 Neo。Ubuntu 24.04。

当通过 JACK 服务器路由时,我可以使用 Audacity 选择输入和输出的设备,但不能将其用于一般系统音频。

这是它在与 USB 设备一起列出时显示的样子。

D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1235 ProdID=0003 Rev=01.00
S:  Manufacturer=Maono
S:  Product=Maonocaster C2 Neo
S:  SerialNumber=P0RC05
C:  #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
I:  If#= 4 Alt= 0 #EPs= 0 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)

有没有办法强制 Pulse“看到”该设备并让我选择为系统输入/输出?

sound
  • 1 个回答
  • 24 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