在我安装了一个带有"apt-get安装“的包之后,控制台说有些包是无效的,所以如果你想删除它们,写一个我不记得的命令,然后我输入yes.Now,几乎所有的应用程序都是removed.How,我能轻松地恢复它们吗?
history.log:https://justpaste.it/4l6er
term.log:https://justpaste.it/5dxl9
dpkg.log:https://justpaste.it/5z98p
命令:-apt自动删除
编辑2:
控制台说有一些错误:
Ayarlanıyor: fonts-tlwg-purisa (1:0.6.4-2) ...
dpkg: bağımlılık sorunları yüzünden acpi-support paketi yapılandırılamıyor:
acpi-support şuna bağımlı: acpid (>= 1.0.4-1ubuntu4), ama:
acpid paketi henüz yapılandırılmadı.
dpkg: acpi-support paketi işlenirken sorun yaşandı (--configure):
bağımlılık sorunları - yapılandırılmadan bırakılıyor
Ayarlanıyor: libe-book-0.1-1:amd64 (0.1.3-1) ...
Apport raporu yazılmadı çünkü hata iletisi bu durumun bir önceki hatadan kaynaklanan bir hata olduğunu belirtiyor.
Ayarlanıyor: gir1.2-gmenu-3.0:amd64 (3.13.3-11ubuntu1.1) ...
Ayarlanıyor: gir1.2-gst-plugins-base-1.0:amd64 (1.14.5-0ubuntu1~18.04.1) ...Ayarlanıyor: acpid (1:2.0.28-1ubuntu1) ...
Job for acpid.service failed because of unavailable resources or another system error.
See "systemctl status acpid.service" and "journalctl -xe" for details.
invoke-rc.d: initscript acpid, action "start" failed.
● acpid.service - ACPI event daemon
Loaded: loaded (/lib/systemd/system/acpid.service; disabled; vendor preset: enabled)
Active: failed (Result: resources)
Oca 02 23:38:54 ahmet systemd[1]: acpid.service: Failed with result 'resources'.
Oca 02 23:38:54 ahmet systemd[1]: Failed to start ACPI event daemon.
Oca 02 23:38:55 ahmet systemd[1]: acpid.service: Got no socket.
Oca 02 23:38:55 ahmet systemd[1]: acpid.service: Failed to run 'start' task: Invalid argument
Oca 02 23:38:55 ahmet systemd[1]: acpid.service: Failed with result 'resources'.
Oca 02 23:38:55 ahmet systemd[1]: Failed to start ACPI event daemon.
Oca 02 23:38:55 ahmet systemd[1]: acpid.service: Got no socket.
Oca 02 23:38:55 ahmet systemd[1]: acpid.service: Failed to run 'start' task: Invalid argument
Oca 02 23:38:55 ahmet systemd[1]: acpid.service: Failed with result 'resources'.
Oca 02 23:38:55 ahmet systemd[1]: Failed to start ACPI event daemon.
dpkg: acpid paketi işlenirken sorun yaşandı (--configure):
installed acpid package post-installation script subprocess returned error exit status 1
Ayarlanıyor: gir1.2-dbusmenu-glib-0.4:amd64 (16.04.1+18.04.20171206-0ubuntu2) ...
Ayarlanıyor: fonts-sil-padauk (3.003-1) ...“开始”菜单的搜索功能不起作用,计算机选项卡也没有显示任何内容
编辑3:所有程序都开始崩溃,然后我用panic.now弹出batery,将kubuntu转换为ubuntu。
发布于 2020-01-02 21:20:25
你可以试试这个:
sudo /etc/init.d/acpid stop
sudo dpkg --configure -a
sudo /etc/init.d/acpid start发布于 2020-01-02 20:27:43
运行sudo apt install ubuntu-desktop
这应该会重新安装ubuntu桌面元包,这取决于正常桌面环境所需的包。
https://askubuntu.com/questions/1200240
复制相似问题