1 |
Good morning, Andreas! |
2 |
|
3 |
On Sun, Jun 08, 2014 at 07:15:36PM +0200, Andreas K. Huettel wrote: |
4 |
> Am Sonntag, 8. Juni 2014, 17:48:09 schrieb Alan Mackenzie: |
5 |
> > . What is all this trying to tell me? I've tried for over an hour to |
6 |
> > make sense of it, but my eyes just glaze over. My best guess is that |
7 |
> > cups-filters and foomatic-filters are packages which can't be installed |
8 |
> > together. But I _need_ foomatic-filters - otherwise my printer doesn't |
9 |
> > print. Or do I? cups-filters seems to be needed by cups. |
10 |
|
11 |
> > What _are_ cups-filters and foomatic-filters? emerge -s is little help |
12 |
> > here. Why do I need both of them? |
13 |
|
14 |
> * cups-filters is a former part of cups that provides file format conversions |
15 |
> (among other things). Basically it (also) makes sure that everything is |
16 |
> internally converted to PDF. It's not part of CUPS (as maintained by Apple) |
17 |
> anymore, but hard-required by CUPS on Linux (and maintained by the Linux |
18 |
> Foundation). |
19 |
|
20 |
> * foomatic-filters is a set of printer drivers, basically. |
21 |
|
22 |
> * Some time ago the cups-filters maintainers took over maintainership of the |
23 |
> foomatic-filters part for CUPS as well, and integrated it cleanly into cups- |
24 |
> filters. That's the reason for the blocker; recent cups-filters contain the |
25 |
> newest foomatic code available. The former separate foomatic-filters package |
26 |
> is now unmaintained. |
27 |
|
28 |
Thanks! That was brilliantly clear and informative. |
29 |
|
30 |
> So, we have the following possibilities for installation: |
31 |
|
32 |
> 1) normal CUPS user, recommended, this is what comes by default (unless you do |
33 |
> something stupid such as USE="-*") |
34 |
> net-print/cups |
35 |
> net-print/cups-filters[foomatic] |
36 |
|
37 |
This is what I now have. |
38 |
|
39 |
> 2) NOT recommended, dead code, unmaintained: |
40 |
> net-print/cups |
41 |
> net-print/cups-filters[-foomatic] |
42 |
> net-print/foomatic-filters |
43 |
|
44 |
> 3) for the stone age people out there, NOT recommended, dead code, |
45 |
> unmaintained: |
46 |
> any other printing system, e.g. lprng |
47 |
> net-print/foomatic-filters |
48 |
|
49 |
I had lprng when I first installed Gentoo (2010). It just worked (with |
50 |
apsfilter(?s) rather than foomatic). Was forced, with regret, to switch |
51 |
to cups when libreoffice stopped supporting traditional print spoolers. |
52 |
|
53 |
> So, what's wrong in your case? No idea, but after longish not-updating things |
54 |
> do get hard for emerge to unravel. My recommendation is, since foomatic- |
55 |
> filters and cups-filters are only needed for printing and emerge runs fine |
56 |
> without them, force-remove both and let emerge figure out the right package |
57 |
> set from scratch. |
58 |
|
59 |
This worked! I now have printing. |
60 |
|
61 |
> [This basically works with any blocker as a last resort, but can be *very* |
62 |
> dangerous for packages that are needed by the core system. You definitely |
63 |
> don't want to remove gcc or glibc this way, for example. :)] |
64 |
|
65 |
> emerge -aC net-print/cups-filters net-print/foomatic-filters |
66 |
> emerge -uDNavt --backtrack=100 world |
67 |
|
68 |
I've not plucked up the courage for the world emerge, yet. |
69 |
|
70 |
But the original bug was that I had to get --debug output from emerge to |
71 |
see that it was the foomatic/cups stuff that was clashing. This wasn't |
72 |
contained in the normal, somewhat obscure, emerge error messages. |
73 |
|
74 |
> Cheers, |
75 |
> Andreas |
76 |
|
77 |
> -- |
78 |
> Andreas K. Huettel |
79 |
> Gentoo Linux developer (council, kde) |
80 |
> dilfridge@g.o |
81 |
> http://www.akhuettel.de/ |
82 |
|
83 |
-- |
84 |
Alan Mackenzie (Nuremberg, Germany). |