Comment 1 for bug 1848210

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Testing on Bionic
---

Files)

$ wget -O ppd-with-pdf-support.ppd 'http://www.openprinting.org/ppd-o-matic.php?driver=hl7x0&printer=Brother-HL-1020&show=1'

$ wget -O dummy.pdf https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf

Test 0) Before updating ghostscript or cups-filters

$ dpkg -s cups-filters ghostscript | grep ^Version:
Version: 1.20.2-0ubuntu3
Version: 9.26~dfsg+0-0ubuntu0.18.04.8

$ foomatic-rip -v --ppd ppd-with-pdf-support.ppd dummy.pdf
...
Filetype: PDF
File contains 1 pages
Starting renderer with command: <...>
...

Test 1) After updating ghostscript (not cups-filters)

$ dpkg -s cups-filters ghostscript | grep ^Version:
Version: 1.20.2-0ubuntu3
Version: 9.26~dfsg+0-0ubuntu0.18.04.11

$ foomatic-rip -v --ppd ppd-with-pdf-support.ppd dummy.pdf
...
Filetype: PDF
GPL Ghostscript 9.26: Unrecoverable error, exit code 1
Process is dying with "Unable to determine number of pages, page count: -1
", exit stat 3
...

Test 2) Checking before updating ghostscript with test package (thus cups-filters too)

Checking update of cups-filters with apt:

$ sudo apt install --dry-run ghostscript
...
The following packages will be upgraded:
  cups-filters ghostscript libgs9 libgs9-common
...
Inst cups-filters [1.20.2-0ubuntu3] (1.20.2-0ubuntu3.1 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Inst ghostscript [9.26~dfsg+0-0ubuntu0.18.04.11] (9.26~dfsg+0-0ubuntu0.18.04.11+test20191510b1 mfo-sf246942:18.04/bionic [amd64]) []
...

Checking update of cups-filters with apt-get:

$ sudo apt-get install --dry-run ghostscript
...
The following packages will be upgraded:
  cups-filters ghostscript libgs9 libgs9-common
...
Inst cups-filters [1.20.2-0ubuntu3] (1.20.2-0ubuntu3.1 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Inst ghostscript [9.26~dfsg+0-0ubuntu0.18.04.11] (9.26~dfsg+0-0ubuntu0.18.04.11+test20191510b1 mfo-sf246942:18.04/bionic [amd64]) []
...

Test 3) After updating ghostscript with test package (thus cups-filters too)

$ dpkg -s cups-filters ghostscript | grep ^Version:
Version: 1.20.2-0ubuntu3.1
Version: 9.26~dfsg+0-0ubuntu0.18.04.11+test20191510b1

$ foomatic-rip -v --ppd ppd-with-pdf-support.ppd dummy.pdf
...
Filetype: PDF
File contains 1 pages
Starting renderer with command: <...>
...