Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Repository 'x-portage' is missing masters attribute in /opt

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
midway
Apprentice
Apprentice
Posts: 181
Joined: Fri Jun 01, 2012 11:24 am
Location: somewhr in the blighty

Repository 'x-portage' is missing masters attribute in /opt

  • Quote

Post by midway » Fri Oct 18, 2013 9:33 am

received the master set-up error after the update this morning. The file in the path doesn't exist however.

Code: Select all

~ # emerge --sync
WARNING: One or more repositories have missing repo_name entries:

        /opt/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.

>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
>>> Starting rsync with rsync://88.191.100.68/gentoo-portage...
>>> Checking server timestamp ...
.
.
.
.
Number of files: 175091
Number of files transferred: 16
Total file size: 308.61M bytes
Total transferred file size: 624.91K bytes
Literal data: 624.91K bytes
Matched data: 0 bytes
File list size: 4.37M
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 25.61K
Total bytes received: 4.66M

sent 25.61K bytes  received 4.66M bytes  240.49K bytes/sec
total size is 308.61M  speedup is 65.81
!!! Repository 'x-portage' is missing masters attribute in '/opt/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
I do have /usr/portage/metadata/layout.conf though which reads:

Code: Select all

# This went live Wednesday, July 4, 2012 at 10:00 UTC
# For more details, please see: http://archives.gentoo.org/gentoo-dev-announce/msg_00000.xml
# and/or GLEP 59.
manifest-hashes = SHA256 SHA512 WHIRLPOOL

# Bug #470670 - gentoo's council says to deprecate
# EAPIs 1 and 2.
eapis-deprecated = 1 2

# Bug #337853 - gentoo's council says to enable
# --echangelog by default for the "gentoo" repo
update-changelog = true

# Make egencache generate newer (more reliable)
# md5-dict cache format (see bug #409445).
# NOTE: list md5-dict first so clients prefer it
# INFRA NOTE: Format 'pms' was removed on Aug 6 2012. (Announced prior as Aug 1
# 2012 was the removal date)
cache-formats = md5-dict

# Support for implicit masters is deprecated, so we need to explicitly
# specify that this repo does not dependent on any masters, in order
# to distinguish it from repos that rely on the deprecated behavior.
masters =
Top
eyoung100
Veteran
Veteran
User avatar
Posts: 1428
Joined: Fri Jan 23, 2004 10:45 pm

  • Quote

Post by eyoung100 » Fri Oct 18, 2013 2:43 pm

Code: Select all

echo x-portage >> /opt/portage/profiles/repo_name
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Top
midway
Apprentice
Apprentice
Posts: 181
Joined: Fri Jun 01, 2012 11:24 am
Location: somewhr in the blighty

  • Quote

Post by midway » Fri Oct 18, 2013 4:25 pm

eyoung100 wrote:

Code: Select all

echo x-portage >> /opt/portage/profiles/repo_name

Code: Select all

~ # echo x-portage >> /opt/portage/profiles/repo_name
-bash: /opt/portage/profiles/repo_name: No such file or directory
Top
eyoung100
Veteran
Veteran
User avatar
Posts: 1428
Joined: Fri Jan 23, 2004 10:45 pm

  • Quote

Post by eyoung100 » Fri Oct 18, 2013 4:27 pm

Code: Select all

nano -w /opt/portage/repo_name
Add x-portage, save the file.
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Top
midway
Apprentice
Apprentice
Posts: 181
Joined: Fri Jun 01, 2012 11:24 am
Location: somewhr in the blighty

  • Quote

Post by midway » Fri Oct 18, 2013 4:35 pm

eyoung100: created the repo_name and added x-portage. Still doing a emerge --sync it complains

!!! Repository 'x-portage' is missing masters attribute in '/opt/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Top
eyoung100
Veteran
Veteran
User avatar
Posts: 1428
Joined: Fri Jan 23, 2004 10:45 pm

  • Quote

Post by eyoung100 » Fri Oct 18, 2013 6:24 pm

Code: Select all

# Support for implicit masters is deprecated, so we need to explicitly 
# specify that this repo does not dependent on any masters, in order 
# to distinguish it from repos that rely on the deprecated behavior. 
masters = 
You need to talk to the repo maintainer as the layout.conf specifically states as above but emerge will keep complaing until masters=gentoo
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Top
jms.gentoo
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Thu May 07, 2009 5:29 am

  • Quote

Post by jms.gentoo » Sun Nov 12, 2023 3:10 pm

also check in
/etc/portage/make.conf
if you have
PORTDIR_OVERLAY=whatever
" This variable is deprecated in favor of settings in repos.conf. This variable is a space-delimited list of directories. "
https://devmanual.gentoo.org/eclass-ref ... index.html
if you have moved from layman to eselect repository
you might want to delete it
Top
freke
Veteran
Veteran
Posts: 1136
Joined: Thu Jan 23, 2003 3:17 pm
Location: Somewhere in Denmark
Contact:
Contact freke
Website

  • Quote

Post by freke » Sun Nov 12, 2023 4:55 pm

You're reviving *quite* old posts ;)
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic