我正在运行 Ubuntu 20.04
打开时软件和更新屏幕是空白的。
有谁知道如何从命令行启动软件和更新 GUI?
然后我可以运行pgrep -fl
以检查任何孤立的进程。
root@mail:~# apt show software-properties-gtk
Package: software-properties-gtk
Version: 0.98.9.3
Priority: optional
Section: gnome
Source: software-properties
Origin: Ubuntu
Maintainer: Michael Vogt <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 456 kB
Depends: gir1.2-goa-1.0 (>= 3.27.92-1ubuntu1), gir1.2-gtk-3.0, gir1.2-snapd-1 (>= 1.42), libgtk3-perl, python3, python3-dateutil, python3-distro-info, python3-gi, python3-requests-unixsocket, python3-software-properties (= 0.98.9.3), software-properties-common, ubuntu-drivers-common (>= 1:0.2.75), dconf-gsettings-backend | gsettings-backend, python3:any
Recommends: gnome-keyring, gnome-session-bin | xfce4-session | mate-session-manager
Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-core, xubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Download-Size: 64.0 kB
APT-Manual-Installed: no
APT-Sources: http://mirror.fsmg.org.nz/ubuntu focal-updates/main amd64 Packages
Description: manage the repositories that you install software from (gtk)
This software provides an abstraction of the used apt repositories.
It allows you to easily manage your distribution and independent software
vendor software sources.
.
This package contains a GTK+ based graphical interface.
N: There are 2 additional records. Please use the '-a' switch to see them.
它被称为
software-properties-gtk
。我跑去
pgrep -fl software-properties-gtk
看看是否有任何孤立的进程。它回来了
然后我确实
pkill -f software-properties-gtk
杀死了孤立的进程。软件和更新 GUI 现在可以从应用程序菜单成功启动。