Upgrading from 18.04 to 18.10 removed the GIMP

I did the upgrade via the command line: ‘edit sources.list, do sudo apt-get update, sudo apt-get upgrade, sudo apt-get dist-upgrade’, followed by ‘sudo apt-get autoremove’.

I noticed the GIMP was in the list of packages to be removed, and it was easy to reinstall afterwards, but why did it happen?

Did you upgrade it at some point through a repo (like the PPA from Otto Kesselgulasch) or added related packages from a 3rd-party repo? In that case, the version you had could have different dependencies than the version from the repos, the upgrade process removed some conflicting packages which then removed the gimp package.

It could also be the case even when not using a 3rd-party repo, if they changed on the packages in the Ubuntu repos between two versions but that would be quite rare.

No, I don’t think so - it was installed earlier this month via the Software Boutique, I think, following a clean install of 18.04 on this PC.

Here are bits from dpkg.log, with the original install, remove, and reinstall sections:

grep gimp: /var/log/dpkg.log
2018-10-06 17:59:51 install gimp:amd64 2.8.22-1
2018-10-06 17:59:51 status half-installed gimp:amd64 2.8.22-1
2018-10-06 17:59:52 status unpacked gimp:amd64 2.8.22-1
2018-10-06 17:59:52 status unpacked gimp:amd64 2.8.22-1
2018-10-06 17:59:57 configure gimp:amd64 2.8.22-1
2018-10-06 17:59:57 status unpacked gimp:amd64 2.8.22-1
2018-10-06 17:59:57 status half-configured gimp:amd64 2.8.22-1
2018-10-06 17:59:57 status installed gimp:amd64 2.8.22-1

2018-10-19 15:25:19 status installed gimp:amd64 2.8.22-1
2018-10-19 15:25:19 status installed gimp:amd64 2.8.22-1
2018-10-19 15:25:19 remove gimp:amd64 2.8.22-1
2018-10-19 15:25:19 status half-configured gimp:amd64 2.8.22-1
2018-10-19 15:25:19 status half-installed gimp:amd64 2.8.22-1
2018-10-19 15:25:19 status config-files gimp:amd64 2.8.22-1
2018-10-19 15:25:19 status config-files gimp:amd64 2.8.22-1
2018-10-19 15:25:19 status config-files gimp:amd64 2.8.22-1
2018-10-19 15:25:19 status not-installed gimp:amd64

2018-10-19 15:42:09 install gimp:amd64 2.10.6-3
2018-10-19 15:42:09 status half-installed gimp:amd64 2.10.6-3
2018-10-19 15:42:09 status unpacked gimp:amd64 2.10.6-3
2018-10-19 15:42:09 status unpacked gimp:amd64 2.10.6-3
2018-10-19 15:42:16 configure gimp:amd64 2.10.6-3
2018-10-19 15:42:16 status unpacked gimp:amd64 2.10.6-3
2018-10-19 15:42:16 status half-configured gimp:amd64 2.10.6-3
2018-10-19 15:42:16 status installed gimp:amd64 2.10.6-3

The “half-configured” and “half-installed” bits are a bit weird, though I don’t know APT enough to know if they might be normal.

If you have doubt about potential issues that happened during the upgrade (beyond gimp), you can try this in a terminal and see if it updates other packages:

sudo apt-get install -f

Check what it will update and remove before validating, of course (assuming there is something to update at all).

I think that’s just dpkg keeping the log file in touch with where it is in terms of the installation. All the packages in the log file have it.

Ok. I wasn’t sure because when I upgraded to 18.10 yesterday, I had a lot of errors during the process on packages that could not be configured. My system was not the cleanest one and I eventually managed to fix everything afterwards but these messages reminded me of that.