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

raphael75's questions

Martin Hope
raphael75
Asked: 2024-10-16 01:17:44 +0800 CST

使用非拉丁字符重命名文件

  • 7

我有 Kubuntu 22.04。*buntu 中是否有程序、脚本等可以将文件夹中所有包含非拉丁字符的文件重命名为拉丁字符?例如,我有一个文件夹,其中包含以下名称的文件:

Andúril
Dúnedain
Éomer

我需要将它们重命名为:

Anduril
Dunedain
Eomer
command-line
  • 2 个回答
  • 423 Views
Martin Hope
raphael75
Asked: 2024-09-21 23:26:49 +0800 CST

无法在 Kubuntu 22.04 上启动 Libreoffice

  • 5

我安装了 Libreoffice 24.2,它是从 libreoffice 网站上的 .deb 包安装的。我收到通知说有新版本可用,所以我下载并安装了 24.8 版本。然后我注意到,它并没有像以前每次升级时那样用 24.8 覆盖 24.2,而是分别安装它们。每当我打开文档时,它仍然使用旧版本。

然后我通过 apt 在命令行上卸载了 24.2,之后当我尝试启动 24.8 时,我无法启动任何 libreoffice 程序。当我输入:

libreoffice --writer

我收到此错误:

libreoffice 错误

我尝试从此处提供的 debs 卸载并重新安装:

https://www.libreoffice.org/donate/dl/deb-x86_64/24.8.1/en-US/LibreOffice_24.8.1_Linux_x86-64_deb.tar.gz

解压缩文件并输入:

sudo dpkg -i *.deb

但我仍然收到该错误。我该如何修复它?

libreoffice
  • 2 个回答
  • 24 Views
Martin Hope
raphael75
Asked: 2024-02-13 02:29:08 +0800 CST

kate 错误:无法创建 KIO 工作线程。找不到协议“sftp”的 KIO 工作人员

  • 5

我有 Ubuntu 20.04 和 kate 23.08.4。多年来,我一直使用 dolphin 通过 sftp 在 kate 中打开文件,使用类似以下内容:

sftp://user.name@server/path/to/file.txt

在海豚中。但是,当我现在尝试打开这些文件时,我刚刚开始在凯特中收到这些错误:

Unable to create KIO worker. Can not find a KIO worker for protocol "tags".
Unable to create KIO worker. Can not find a KIO worker for protocol "sftp".

我不确定发生了什么变化。也许有什么东西被卸载了?这是我当前安装的 kio 东西:

$ sudo apt list --installed | grep kio

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

kio-audiocd/focal,now 4:19.12.3-0ubuntu1 amd64 [installed,automatic]
kio-extras-data/focal,focal,now 4:19.12.3a-0ubuntu2 all [installed,automatic]
kio-extras/focal,now 4:19.12.3a-0ubuntu2 amd64 [installed,automatic]
kio-ldap/focal,now 19.12.3-0ubuntu1 amd64 [installed,automatic]
kio-sieve/focal,now 4:19.12.3-0ubuntu1 amd64 [installed,automatic]
kio/focal,now 5.68.0-0ubuntu1 amd64 [installed,automatic]
libkf5kiocore5/focal,now 5.68.0-0ubuntu1 amd64 [installed,automatic]
libkf5kiofilewidgets5/focal,now 5.68.0-0ubuntu1 amd64 [installed,automatic]
libkf5kiogui5/focal,now 5.68.0-0ubuntu1 amd64 [installed,automatic]
libkf5kiontlm5/focal,now 5.68.0-0ubuntu1 amd64 [installed,automatic]
libkf5kiowidgets5/focal,now 5.68.0-0ubuntu1 amd64 [installed,automatic]
qml-module-org-kde-kio/focal,now 5.68.0-0ubuntu2 amd64 [installed,automatic]

是不是少了什么?

更新 我发现我安装了 2 个 Kate 实例,一个通过 apt 安装,一个通过 snap 安装。快照文件显然是当我尝试从海豚打开这些文件时打开的文件。我卸载了 snap 版本并重新安装了 apt 版本以确保我拥有最新版本,然后错误就消失了。

snap 版本和 sftp 是否存在已知错误,或者 snap 版本是否可能未正确配置某些内容,或者这两个版本可能以某种方式相互冲突?

