[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#432789: Gutenprint version does not match PPD file version



Jim Cline <jcline@hep.physics.mcgill.ca> writes:

> Package: cupsys-driver-gutenprint
> Version: testing
>
> I just updated cupsys and cupsys-driver-gutenprint to get support for
> my Epson Stylus Photo RX500.

From which version to which version?  The current version in testing
is 5.0.0-3 (also available as a backport for sarge users), and in
unstable 5.0.1-2.  You should be using the latter if possible, and
it's going into testing today so it should dist-upgrade automatically.
Also note that you *must* upgrade libgutenprint2 and other related
packages at the same time if installing packages by hand.

> The printer does not work, and the CUPS error log says:
>
> E [12/Jul/2007:01:37:45 +0000] [Job 43] Gutenprint: The version of
>    Gutenprint software installed (5.0.0) does not match the PPD file (5.0.0-rc2).

OK.  The PPD files on the system (under
/usr/share/cups/model/gutenprint or /usr/share/ppd/gutenprint) do not
match the installed version of the software.  Old versions of these
files should be removed by cupsys-driver-gutenprint when you upgrade:

From the pre-install script:

case "$1" in
install|upgrade)
    # Remove generated PPDs
    # (note: user-generated now we no longer generate them automatically)
    # This is to ensure stale PPDs from previous versions are removed.
    # When Gutenprint no longer allows the user to generate PPDs, make
    # this into a versioned check.
    rm -rf /usr/share/cups/model/gutenprint/5.0
    rmdir /usr/share/cups/model/gutenprint 2>/dev/null || true
    rm -rf /usr/share/ppd/gutenprint/5.0
    rmdir /usr/share/ppd/gutenprint 2>/dev/null || true
esac

> I tried both
>
> root@shiva:~/bin# cups-genppdupdate.5.0
> /etc/cups/ppd/rx500.ppd: no valid candidate for replacement.  Skipping
> /etc/cups/ppd/rx500.ppd: please upgrade this PPD manually Failed to update any PPD files

Can you attach a copy of rx500.ppd?

You also need to run cups-genppdconfig.5.0 prior to
cups-genppdupdate.5.0 (check
/var/lib/dpkg/info/cupsys-driver-gutenprint.postinst for the options
to use).  However... none of this should actually be necessary, so
it's best to find the root cause before doing any of this.  It's also
obsolete in version 5.0.1 where PPD files are no longer generated.

> and modifying the printer via the CUPS web interface, no luck.  The
> strange thing is that the ppd file says:
> *FileVersion:	"5.0.0"
> So I don't know where CUPS or Gutenprint is getting the idea that it
> is version  (5.0.0-rc2).

There hasn't been such a version for a long time.  This would be
Debian version 4.3.99+cvs20060121.dfsg.1-1, present from 22/01/2006 to
21/05/2006 (04/02/2006 to 04/06/2006 in testing).  If you track
testing, this should have been upgraded well over a year ago.  Did you
ever install a non-Debian version?  Check the version in your current
PPDs by looking at FileVersion and NickName in /etc/cups/ppd/*.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgpHznnuWLiiu.pgp
Description: PGP signature


Reply to: