-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09.10.2012 20:19, James wrote:
> Hinnerk van Bruinehsen <h.v.bruinehsen <at> fu-berlin.de> writes:
> 
> 
>> Sounds fine up to here. Make sure you have a line "source 
>> /var/lib/layman/make.conf" inside your make.conf and try to
>> emerge the driver. It should work then.
> 
> Something is wrong.
> 
> What I have: cat /etc/make.conf <snip>
> 
> LAYMAN PORTDIR_OVERLAY="/usr/local/portage" source
> /var/lib/layman/make.conf
> 
> SO should this  be (?): PORTDIR_OVERLAY="/var/lib/layman"
> 
> 
> cat /var/lib/layman/make.conf: 
> ##PORTDIR_OVERLAY="/usr/local/portage"
> 
> PORTDIR_OVERLAY="$PORTDIR_OVERLAY"
> 
> 
> Here is what I get:
> 
> # layman -a printer-drivers * Failed to add overlay
> "printer-drivers". * Error was: Overlay "printer-drivers" already
> in the local list!
> 
> 
> # ls /var/lib/layman/ cache_ac494f50f5736be7871962c0dec7b3bb.xml
> make.conf.old.layman printer-drivers  make.conf  overlays.xml
> zugaina
> 
> 
> ls -R /usr/local/portage/net-print
> 
> brother-mfc6490cw-cups  brother-mfc6490cw-lpr
> 
> ./brother-mfc6490cw-cups: Manifest
> brother-mfc6490cw-cups-1.1.2_p2.ebuild
> 
> ./brother-mfc6490cw-lpr: brother-mfc6490cw-lpr-1.1.2_p2.ebuild
> 
> # eix printer-driver No matches found.
> 
> # emerge -pv printer-drivers These are the packages that would be
> merged, in order: Calculating dependencies... done! emerge: there
> are no ebuilds to satisfy "printer-drivers".
> 
> 
> Obviously I've got something wrong.....(following too many
> guides).
> 
> Ideas?
> 
 Step 1: remove anything layman/overlay-related from /etc/make.conf
except:
source /var/lib/layman/make.conf

Step 2:
layman -d printer-drivers
layman -a printer-drivers

Now the printer-drivers-overlay should be installed correctly.
Check if /var/lib/layman/make.conf contains:

PORTDIR_OVERLAY="
/var/lib/layman/printer-drivers
$PORTDIR_OVERLAY
"

maybe it has got other newlines or indentation, but the contents
should be this. If not, though something's strange then, try edit the
file manually to make it look like this.

Try:
emerge <ebuild-name>

It should work then.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQdG/rAAoJEJwwOFaNFkYcwyUIAMMvb8MFGBaFw2H8RnYvcw2N
AE+F+CqC0G7/uA05y/TN6sPQA94hqG0YiThzTx/KsenC+o5CBrCSsJnAss4lOyp3
auzuAyHS4hHCyKCEGFccqsymD0tjtEr+NnJkxpFr9KVo+Pgd0+6tmQn/z9W9NeSi
JXDKpuHvKaURQy5hxha8kr6cIxzAFpCDYEKnttCBgCQzH2jLzguwFBlozWTNPa5L
aZ49XdmhMliwPs9YfVEj0587qqUZyDoGw0n63r+q0KHcup6LJ+agu1FuQSdQINKX
ovjpBFk+D+FV0fLD5nFjgAXOYL2PXFC9LtnVcZ4BI9K3F+Wizcd8FCQyMYk/mbw=
=H312
-----END PGP SIGNATURE-----

Reply via email to