我正在运行 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.
答案1
这是称为 software-properties-gtk
。
答案2
我运行了一下pgrep -fl software-properties-gtk
以查看是否有任何孤立进程。
它又回来了
root@mail:~# pgrep -fl software-properties-gtk
60976 software-proper
934092 software-proper
然后我pkill -f software-properties-gtk
杀死了孤立进程。
软件和更新 GUI 现在可以从应用程序菜单成功启动。