20.04
  • 1 个回答
  • 322 Views
Martin Hope
raphael75
Asked: 2024-02-01 04:02:48 +0800 CST

可以降级 pgadmin4 吗?

  • 5

我们有 postgres 9.5。我的计算机(Ubuntu 20.04)有 pgadmin4 8.2,但是当它连接到 9.5 服务器时,我收到此错误:

column "wait_event_type" does not exist Line 10: wait_event_type || ': ' || wait event AS wait_event, ^

我在网上搜索并发现 postgres 9.6 中进行了更改,导致较新版本的 pgadmin4 中出现此错误。

当我尝试降级到旧版本的 pgadmin4 时,出现此错误:

$ sudo apt-get install pgadmin4=6.21
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pgadmin4 : Depends: pgadmin4-server (= 6.21) but 8.2 is to be installed
            Depends: pgadmin4-desktop (= 6.21) but 8.2 is to be installed
            Depends: pgadmin4-web (= 6.21) but 8.2 is to be installed
E: Unable to correct problems, you have held broken packages.

有什么方法可以降级 pgadmin4,或者在当前版本旁边安装旧版本吗?

我访问了 pgadmin 网站,但找不到任何有关旧版本的信息。

apt
  • 1 个回答
  • 35 Views
Martin Hope
raphael75
Asked: 2023-12-15 00:47:30 +0800 CST

无法清除旧内核

  • 6

我有ubuntu 20.04。我一直遇到 /boot 文件夹空间不足的问题。

$ sudo apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

