例如,在交互模式下使用工具“needrestart”时,系统更新后会创建一个选项对话框。但我不明白如何选择或取消选择选项。我似乎甚至找不到这个弹出窗口的术语,更不用说描述如何使用它的文章了。
作为参考,我也在谈论这里显示的对话框:apt-get upgrade auto restart services
e:使用 tuxedoOS,因此 ubuntu 23 LTS + kde 滚动(如果我没记错的话)
例如,在交互模式下使用工具“needrestart”时,系统更新后会创建一个选项对话框。但我不明白如何选择或取消选择选项。我似乎甚至找不到这个弹出窗口的术语,更不用说描述如何使用它的文章了。
作为参考,我也在谈论这里显示的对话框:apt-get upgrade auto restart services
e:使用 tuxedoOS,因此 ubuntu 23 LTS + kde 滚动(如果我没记错的话)
我是一名工程专业的学生,在网络安全课上,教授假设每个人都使用 Mac 或 Windows(我是唯一一个使用 Ubuntu 的人)。他希望我们使用一个名为 LabTainer 的虚拟机,它在 VirtualBox(.ova 扩展名)上运行。不幸的是,当我尝试启动虚拟机时,我收到了错误消息
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {e36a5081-a82a-40bd-9e4e-42a44d6ce50f}
~/VirtualBox VMs/LabtainerVM24 文件夹中没有创建日志。经过几个小时的搜索,我找不到解决方案,这很令人沮丧,因为我在实际工作上浪费了时间。你知道如何解决这个问题吗?或者是否有 VirtualBox 的替代方案?我目前正在尝试转换 ova 文件以与虚拟机管理器一起使用。我已经尝试使用命令 purge and remove 卸载并从官方网站重新安装最新的 VirtualBox 版本 7.1,并且我有最新的 Qt 和 SDL 依赖项。
谢谢!
编辑:我终于找到了解决方案
sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
libcjson1 libpostproc57 libavcodec60 libavutil58 libswscale7 libswresample4
libavformat60 libavfilter9
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-6.8.0-45-generic (6.8.0-45.45) ...
Failed to create symlink to vmlinuz-6.8.0-41-generic: Operation not permitted at /usr/bin/linux-update-symlinks line 64.
dpkg: error processing package linux-image-6.8.0-45-generic (--configure):
installed linux-image-6.8.0-45-generic package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-6.8.0-45-generic; however:
Package linux-image-6.8.0-45-generic is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 6.8.0-45.45); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-image-6.8.0-45-generic
linux-image-generic
linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
abhinav_sharma@Unknown:~$ sudo apt-get --reinstall install linux-image-6.8.0-45-generic
sudo apt-get --reinstall install linux-image-generic
sudo apt-get --reinstall install linux-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for linux-image-6.8.0-45-generic:amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for linux-image-generic:amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for linux-generic:amd64
abhinav_sharma@Unknown:~$ sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
abhinav_sharma@Unknown:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-6.8.0-45-generic (6.8.0-45.45) ...
Failed to create symlink to vmlinuz-6.8.0-41-generic: Operation not permitted at /usr/bin/linux-update-symlinks line 64.
dpkg: error processing package linux-image-6.8.0-45-generic (--configure):
installed linux-image-6.8.0-45-generic package post-installation script subprocess returned error exit status 1
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-6.8.0-45-generic; however:
Package linux-image-6.8.0-45-generic is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 6.8.0-45.45); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-image-6.8.0-45-generic
linux-image-generic
linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
abhinav_sharma@Unknown:~$ sudo apt-get clean
abhinav_sharma@Unknown:~$ sudo dpkg --configure -a
Setting up linux-image-6.8.0-45-generic (6.8.0-45.45) ...
Failed to create symlink to vmlinuz-6.8.0-41-generic: Operation not permitted at /usr/bin/linux-update-symlinks line 64.
dpkg: error processing package linux-image-6.8.0-45-generic (--configure):
installed linux-image-6.8.0-45-generic package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-6.8.0-45-generic; however:
Package linux-image-6.8.0-45-generic is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 6.8.0-45.45); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.8.0-45-generic
linux-image-generic
linux-generic
abhinav_sharma@Unknown:~$ sudo ln -s /boot/vmlinuz-6.8.0-45-generic /boot/vmlinuz-6.8.0-41-generic
ln: failed to create symbolic link '/boot/vmlinuz-6.8.0-41-generic': File exists
abhinav_sharma@Unknown:~$ sudo rm /boot/vmlinuz-6.8.0-41-generic
abhinav_sharma@Unknown:~$ sudo ln -s /boot/vmlinuz-6.8.0-45-generic /boot/vmlinuz-6.8.0-41-generic
ln: failed to create symbolic link '/boot/vmlinuz-6.8.0-41-generic': Operation not permitted
abhinav_sharma@Unknown:~$
我对此感到厌倦,请帮帮我,如果不处理这个问题,我就无法安装 flatpak。
我最近升级到了 Ubuntu 24.04,从那时起,我的麦克风就变得非常吵,几乎无法使用。
我的机器是 Vivobook 16,我使用内置麦克风。
有没有其他人遇到过这个问题或找到了可靠的解决方法?我真的很感激任何能让我的麦克风恢复正常的见解或解决方案。提前谢谢!
请让我知道是否有我可以运行的命令来提供更多可以提供帮助的信息
几个月前,我的 Ubuntu 20.04 出现了一个非常奇怪的问题,现在仍然存在。我尝试了很多方法来解决它,包括将操作系统升级到 24.04。都没有任何帮助 - 因此,我需要专家的帮助,这将不胜感激。当我调用文件打开或/和另存为对话框(例如,通过 ctrl+o)时,几个应用程序(但不是全部)崩溃/冻结。这些应用程序包括 Okular、Texstudio、Wolfram Mathematica。我用 GDB 进行了回溯 - 下面我附上了 Okular 的输出。直觉上,我猜这个问题与 GTK、FileChooser、Qt 及其库有关。但简单的重新安装并没有帮助。不要犹豫,询问任何细节。我使用 Gnome v46 和 X11。这个问题只与我的主要用户有关。也就是说,如果我通过 sudo 启动提到的应用程序,则不会出现这个问题。
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007ffff5a4526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007ffff5a288ff in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff5ea5ffe in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff5ebae9c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff5ea5a49 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007ffff5ebb128 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x00007ffff6290236 in qBadAlloc() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff6294bf5 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff644be23 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff6455cc7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff6456fc6 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff64571c2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff6457517 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff6457c45 in QSettings::QSettings(QSettings::Scope, QString const&, QString const&, QObject*) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff739d57d in QFileDialogPrivate::restoreFromSettings() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff739f61b in QFileDialogPrivate::init(QFileDialogArgs const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff739fbe5 in QFileDialog::QFileDialog(QWidget*, QString const&, QString const&, QString const&) ()
from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x0000555555578b5a in ?? ()
#21 0x00007ffff6512dbf in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff7164f94 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff7167eab in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff7168acd in QAction::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff716bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff64d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff6977b3c in QShortcutMap::dispatchEvent(QKeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007ffff69787b3 in QShortcutMap::tryShortcut(QKeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007ffff691b512 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007ffff69414d5 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) ()
from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#31 0x00007fffeb8821f9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
#32 0x00007ffff6512e16 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff7731001 in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#34 0x00007ffff6506343 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff716bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#36 0x00007ffff64d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007ffff64db94b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007ffff6535c0f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff4b145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffff4b73717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007ffff4b13a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ffff6535279 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007ffff64d6a7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007ffff64df3e8 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x0000555555569d1d in ?? ()
#46 0x00007ffff5a2a1ca in __libc_start_call_main (main=main@entry=0x555555568800, argc=argc@entry=1, argv=argv@entry=0x7fffffffd068)
at ../sysdeps/nptl/libc_start_call_main.h:58
#47 0x00007ffff5a2a28b in __libc_start_main_impl (main=0x555555568800, argc=1, argv=0x7fffffffd068, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffd058) at ../csu/libc-start.c:360
#48 0x000055555556ab65 in ?? ()
我正在尝试通过 Kubuntu 24.04.1 LTS 上的 Konsole 安装 stremio,但出现了以下错误:
achraf@LENOVO-20157:~/Downloads$ sudo dpkg -i stremio_4.4.168-1_amd64.deb
Selecting previously unselected package stremio.
(Reading database ... 235340 files and directories currently installed.)
Preparing to unpack stremio_4.4.168-1_amd64.deb ...
Unpacking stremio (4.4.168-1) ...
dpkg: dependency problems prevent configuration of stremio:
stremio depends on libmpv1 (>= 0.30.0); however:
Package libmpv1 is not installed.
dpkg: error processing package stremio (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
stremio
achraf@LENOVO-20157:~/Downloads$ sudo apt-get install libmpv1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libmpv1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libmpv1' has no installation candidate
achraf@LENOVO-20157:~/Downloads$ sudo apt-get install mpv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
stremio : Depends: libmpv1 (>= 0.30.0) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
有人能帮我解决这个问题吗?
我的 kubuntu 安装是全新的。它以某种方式更新了所有软件包。
感谢您的阅读!
我有一台联想笔记本电脑。我的相机“有时”会短时间工作,然后突然停止工作。
这是我的 lsusb 的输出,您可以看到相机不存在:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 25a7:2410 Areson Technology Corp Laser mouse
Bus 001 Device 005: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 001 Device 101: ID 047f:c008 Plantronics, Inc. Audio 655 DSP
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
v4l2-ctl 的输出:
v4l2-ctl --list-devices
Cannot open device /dev/video0, exiting.
我的内核版本:5.15.0-119-generic
启动奶酪,它说:没有找到设备。
笔记本电脑有一个物理开关(快门)来阻挡相机,但该开关未被激活。
我正在尝试安装 Toptal 提供的顶级跟踪器。我收到此错误
*sudo dpkg -i ~/Downloads/toptracker_1.6.2-6524_amd64.deb
[sudo] password for user:
Selecting previously unselected package toptracker.
(Reading database ... 204997 files and directories currently installed.)
Preparing to unpack .../toptracker_1.6.2-6524_amd64.deb ...
Unpacking toptracker (1.6.2-6524) ...
dpkg: dependency problems prevent configuration of toptracker:
toptracker depends on libappindicator1; however:
Package libappindicator1 is not installed.
dpkg: error processing package toptracker (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Errors were encountered while processing:
toptracker*
when I tryed to install libappindicator1 then getting
sudo apt-get install libappindicator1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libappindicator1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libappindicator1' has no installation candidate
谁能告诉我如何解决这个问题?
我最近升级到了 24.04。显示分辨率处于最低设置,我无法更改它。而且一切都很慢,所以我尝试安装amdgpu-install --usecase=graphics
在此处找到的最新版本https://repo.radeon.com/amdgpu-install/latest/ubuntu/noble/。这不起作用并出现错误。然后我从 6.8.0-45-generic 切换到旧内核版本 6.8.0-40-generic,因为它是 22.04 的最新硬件内核。amdgpu-install --usecase=graphics
顺利完成。但重启后我仍然遇到同样的问题。有人让 GPU 驱动程序在 24.04 上运行吗?
Output of inxi -G:
> Graphics:
Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: N/A
Display: wayland server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6
compositor: gnome-shell v: 46.0 driver: X: loaded: radeon
unloaded: fbdev,modesetting,vesa dri: swrast gpu: N/A
resolution: 3840x1080~60Hz
API: EGL v: 1.5 drivers: kms_swrast,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.5 vendor: mesa v: 24.2.0-devel renderer: llvmpipe (LLVM
18.1.7 256 bits)
API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib,wayland
我正在设置服务器,想知道在哪里修改全局 PHP 设置。我看到有一个目录,/etc/php/8.3/fpm/
里面有几个文件和文件夹。
我尝试这样做是因为我需要更改 PHP 选项,例如memory_limit
、upload_max_filesize
和date.timezone
。
Nginx 1.26.2 / PHP 8.3.11