Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 236154

Summary: net-print/foomatic-db-ppds-3.0.20060720 does not install symlink: /usr/share/cups/model/foomatic-db-ppds
Product: Gentoo Linux Reporter: Denilson Sá Maia <denilsonsa>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 401111    
Bug Blocks:    

Description Denilson Sá Maia 2008-08-29 22:40:26 UTC
The net-print/foomatic-db-ppds package should create the following symlink:
/usr/share/cups/model/foomatic-db-ppds -> /usr/share/foomatic/db/source/PPD/

However, looks like installing net-print/foomatic-db-ppds BEFORE net-print/cups will not create this important symlink.

See my emerge log:
$  qlop -l | egrep 'cups|foomatic'
Tue Jun 10 23:46:32 2008 >>> net-print/foomatic-db-ppds-3.0.20060720
Wed Jun 11 00:51:25 2008 >>> net-print/cups-1.3.7-r1
Mon Aug 18 14:02:09 2008 >>> net-print/libgnomecups-0.2.3
Fri Aug 29 19:20:15 2008 >>> net-print/foomatic-db-ppds-3.0.20060720

Until a few minutes ago, there was no "foomatic-db-ppds" symlink at /usr/share/cups/model/.

The only symlink was "foomatic-ppds -> /usr/share/ppd/", but this is created by cups package itself, and points to an empty directory (except if you have hplip installed). Anyway, "foomatic-ppds" is off-topic.

Then, I've tried to re-emerge net-print/foomatic-db-ppds and suddenly that "foomatic-db-ppds" symlink now exists. Then, after restarting cups, I can finally find my printer at Cups model list.

Tested with:
 net-print/foomatic-db-ppds-3.0.20060720
 net-print/cups-1.3.7-r1
both stable on amd64 on a recently new system. Also happens on a not-so-new x86 system.


How to reproduce:
1. Unmerge any cups or foomatic package you have.
2. Emerge cups. Probably, if you have "ppds" useflag on, it will pull net-print/foomatic-db-ppds as dependency.
3. Wait. Notice that foomatic-db-ppds is installed BEFORE cups.
4. Check /usr/share/cups/model/. Only one symlink? Check cups interface, can you find the foomatic PPDs there?
5. Now re-emerge foomatic-db-ppds.
6. See? The symlink is now there, and the models are available at cups interface.

Notice: this bug does happen only on new installs. This bug also affects older systems that have been recently updated to newer cups versions (which is the case of my older x86 system).
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-10-02 21:31:57 UTC
Just for reference, the cited foomatic-db-ppds version is still the current stable (!)
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-01-28 00:00:30 UTC
Much newer version is going stable now.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-03-25 19:59:54 UTC
Version removed from the tree