linux-image-5.11.0-38-generic/focal-updates,focal-security,now 5.11.0-38.42~20.04.1 amd64 [installed]
linux-image-5.11.0-40-generic/focal-updates,focal-security,now 5.11.0-40.44~20.04.2 amd64 [installed,automatic]
linux-image-5.11.0-41-generic/focal-updates,focal-security,now 5.11.0-41.45~20.04.1 amd64 [installed,automatic]
linux-image-5.11.0-43-generic/focal-updates,focal-security,now 5.11.0-43.47~20.04.2 amd64 [installed,automatic]
linux-image-5.11.0-44-generic/focal-updates,focal-security,now 5.11.0-44.48~20.04.2 amd64 [installed,automatic]
linux-image-5.11.0-46-generic/focal-updates,focal-security,now 5.11.0-46.51~20.04.1 amd64 [installed]
linux-image-5.13.0-25-generic/focal-updates,focal-security,now 5.13.0-25.26~20.04.1 amd64 [installed]
linux-image-5.13.0-27-generic/focal-updates,focal-security,now 5.13.0-27.29~20.04.1 amd64 [installed]
linux-image-5.13.0-28-generic/focal-updates,focal-security,now 5.13.0-28.31~20.04.1 amd64 [installed]
linux-image-5.13.0-30-generic/focal-updates,focal-security,now 5.13.0-30.33~20.04.1 amd64 [installed]
linux-image-5.13.0-35-generic/focal-updates,focal-security,now 5.13.0-35.40~20.04.1 amd64 [installed,automatic]
linux-image-5.13.0-37-generic/focal-updates,focal-security,now 5.13.0-37.42~20.04.1 amd64 [installed,automatic]
linux-image-5.13.0-48-generic/focal-updates,focal-security,now 5.13.0-48.54~20.04.1 amd64 [installed,automatic]
linux-image-5.13.0-51-generic/focal-updates,focal-security,now 5.13.0-51.58~20.04.1 amd64 [installed]
linux-image-5.13.0-52-generic/focal-updates,focal-security,now 5.13.0-52.59~20.04.1 amd64 [installed]
linux-image-5.15.0-41-generic/focal-updates,focal-security,now 5.15.0-41.44~20.04.1 amd64 [installed]
linux-image-5.15.0-43-generic/focal-updates,focal-security,now 5.15.0-43.46~20.04.1 amd64 [installed]
linux-image-5.15.0-46-generic/focal-updates,focal-security,now 5.15.0-46.49~20.04.1 amd64 [installed]
linux-image-5.15.0-48-generic/focal-updates,focal-security,now 5.15.0-48.54~20.04.1 amd64 [installed]
linux-image-5.15.0-50-generic/focal-updates,focal-security,now 5.15.0-50.56~20.04.1 amd64 [installed]
linux-image-5.15.0-52-generic/focal-updates,focal-security,now 5.15.0-52.58~20.04.1 amd64 [installed]
linux-image-5.15.0-53-generic/focal-updates,focal-security,now 5.15.0-53.59~20.04.1 amd64 [installed]
linux-image-5.15.0-56-generic/focal-updates,focal-security,now 5.15.0-56.62~20.04.1 amd64 [installed]
linux-image-5.15.0-57-generic/focal-updates,focal-security,now 5.15.0-57.63~20.04.1 amd64 [installed]
linux-image-5.15.0-58-generic/focal-updates,focal-security,now 5.15.0-58.64~20.04.1 amd64 [installed]
linux-image-5.15.0-67-generic/focal-updates,focal-security,now 5.15.0-67.74~20.04.1 amd64 [installed]
linux-image-5.15.0-69-generic/focal-updates,focal-security,now 5.15.0-69.76~20.04.1 amd64 [installed]
linux-image-5.15.0-71-generic/focal-updates,focal-security,now 5.15.0-71.78~20.04.1 amd64 [installed]
linux-image-5.15.0-79-generic/focal-updates,focal-security,now 5.15.0-79.86~20.04.2 amd64 [installed]
linux-image-5.15.0-82-generic/focal-updates,focal-security,now 5.15.0-82.91~20.04.1 amd64 [installed]
linux-image-5.15.0-84-generic/focal-updates,focal-security,now 5.15.0-84.93~20.04.1 amd64 [installed]
linux-image-5.15.0-87-generic/focal-updates,focal-security,now 5.15.0-87.97~20.04.1 amd64 [installed]
linux-image-5.15.0-88-generic/focal-updates,focal-security,now 5.15.0-88.98~20.04.1 amd64 [installed]
linux-image-5.15.0-91-generic/focal-updates,focal-security,now 5.15.0-91.101~20.04.1 amd64 [installed]
linux-image-5.8.0-59-generic/focal-updates,focal-security,now 5.8.0-59.66~20.04.1 amd64 [installed]
linux-image-5.8.0-63-generic/focal-updates,focal-security,now 5.8.0-63.71~20.04.1 amd64 [installed]
linux-image-generic-hwe-20.04/focal-updates,focal-security,now 5.15.0.91.101~20.04.48 amd64 [installed,automatic]
linux-image-unsigned-5.11.0-27-generic/focal-updates,focal-security,now 5.11.0-27.29~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.11.0-34-generic/focal-updates,focal-security,now 5.11.0-34.36~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.11.0-36-generic/focal-updates,focal-security,now 5.11.0-36.40~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.11.0-37-generic/focal-updates,focal-security,now 5.11.0-37.41~20.04.2 amd64 [installed,automatic]
linux-image-unsigned-5.13.0-39-generic/focal-updates,focal-security,now 5.13.0-39.44~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.13.0-40-generic/focal-updates,focal-security,now 5.13.0-40.45~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.13.0-41-generic/focal-updates,focal-security,now 5.13.0-41.46~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.13.0-44-generic/focal-updates,focal-security,now 5.13.0-44.49~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.15.0-70-generic/focal-updates,focal-security,now 5.15.0-70.77~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.15.0-72-generic/focal-updates,focal-security,now 5.15.0-72.79~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.15.0-73-generic/focal-updates,focal-security,now 5.15.0-73.80~20.04.1 amd64 [installed,automatic]
linux-image-unsigned-5.15.0-86-generic/focal-updates,focal-security,now 5.15.0-86.96~20.04.1 amd64 [installed,automatic]

/boot 文件夹内容:

