1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 09.10.2012 20:19, James wrote: |
5 |
> Hinnerk van Bruinehsen <h.v.bruinehsen <at> fu-berlin.de> writes: |
6 |
> |
7 |
> |
8 |
>> Sounds fine up to here. Make sure you have a line "source |
9 |
>> /var/lib/layman/make.conf" inside your make.conf and try to |
10 |
>> emerge the driver. It should work then. |
11 |
> |
12 |
> Something is wrong. |
13 |
> |
14 |
> What I have: cat /etc/make.conf <snip> |
15 |
> |
16 |
> LAYMAN PORTDIR_OVERLAY="/usr/local/portage" source |
17 |
> /var/lib/layman/make.conf |
18 |
> |
19 |
> SO should this be (?): PORTDIR_OVERLAY="/var/lib/layman" |
20 |
> |
21 |
> |
22 |
> cat /var/lib/layman/make.conf: |
23 |
> ##PORTDIR_OVERLAY="/usr/local/portage" |
24 |
> |
25 |
> PORTDIR_OVERLAY="$PORTDIR_OVERLAY" |
26 |
> |
27 |
> |
28 |
> Here is what I get: |
29 |
> |
30 |
> # layman -a printer-drivers * Failed to add overlay |
31 |
> "printer-drivers". * Error was: Overlay "printer-drivers" already |
32 |
> in the local list! |
33 |
> |
34 |
> |
35 |
> # ls /var/lib/layman/ cache_ac494f50f5736be7871962c0dec7b3bb.xml |
36 |
> make.conf.old.layman printer-drivers make.conf overlays.xml |
37 |
> zugaina |
38 |
> |
39 |
> |
40 |
> ls -R /usr/local/portage/net-print |
41 |
> |
42 |
> brother-mfc6490cw-cups brother-mfc6490cw-lpr |
43 |
> |
44 |
> ./brother-mfc6490cw-cups: Manifest |
45 |
> brother-mfc6490cw-cups-1.1.2_p2.ebuild |
46 |
> |
47 |
> ./brother-mfc6490cw-lpr: brother-mfc6490cw-lpr-1.1.2_p2.ebuild |
48 |
> |
49 |
> # eix printer-driver No matches found. |
50 |
> |
51 |
> # emerge -pv printer-drivers These are the packages that would be |
52 |
> merged, in order: Calculating dependencies... done! emerge: there |
53 |
> are no ebuilds to satisfy "printer-drivers". |
54 |
> |
55 |
> |
56 |
> Obviously I've got something wrong.....(following too many |
57 |
> guides). |
58 |
> |
59 |
> Ideas? |
60 |
> |
61 |
Step 1: remove anything layman/overlay-related from /etc/make.conf |
62 |
except: |
63 |
source /var/lib/layman/make.conf |
64 |
|
65 |
Step 2: |
66 |
layman -d printer-drivers |
67 |
layman -a printer-drivers |
68 |
|
69 |
Now the printer-drivers-overlay should be installed correctly. |
70 |
Check if /var/lib/layman/make.conf contains: |
71 |
|
72 |
PORTDIR_OVERLAY=" |
73 |
/var/lib/layman/printer-drivers |
74 |
$PORTDIR_OVERLAY |
75 |
" |
76 |
|
77 |
maybe it has got other newlines or indentation, but the contents |
78 |
should be this. If not, though something's strange then, try edit the |
79 |
file manually to make it look like this. |
80 |
|
81 |
Try: |
82 |
emerge <ebuild-name> |
83 |
|
84 |
It should work then. |
85 |
|
86 |
|
87 |
-----BEGIN PGP SIGNATURE----- |
88 |
Version: GnuPG v2.0.19 (GNU/Linux) |
89 |
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ |
90 |
|
91 |
iQEcBAEBAgAGBQJQdG/rAAoJEJwwOFaNFkYcwyUIAMMvb8MFGBaFw2H8RnYvcw2N |
92 |
AE+F+CqC0G7/uA05y/TN6sPQA94hqG0YiThzTx/KsenC+o5CBrCSsJnAss4lOyp3 |
93 |
auzuAyHS4hHCyKCEGFccqsymD0tjtEr+NnJkxpFr9KVo+Pgd0+6tmQn/z9W9NeSi |
94 |
JXDKpuHvKaURQy5hxha8kr6cIxzAFpCDYEKnttCBgCQzH2jLzguwFBlozWTNPa5L |
95 |
aZ49XdmhMliwPs9YfVEj0587qqUZyDoGw0n63r+q0KHcup6LJ+agu1FuQSdQINKX |
96 |
ovjpBFk+D+FV0fLD5nFjgAXOYL2PXFC9LtnVcZ4BI9K3F+Wizcd8FCQyMYk/mbw= |
97 |
=H312 |
98 |
-----END PGP SIGNATURE----- |