我是 Ubuntu 新手,我决定尝试 flat remix gnome 主题,但在使用终端命令时遇到了一个很大的问题,如下所示:
sudo add-apt-repository ppa:daniruiz/flat-remix
sudo apt-get update
sudo apt-get install flat-remix-gnome
但是在应用前两个命令并且第三个命令没有任何问题之后,每次我尝试安装任何包时,我都会开始遇到这些代码:
Unpacking android-sdk-platform-tools-common (27.0.0+10~18.04.2) ...
Setting up android-liblog (1:8.1.0+r23-5~18.04) ...
Setting up flat-remix-gnome (20191117) ...
/var/lib/dpkg/info/flat-remix-gnome.postinst: 4: /var/lib/dpkg/info/flat-remix-gnome.postinst: make: not found
dpkg: error processing package flat-remix-gnome (--configure):
installed flat-remix-gnome package post-installation script subprocess returned error exit status 127
Setting up android-libboringssl (8.1.0+r23-2~18.04) ...
Setting up android-sdk-platform-tools-common (27.0.0+10~18.04.2) ...
Setting up android-libcrypto-utils (1:8.1.0+r23-5~18.04) ...
Setting up android-libbase (1:8.1.0+r23-5~18.04) ...
Setting up android-libcutils (1:8.1.0+r23-5~18.04) ...
Setting up android-libadb (1:8.1.0+r23-5~18.04) ...
Setting up adb (1:8.1.0+r23-5~18.04) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
flat-remix-gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)
我尝试删除该包,但出现同样的错误,我尝试重新安装该包,出现如下错误>>>
moutasim@moutasim-Aspire-A515-51G:~$ sudo apt-get install flat-remix-gnome
[sudo] password for moutasim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
flat-remix-gnome is already the newest version (20191117).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 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 flat-remix-gnome (20191117) ...
/var/lib/dpkg/info/flat-remix-gnome.postinst: 4: /var/lib/dpkg/info/flat-remix-gnome.postinst: make: not found
dpkg: error processing package flat-remix-gnome (--configure):
installed flat-remix-gnome package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
flat-remix-gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)
请大家帮帮忙,因为这是我第二次重新安装 Ubuntu,请帮忙
答案1
我解决了这个问题
文件中/var/lib/dpkg/info/flat-remix-gnome.postinst
有一个命令make
并且包未安装:make: not found
我以恢复模式启动了 Ubuntu 并安装了该软件包make
,重启后这个问题就解决了