今晚我一直在玩 Ubuntu Mini 18.04 LTS ISO,并尝试安装 GIMP 的 ppa,因为 2.8 版本不够用。我使用的 ppa 是ppa:otto-kesselgulasch/gimp
。
执行 apt-get update 和 apt-get upgrade 后,显示没有升级任何内容。我安装了 update-manager 来看看它是否可以升级,但它声称我的系统是最新的。
查看 apt-get upgrade 和 apt-get install gimp 终端的输出,有一件事引起了我的注意,and 1 not upgraded
。我不确定这到底意味着什么,以及它如何帮助我,我只是觉得这对这一点很重要。以下是一些终端输出,供您参考。
james@ubuntu:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:4 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease
Hit:5 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
Fetched 177 kB in 1s (288 kB/s)
Reading package lists... Done
james@ubuntu:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
gimp-data
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
james@ubuntu:~$ sudo apt-get install gimp
Reading package lists... Done
Building dependency tree
Reading state information... Done
gimp is already the newest version (2.8.22-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
的输出sudo apt-get --with-new-pkgs upgrade
。
james@ubuntu:~$ sudo apt-get --with-new-pkgs upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
的输出apt-cache policy gimp gimp-data
。
james@ubuntu:~$ apt-cache policy gimp gimp-data
gimp:
Installed: 2.8.22-1
Candidate: 2.8.22-1
Version table:
*** 2.8.22-1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
100 /var/lib/dpkg/status
gimp-data:
Installed: 2.8.22-1
Candidate: 2.10.8+om-0ubu18.04.3~ppa
Version table:
2.10.8+om-0ubu18.04.3~ppa 500
500 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic/main amd64 Packages
500 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic/main i386 Packages
*** 2.8.22-1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status
答案1
您也可以从 Flatpak 安装它。 https://www.gimp.org/downloads/