我尝试做apt-cache search skype
但它向我展示了结果:
libopuso - opus codec runtime library
那么这意味着什么呢?
我尝试做apt-cache search skype
但它向我展示了结果:
libopuso - opus codec runtime library
那么这意味着什么呢?
全新安装 Ubuntu 后,我遇到了这个错误:
Sub-process /usr/bin/dpkg returned an error code (1)
完整日志:
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
正如我所看到的,这个包是罪魁祸首:
shim-signed
。
但它也是一个系统包,所以我无法清除它,没有缓存的安装文件,并且sudo apt-get install --fix-broken
导致与以前相同的日志。
有人可以解释一下这/usr/lib/grub/grub-multi-install
是什么以及如何解决它吗?
PS:运行一台 2017 年左右的 HP 办公笔记本电脑,由于某些奇怪的原因,该笔记本电脑仍然具有 BIOS。可能与 grub 有关。
我的机器上安装了 22.04.2 版本的 Jammy Jellyfish。当我尝试进行更新和升级时,出现以下错误。你们中有没有人知道可能导致这种情况的原因并建议如何解决?非常感谢
Processing triggers for linux-image-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-38-generic
I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/vgxubuntu-swap_1)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 36: /etc/default/grub: bash:: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.19.0-38-generic (--configure):
installed linux-image-5.19.0-38-generic package post-installation script subpro
cess returned error exit status 1
Errors were encountered while processing:
linux-image-5.19.0-38-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
cat /etc/default/grub
这是Baa 建议的命令输出:
hetrengzy@hefto-Ubuntu:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=45
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
bash: line 1: J: command not found
你能建议如何处理这个吗?非常感谢
运行新别名:
newaliases: fatal: myorigin parameter setting must not contain multiple values: nduduzo-Inspiron-5559 [email protected]
dpkg: error processing package postfix (--configure):
installed postfix package post-installation script subprocess returned error exit status 75
Setting up python3-pyrsistent:amd64 (0.15.5-1build1) ...
Setting up python3-websocket (0.53.0-2ubuntu1) ...
update-alternatives: using /usr/bin/python3-wsdump to provide /usr/bin/wsdump (wsdump) in auto mode
Setting up python3-dockerpty (0.4.1-2) ...
Setting up python3-importlib-metadata (1.5.0-1) ...
Setting up python3-docker (4.1.0-1) ...
Setting up python3-jsonschema (3.2.0-0ubuntu2) ...
Setting up docker-compose (1.25.0-1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
我试图设置邮件,但我认为它不会导致这样的错误。
现在我想知道如何清除和修复它。
我最近在使用 Ubuntu 时遇到了麻烦。每当我尝试sudo apt get
某事(在本例中为 python 3)时,我都会收到错误消息:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
所以我输入命令,经过漫长的过程后,我收到了这条消息:
Configuring Secure Boot ├────────────────────────┐
│ │
│ Your system has UEFI Secure Boot enabled.
│
│ UEFI Secure Boot requires additional configuration to work with
│ third-party drivers.
│
│ The system will assist you in configuring UEFI Secure Boot. To permit
│ the use of third-party drivers, a new Machine-Owner Key (MOK) has been
│ generated. This key now needs to be enrolled in your system's firmware.
│
│ To ensure that this change is being made by you as an authorized user,
│ and not by an attacker, you must choose a password now and then confirm
│ the change after reboot using the same password, in both the "Enroll
│ MOK" and "Change Secure Boot state" menus that will be presented to you
│ when this system reboots.
If you proceed but do not confirm the password upon reboot, Ubuntu will
│ still be able to boot on your system but any hardware that requires
│ third-party drivers to work correctly may not be usable.
│
│ <Ok>
老实说,我很难克服这一点。我需要关于我能做什么的帮助。
当我which grep
在 Ubuntu Focal 上运行时,我得到/usr/bin/grep
. 但是,apt-file search /usr/bin/grep
没有显示提供它的包裹。此外,dpkg-query -L grep
仅显示/bin/grep
(在其他相关的可执行文件中)。那么,什么包裹交付/usr/bin/grep
?
尝试安装 displaycal gui 时出现以下错误
dpkg: dependency problems prevent configuration of displaycal:
displaycal depends on python (<< 2.8); however:
Package python is not installed.
displaycal depends on python (>= 2.7~); however:
Package python is not installed.
displaycal depends on python:any (<< 2.8).
displaycal depends on python:any (>= 2.7~).
displaycal depends on python-wxgtk3.0 (>= 3.0) | python-wxgtk2.8 (>= 2.8.11); however:
Package python-wxgtk3.0 is not installed.
Package python-wxgtk2.8 is not installed.
displaycal depends on python-numpy (>= 1.0); however:
Package python-numpy is not installed.
displaycal depends on python-psutil; however:
Package python-psutil is not installed.
displaycal depends on python-gi; however:
Package python-gi is not installed.
displaycal depends on libsdl2-mixer-2.0-0; however:
Package libsdl2-mixer-2.0-0 is not installed.
Python 已安装并位于:/usr/bin/python Python 版本为 Python 3.9.4
它说它可以是错误所说的 2 或超过 2.8。英特尔 macbook pro 上的 Ubuntu 21.04
sudo apt-get install -f
上面的命令没有修复。我认为 Anaconda 可能是导致问题的原因,因为它位于不同的路径,所以我卸载了它,但它没有修复它
程序来源:https ://displaycal.net/ ,他们有一个19.04版本,但之后就没有了
谢谢
在运行 Ubuntu 20.04 LTS 的服务器上,我尝试使用以下命令列出已安装的内核:
dpkg-query -W -f '${Package}\n' 'linux-image-[0-9]*'
根据手册页应该列出与模式匹配的已安装包。然而,该命令的输出包括已被删除的内核版本。如何将输出限制为仍安装的内核?
我想自己建造它的原因是什么?那是因为商店里的那个不能与 youtube 链接一起使用。我也想要最新的MPV播放器。
我想知道的是如何构建和安装 MPV 播放器?谷歌上的第一个答案给了我一条错误消息。我在 Ubuntu 20.10 上运行。错误消息如下所示:
dpkg-buildpackage: error: cannot open file debian/changelog: No such file or directory
那么,考虑到我还是 linux 新手,我该怎么办?