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

Bug 609466

Summary: app-portage/layman-2.4.2 complains on repo name mismatch
Product: Gentoo Linux Reporter: Alex <fhlfibh>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: trivial CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex 2017-02-15 19:32:53 UTC
Hi,

After regular update of app-portage/layman "equery u anything" complains about repo names, e.g.:
-----------------------------------------------------
alex@genty:~$ equery u layman
!!! Section 'steam' in repos.conf has name different from repository name 'steam-overlay' set inside repository
!!! Section 'steam' in repos.conf has name different from repository name 'steam-overlay' set inside repository
!!! Section 'steam' in repos.conf has name different from repository name 'steam-overlay' set inside repository
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
........
-----------------------------------------------------

My layman.conf:
---------------------------------------------------------
alex@genty:~$ cat /etc/portage/repos.conf/layman.conf 
[steam]
priority = 50
location = /var/lib/layman/steam
layman-type = git
auto-sync = No
---------------------------------------------------------

My repos.conf:
---------------------------------------------------------
alex@genty:~$ cat /etc/portage/repos.conf/repos.conf 
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage
auto-sync = yes
---------------------------------------------------------

I do have Steam installed from overlay, as per https://wiki.gentoo.org/wiki/Steam#Overlay
But there was no such error untill the most recent update.


Regards,
Alex
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-02-17 11:34:31 UTC
(In reply to Alex from comment #0)
> My layman.conf:
> ---------------------------------------------------------
> alex@genty:~$ cat /etc/portage/repos.conf/layman.conf 
> [steam]
> priority = 50
> location = /var/lib/layman/steam
> layman-type = git
> auto-sync = No

This warning is valid - it's pointing out the mismatch between the repo name in your layman.comf (steam) and upstream's reponame (https://raw.githubusercontent.com/anyc/steam-overlay/master/profiles/repo_name - steam-overlay).

If you change your layman config to say steam-overlay instead, the error should disappear.