[Edgy] cups-included PPDs found twice

Bug #62198 reported by Pascal De Vuyst
12
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: cupsys

I'm using Edgy 20060924.
CUPS looks under /usr/share/ppd/ for PPDs. In /usr/share/ppd/ is cups-transitional-dir, a symlink pointing to /usr/share/cups/model/. In /usr/share/cups/model is cups-included, a symlink that points to /usr/share/ppd/cups-included/. This makes CUPS find cups-included PPDs twice, first by directly looking in /usr/share/ppd/cups-included/ and second by following the cups-transitional-dir and cups-included symlinks.
This results in CUPS web interface and gnome-cups-manager showing duplicate printer drivers for cups-included printers which causes user confusion.
The cups-included symlink should be removed to resolve this issue.

Revision history for this message
Matthias Klose (doko) wrote :

as /usr/share/ppd/ is the wanted location, for ppd's, cups should include it's own ppd files into /usr/share/ppd/cups-included and add a symlink to /usr/share/cups/model. No further symlinks should be needed. this patch was in dapper, but somehow was dropped.

Changed in cupsys:
status: Unconfirmed → Confirmed
importance: Untriaged → Medium
Martin Pitt (pitti)
Changed in cupsys:
assignee: nobody → pitti
status: Confirmed → In Progress
Martin Pitt (pitti)
Changed in cupsys:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 cupsys (1.2.4-2ubuntu1) edgy; urgency=low
 .
   * Merge recent Debian changes to get some bug fixes and new upstream version
     1.2.4 (UVF exception approved by Matt Zimmerman):
     - The --with-printcap configure option did not work (STR #1984)
     - The character set reported by cupsLangGet() did not always reflect the
       default character set of a given locale (STR #1983)
     - Older Lexmark and Tektronix printers did not work with IPP (STR #1980)
     - Failsafe printing did not work (PR #6328)
     - Some web interface redirects did not work (STR #1978)
     - The web interface change settings button could introduce a "Port 0" line
       in cupsd.conf if there was no loopback connection available (STR #1979)
     - The web interface change settings and edit configuration file buttons
       would truncate the cupsd.conf file (STR #1976)
     - The German web interface used the wrong printer icon images (STR #1973)
     - (The other changes of 1.2.4 were already present as patch in the
       previous version.)
     - Remove transitional PPD symlink which is not necessary any more and just
       causes loops. Closes: LP#62198
     - Fix CPU hogging of gnome-cups-manager. Closes: LP#44196
   * Add debian/patches/ubuntu-default-error-policy-retry-job.dpatch:
     - Do not stop the printer if a job failed, just reattempt it. The default
       policy might be suitable for large offices with an admin, but it
       puts home users at loss. Thanks to Till Kamppeter for the patch!
       Closes: LP#41313

Changed in cupsys:
status: Fix Committed → Fix Released
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.