emerge complains for repository 'user_defined'

Anything that pertains to Portage

Moderator: Moderators

emerge complains for repository 'user_defined'

Postby yannos » Sat Sep 14, 2013 17:30

Hi after a fresh install + recommended update after first reboot, I ran 'emerge inkscape' cmd.
I got:
!!! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility

typing nano /usr/.../layout.conf return no such file...
the layout.conf file is in /usr/portage/metadata/.
Why emerge looks for it in the wrong place?
Why this warning still remains after I've set 'master = gentoo" in the corresponding file and made a copy of it where emerge
is looking for it ?

yannos
yannos
Baby Hen
 
Posts: 11
Joined: Wed Jul 17, 2013 18:02

Re: emerge complains for repository 'user_defined'

Postby albfneto » Mon Sep 16, 2013 20:10

this is a caracteristic to be implemented in portage in the future....

for solution:

Code: Select all
mkdir -p /usr/local/portage/local-overlay/metadata
echo "masters = gentoo" >> /usr/local/portage/local-overlay/metadata/layout.conf
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1728
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: emerge complains for repository 'user_defined'

Postby yannos » Mon Sep 16, 2013 21:11

Thank you sir!
yannos
Baby Hen
 
Posts: 11
Joined: Wed Jul 17, 2013 18:02

Re: emerge complains for repository 'user_defined'

Postby yannos » Mon Sep 16, 2013 21:17

Still got the same,.. for example:
emerge --version
!!! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.4 (default/linux/amd64/13.0/desktop, gcc-4.7.3-vanilla, glibc-2.17, 3.10.0-sabayon x86_64)
yannos
Baby Hen
 
Posts: 11
Joined: Wed Jul 17, 2013 18:02

Re: emerge complains for repository 'user_defined'

Postby sabayonino » Mon Sep 16, 2013 21:39

yannos wrote:Still got the same,.. for example:
emerge --version
!!! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.4 (default/linux/amd64/13.0/desktop, gcc-4.7.3-vanilla, glibc-2.17, 3.10.0-sabayon x86_64)


see t error :
Code: Select all
! Repository 'user_defined' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'


as Alberto wrote but in:

/usr/local/portage/metadata/layout.conf


not
/usr/local/portage/local-overlay/metadata/layout.conf
User avatar
sabayonino
Sagely Hen
 
Posts: 2679
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: emerge complains for repository 'user_defined'

Postby yannos » Mon Sep 23, 2013 10:05

sabayonino wrote:
yannos wrote:Still got the same,.. for example:
as Alberto wrote but in:
/usr/local/portage/metadata/layout.conf
not
/usr/local/portage/local-overlay/metadata/layout.conf


Since the 2 errors I got with Sabayon still remain the same (NVidia taints kernel/Emerge complains for 'user defined') and still not able to correct any of these 2... I try a fresh install onto another USB HD attached to the same laptop (4 years old Asus K7010 series/CoreDuo2-T6500-2.1Gh/Geforce GT 120M)...
I of course use the same iso (13.08, as for the 1rst install...
Still got the same borring:

dmesg |grep nvidia
[ 24.462317] nvidia: module license 'NVIDIA' taints kernel.
[ 24.462319] nvidia: module license 'NVIDIA' taints kernel.
[ 24.508872] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:02:00.0 on minor 0

But if I run any emerge cmd, do not get any more warning about any 'user defined' directory... though if I do:
ls /usr/local/portage/
I get:
profiles
???! 2 of the same 13.08 iso installed on 2 HDs attached to the same laptop do not behave the same !!!?

I simply wonder why, and also how to correct the NVidia/kernel conflict.

Any help will be very welcome... I do fell like turning round ;-)

Later,
yannos
yannos
Baby Hen
 
Posts: 11
Joined: Wed Jul 17, 2013 18:02

Re: emerge complains for repository 'user_defined'

Postby albfneto » Mon Sep 23, 2013 16:27

The errors in emerge, are for future compatibility, not necessary to correct this.

if you want to install the NVIDIA drivers with emerge - (more difficult) easier with Equo command or kernel-switcher...

if NVIDIA with emerge, remember that you need to re-install the kernel, their sources, and compile the driver internally (inside) this kernel:

Code: Select all
emerge sabayon-sources genkernel linux-sabayon nvidia-drivers nvidia-settings nvidia-userspace


but is much easier using equo command or kernel-switcher. see for example:

https://forum.sabayon.org/viewtopic.php?f=89&t=30714
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1728
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests

cron