Page 1 of 1

problem upgrading gimp

Posted: 26 Sep 2018 16:32
by asqwerth
I've had this problem for almost 2 weeks now, and I've tried 3 times during this period to upgrade the system. The upgrade will start and a few of the early packages get installed. Then it hits gimp, encounters this error, and the rest of the packages can't be updated.

This is the error message:

Code: Select all

$ sudo slapt-get --upgrade
Reading Package Lists...Done
The following packages have been EXCLUDED:
  glibc glibc-i18n kernel-firmware kernel-headers kernel-huge kernel-modules 
  kernel-source 
The following packages will be upgraded:
  gimp git glib2 gnupg2 gnutls grub gst-plugins-base gst-plugins-good gstreamer 
  harfbuzz imagemagick indent libX11 libarchive libdrm libinput libreoffice 
  librsvg libtirpc llvm media-player-info mesa mozilla-firefox mozilla-nss 
  nano nghttp2 openssh openssl openssl-solibs opus p11-kit pango pcre2 
  pkgtools poppler pycairo pycurl python-pillow qpdf samba sg3_utils sqlite 
  sudo sysvinit talloc tar tdb tevent vim xauth xf86-video-ati 
  xf86-video-vmware xfsprogs 
53 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 7 not upgraded.
Need to get 136.0kB/351.3MB of archives.
After unpacking 211.4MB disk space will be freed.
Do you want to continue? [y/N] y

Preparing to replace gimp-2.10.4-x86_64-1 with gimp-2.10.6-x86_64-1
Upgrading package gimp-2.10.4-x86_64-1 -> gimp-2.10.6-x86_64-1...
| gimp (The GNU Image Manipulation Program)
| 
| The GIMP is a powerful tool for the preparation and manipulation of
| digital images. The GIMP provides the user with a wide variety of
| image manipulation, painting, processing, and rendering tools. The
| GIMP's open design and extensible architecture make for a very
| powerful end product for photo and image retouching, web graphics
| design, or digital illustration.
| 
| 
| 
| 
| 
ERROR: Can't create directory over ordinary file. (usr/lib64/gimp/2.0/plug-ins/align-layers)
ERROR: Failed to extract file usr/lib64/gimp/2.0/plug-ins/align-layers.
ERROR: Package upgrade failed!
Failed to execute command: [/sbin/spkg -u --reinstall /var/slapt-get/./slackware64/xap/gimp-2.10.6-x86_64-1.txz]
I tried removing gimp, since I don't really use it, but it seems to be a dependency for various other packages:

Code: Select all

$ sudo slapt-get --remove gimp
Reading Package Lists...Done
The following packages will be REMOVED:
  gutenprint sane hplip simple-scan gimp 
0 upgraded, 0 reinstalled, 0 newly installed, 5 to remove, 0 not upgraded.
After unpacking 207.7MB disk space will be freed.
Do you want to continue? [y/N] n
I didn't proceed because I use simple-scan. I was puzzled because I thought only xsane was dependent on gimp, not simple-scan.

Anyway, I would be grateful for some help for this problem. Thanks.

[ADDED] I've unmarked gimp in gslapt and updated the rest of the normal packages, by the way.

Re: problem upgrading gimp

Posted: 29 Sep 2018 16:20
by bsd4me
I just tried upgrading my system and have the same problem. Upgrades stop with above error about gimp.

Re: problem upgrading gimp

Posted: 03 Oct 2018 16:42
by djemos
Do not use slapt-get to remove a package.
remove it with

Code: Select all

sudo spkg -d gimp
Then

Code: Select all

sudo slapt-get -u
sudo slapt-get -i -d gimp
Then install it with

Code: Select all

sudo installpkg /var/slapt-get/slackware64/xap/gimp-2.10.6-x86_64-1.txz
or

Code: Select all

sudo spkg /var/slapt-get/slackware64/xap/gimp-2.10.6-x86_64-1.txz