It looks like you manually copied files into the /usr/share/ghostscript/9.25/iccprofiles directory to try and fix an upgrade issue.
Please do the following to fix the issue: sudo rmdir /usr/share/ghostscript/9.25/iccprofiles sudo apt-get install --reinstall libgs9-common ** Changed in: ghostscript (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ghostscript in Ubuntu. https://bugs.launchpad.net/bugs/1801731 Title: package libgs9-common 9.25~dfsg+1-0ubuntu0.18.04.1 failed to install/upgrade: new libgs9-common package pre-installation script subprocess returned error exit status 1 Status in ghostscript package in Ubuntu: Incomplete Bug description: A week ago I had a problem with viewing EPS-files. (Now again). I posted the following bug-description: https://tex.stackexchange.com/questions/457182/problems-after-installing-ubuntu-18-04-and-eps I tried to reinstall libgs9, without result. There are especially problems with viewing EPS-files again, however the original problem is solved. I tried epstopdf and get: epstopdf myfile.eps Unrecoverable error: typecheck in .bind Operand stack: --nostringval-- typecheck --nostringval-- currentshared .currentglobal epstopdf ($Id: epstopdf.pl 45306 2017-09-14 21:41:37Z karl $) 2.27 !!! Error: Writing to gs failed, error code 255 ProblemType: Package DistroRelease: Ubuntu 18.04 Package: libgs9-common 9.25~dfsg+1-0ubuntu0.18.04.1 ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18 Uname: Linux 4.15.0-38-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.4 Architecture: amd64 Date: Mon Nov 5 14:41:59 2018 ErrorMessage: new libgs9-common package pre-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2016-10-25 (740 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) PackageArchitecture: all Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1 PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1 RelatedPackageVersions: dpkg 1.19.0.5ubuntu2.1 apt 1.6.6 SourcePackage: ghostscript Title: package libgs9-common 9.25~dfsg+1-0ubuntu0.18.04.1 failed to install/upgrade: new libgs9-common package pre-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to bionic on 2018-10-27 (9 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1801731/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp