HP Office Jet Cups reports Filter Failed. Works OK with 16.04

Bug #1800328 reported by tomdean
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ghostscript (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Marc Deslauriers

Bug Description

After upgrade from 16.04 to 18.04 and doing an 'apt dist-upgrade', cups fails to print with the status "Filter Failed".
On a 16.04 system printing is OK.
Printer: Network HP-Officejet-Pro-8620
No changes were made other than the do-release-upgrade and 'apt dist-upgrade'.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cups 2.2.7-1ubuntu2.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: Sat Oct 27 23:58:29 2018
Lpstat: device for HP-HP-Officejet-Pro-8620: socket://192.168.1.193:9100
MachineType: System76 Meerkat
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP-HP-Officejet-Pro-8620.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP-HP-Officejet-Pro-8620.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-38-generic root=UUID=e7479522-2d49-4598-a480-8ed5dee4c2c8 ro quiet splash vt.handoff=1
SourcePackage: cups
UpgradeStatus: Upgraded to bionic on 2018-10-19 (8 days ago)
dmi.bios.date: 11/22/2017
dmi.bios.vendor: Intel Corp.
dmi.bios.version: BNKBL357.86A.0057.2017.1122.1550
dmi.board.name: NUC7i7BNB
dmi.board.vendor: Intel Corporation
dmi.board.version: J31145-304
dmi.chassis.type: 3
dmi.chassis.vendor: System76
dmi.chassis.version: meer3
dmi.modalias: dmi:bvnIntelCorp.:bvrBNKBL357.86A.0057.2017.1122.1550:bd11/22/2017:svnSystem76:pnMeerkat:pvrmeer3:rvnIntelCorporation:rnNUC7i7BNB:rvrJ31145-304:cvnSystem76:ct3:cvrmeer3:
dmi.product.name: Meerkat
dmi.product.version: meer3
dmi.sys.vendor: System76

Revision history for this message
tomdean (tomdean) wrote :
Revision history for this message
brian_p (claremont102) wrote :

From your error log:

 > D [27/Oct/2018:14:09:05 -0700] [Job 466] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc
 > D [27/Oct/2018:14:09:05 -0700] [Job 466] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile
 > D [27/Oct/2018:14:09:05 -0700] [Job 466] Unrecoverable error: rangecheck in .putdeviceprops

See
  https://bugs.launchpad.net/hplip/+bug/1799104

How do you go on?

--
Brian.

Revision history for this message
tomdean (tomdean) wrote :

HP Officejet Pro 8620 fails printing with filter failed message
sudo rmdir /usr/share/ghostscript/9.25/iccprofiles
sudo apt-get install --reinstall libgs9-common
in cups, localhost:631, restart jobs
printed all jobs.

My issue seems to be fixed.

Does something need to be done in the upgrade process?

Revision history for this message
brian_p (claremont102) wrote :

There is nothing to be done by you, but I have seen this issue appear at least five times so it wouldn't be unreasonable to see the upgrade process as flawed. What do you get now for

  ls -l /usr/share/ghostscript/ ?

Thanks for the feedback.

--
Brian.

Revision history for this message
tomdean (tomdean) wrote : Re: [Bug 1800328] Re: HP Office Jet Cups reports Filter Failed. Works OK with 16.04

On 10/28/18 9:31 AM, brian_p wrote:
> ls -l/usr/share/ghostscript/

 > ls -l /usr/share/ghostscript/
total 8
drwxr-xr-x 4 root root 4096 Oct 28 06:49 9.25
lrwxrwxrwx 1 root root 37 Aug 8 2017 current ->
/etc/alternatives/ghostscript-current
drwxr-xr-x 2 root root 4096 Oct 19 12:44 fonts

Tom Dean

Revision history for this message
brian_p (claremont102) wrote :

The link is not similar to the previous one. It looks like the upgrade did not adjust it correctly. A ghostscript bug?

--
Brian.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

In Xenial, /usr/share/ghostscript/9.5/iccprofiles was a directory.
In Bionic, it is a symlink to /usr/share/color/icc/ghostscript.

The Bionic package needs to use dpkg-maintscript-helper to ensure the transition is done properly.

I will prepare a fix for this.

affects: cups (Ubuntu) → ghostscript (Ubuntu)
Changed in ghostscript (Ubuntu Bionic):
status: New → Confirmed
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in ghostscript (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ghostscript - 9.25~dfsg+1-0ubuntu0.18.04.2

---------------
ghostscript (9.25~dfsg+1-0ubuntu0.18.04.2) bionic-security; urgency=medium

  * SECURITY UPDATE: Multiple security issues
    - debian/patches/0218*.patch: multiple cherry-picked upstream commits
      to fix security issues. Thanks to Jonas Smedegaard for cherry-picking
      these for Debian's 9.25~dfsg-3 package.
    - debian/libgs9.symbols: added new symbol.
    - CVE-2018-17961
    - CVE-2018-18073
    - CVE-2018-18284
  * Fix LeadingEdge regression introduced in 9.22. (LP: #1800062)
    - debian/patches/lp1800062.patch: fix cups get/put_params LeadingEdge
      logic in cups/gdevcups.c.
  * Fix iccprofiles directory to symlink issue (LP: #1800328)
    - debian/libgs__VER__-common.maintscript.in: make sure directory is
      correctly transitioned to a symlink.

 -- Marc Deslauriers <email address hidden> Tue, 30 Oct 2018 09:00:57 -0400

Changed in ghostscript (Ubuntu Bionic):
status: Confirmed → Fix Released
Revision history for this message
tomdean (tomdean) wrote :

On 10/30/18 5:25 AM, Marc Deslauriers wrote:
> In Xenial, /usr/share/ghostscript/9.5/iccprofiles was a directory.
> In Bionic, it is a symlink to /usr/share/color/icc/ghostscript.
>
> The Bionic package needs to use dpkg-maintscript-helper to ensure the
> transition is done properly.
>
> I will prepare a fix for this.
>

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

$ ls -l /usr/share/ghostscript/
total 8
drwxr-xr-x 4 root root 4096 Oct 28 06:49 9.25
lrwxrwxrwx 1 root root 37 Aug 8 2017 current ->
/etc/alternatives/ghostscript-current
drwxr-xr-x 2 root root 4096 Oct 19 12:44 fonts
$ ls -l /usr/share/ghostscript/current/
total 24
drwxr-xr-x 11 root root 4096 Oct 3 06:14 Resource
lrwxrwxrwx 1 root root 27 Sep 27 04:27 iccprofiles ->
../../color/icc/ghostscript
drwxr-xr-x 2 root root 20480 Oct 28 06:49 lib

Tom Dean

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.