$ ls -l /boot
total 342408
-rw-r--r-- 1 root root    262258 Aug 18 10:34 config-5.15.0-82-generic
-rw-r--r-- 1 root root    262265 Nov 16 08:58 config-5.15.0-91-generic
drwx------ 3 root root      4096 Dec 31  1969 efi
drwxr-xr-x 4 root root      4096 Dec 14 11:32 grub
-rw-r--r-- 1 root root 129102715 Sep 19 07:56 initrd.img-5.15.0-82-generic
-rw-r--r-- 1 root root  55717600 Dec 14 11:30 initrd.img-5.15.0-86-generic
-rw-r--r-- 1 root root 129129902 Dec 14 10:45 initrd.img-5.15.0-91-generic
lrwxrwxrwx 1 root root        28 Dec 14 11:30 initrd.img.old -> initrd.img-5.15.0-91-generic
drwx------ 2 root root     16384 Jun  9  2021 lost+found
-rw-r--r-- 1 root root    182704 Aug 18  2020 memtest86+.bin
-rw-r--r-- 1 root root    184380 Aug 18  2020 memtest86+.elf
-rw-r--r-- 1 root root    184884 Aug 18  2020 memtest86+_multiboot.bin
-rw------- 1 root root   6240491 Aug 18 10:34 System.map-5.15.0-82-generic
-rw------- 1 root root   6242483 Nov 16 08:58 System.map-5.15.0-91-generic
lrwxrwxrwx 1 root root        25 Dec 14 11:30 vmlinuz -> vmlinuz-5.11.0-25-generic
-rw------- 1 root root  11522568 Aug 18 12:03 vmlinuz-5.15.0-82-generic
-rw------- 1 root root  11517416 Nov 16 09:01 vmlinuz-5.15.0-91-generic
lrwxrwxrwx 1 root root        25 Dec 14 11:30 vmlinuz.old -> vmlinuz-5.15.0-91-generic

如果我运行:

sudo apt remove --purge linux-image-unsigned-5.11.0-25-generic

我得到:

$ sudo apt remove --purge linux-image-unsigned-5.11.0-25-generic
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:
 linux-modules-5.11.0-25-generic : Depends: linux-image-5.11.0-25-generic but it is not going to be installed or
                                            linux-image-unsigned-5.11.0-25-generic but it is not going to be installed
 linux-modules-extra-5.11.0-25-generic : Depends: linux-image-5.11.0-25-generic but it is not going to be installed or
                                                  linux-image-unsigned-5.11.0-25-generic but it is not going to be installed
 linux-signatures-nvidia-5.11.0-25-generic : Depends: linux-image-5.11.0-25-generic but it is not going to be installed or
                                                      linux-image-unsigned-5.11.0-25-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

如果我然后运行命令,它会建议:

$ sudo apt --fix-broken install

它显示(移动到pastebin以释放字符):

https://pastebin.com/FmpseWKi

/boot分区大小

$ df -h | grep boot
/dev/nvme0n1p2             704M  343M  310M  53% /boot
/dev/nvme0n1p1             511M   87M  425M  17% /boot/efi

我不知道如何清除这些旧内核以及如何防止 /boot 文件夹被填满。

更新 我尝试按照 user68186 的建议使用 Synaptic(也在发布的链接中建议)。当我尝试仅卸载linux-image-5.13.0-25-generic 时,它还想安装linux-image-unsigned-5.13.0-25-generic。我在这里读到删除 linux-image 内核会导致安装 linux-image-unsigned 软件包 ,这是因为我还需要删除相应的模块包。我选择了linux-modules-extra-5.13.0-25-generic和linux-image-5.13.0-25-generic,这就是我得到的:

(Reading database ... 2036888 files and directories currently installed.)
Removing linux-signatures-nvidia-5.13.0-25-generic (5.13.0-25.26~20.04.1+1) ...
Removing linux-modules-extra-5.13.0-25-generic (5.13.0-25.26~20.04.1) ...
Removing linux-modules-5.13.0-25-generic (5.13.0-25.26~20.04.1) ...
Removing linux-image-5.13.0-25-generic (5.13.0-25.26~20.04.1) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-82-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-82-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.15.0-91-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.15.0-91-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.13.0-25-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Found linux image: /boot/vmlinuz-5.15.0-82-generic
Found initrd image: /boot/initrd.img-5.15.0-82-generic
Adding boot menu entry for UEFI Firmware Settings
done
Setting up linux-image-unsigned-5.11.0-36-generic (5.11.0-36.40~20.04.1) ...
Setting up linux-image-5.13.0-48-generic (5.13.0-48.54~20.04.1) ...
Setting up linux-image-unsigned-5.15.0-73-generic (5.15.0-73.80~20.04.1) ...
Setting up linux-image-unsigned-5.13.0-39-generic (5.13.0-39.44~20.04.1) ...
(Reading database ... 2029733 files and directories currently installed.)
Purging configuration files for linux-modules-5.13.0-25-generic (5.13.0-25.26~20.04.1) ...
Processing triggers for linux-image-5.13.0-48-generic (5.13.0-48.54~20.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.13.0-48-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.13.0-48-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Found linux image: /boot/vmlinuz-5.15.0-82-generic
Found initrd image: /boot/initrd.img-5.15.0-82-generic
Adding boot menu entry for UEFI Firmware Settings
done
Processing triggers for linux-image-unsigned-5.15.0-73-generic (5.15.0-73.80~20.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.15.0-73-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-73-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Found linux image: /boot/vmlinuz-5.15.0-82-generic
Found initrd image: /boot/initrd.img-5.15.0-82-generic
Adding boot menu entry for UEFI Firmware Settings
done
Processing triggers for linux-image-unsigned-5.13.0-39-generic (5.13.0-39.44~20.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.13.0-39-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.13.0-39-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Found linux image: /boot/vmlinuz-5.15.0-82-generic
Found initrd image: /boot/initrd.img-5.15.0-82-generic
Adding boot menu entry for UEFI Firmware Settings
done
Processing triggers for linux-image-unsigned-5.11.0-36-generic (5.11.0-36.40~20.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.11.0-36-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.11.0-36-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block 
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.11.0-36-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-unsigned-5.11.0-36-generic (--configure):
 installed linux-image-unsigned-5.11.0-36-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-unsigned-5.11.0-36-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-unsigned-5.11.0-36-generic (5.11.0-36.40~20.04.1) ...
Processing triggers for linux-image-unsigned-5.11.0-36-generic (5.11.0-36.40~20.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.11.0-36-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.11.0-36-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block 
cpio: write error: Broken pipe
sort: write failed: 'standard output': Broken pipe
sort: write error
E: mkinitramfs failure cpio 2 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.11.0-36-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-unsigned-5.11.0-36-generic (--configure):
 installed linux-image-unsigned-5.11.0-36-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-unsigned-5.11.0-36-generic

您对在这里做什么有什么建议吗?

更新2

我跑了

sudo apt autopurge 

并得到了这个(不幸的是,它不允许我向这个问题添加更多文本,所以我不得不将其放入pastebin中):

https://pastebin.com/wb00JM5y

更新3

我终于能够使用 Synaptic 删除旧内核。由于某种原因,5.11.0-36 和 5.11.0-25 出现了问题。就像我必须先删除 36 个,然后它让我删除 25 个。但是在删除这些之后,我可以毫无错误地删除所有其他内容。

package-management
  • 3 个回答
  • 124 Views
Martin Hope
raphael75
Asked: 2022-07-04 19:10:51 +0800 CST

Ubuntu 22.04 displayport 切入切出

  • 0

我有 Ubuntu 22.04 和 NVIDIA Corporation GA102 GeForce RTX 3080 显卡。显卡有 3 个 Displayport 输出和 1 个 HDMI。我有一个插入 HDMI 的华硕 VE278 显示器,它工作正常。HDMI 插入一根 HDMI 线从计算机连接到 KVM,另一根 HDMI 线从 KVM 连接到 ASUS VE278。

我还有一个插入了 Displayport 的 ASUS VE276。它有一条 Displayport 电缆直接从计算机连接到 VE276。

计算机启动时,两个屏幕都显示 POST、Ubuntu 加载徽标、登录屏幕等。

但是,当它最终加载到 KDE 中时,Displayport 显示器变黑并且我在屏幕上看到“DisplayPort 无信号”。

我正在使用 Nvidia 视频驱动程序:

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 12GB] (rev a1)

当前发现的监视器:

xrandr --listmonitors
Monitors: 1
 0: +*HDMI-0 1920/598x1080/336+0+0  HDMI-0

更多信息:

lspci -k | grep -EA3 'VGA|3D|Display'
01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 12GB] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 389b
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

为什么它会在一切都在启动时看到 DisplayPort 监视器,然后在 KDE 最终加载时却找不到它?

graphics
  • 1 个回答
  • 76 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