View previous topic :: View next topic |
Author |
Message |
midway Apprentice
Joined: 01 Jun 2012 Posts: 181 Location: somewhr in the blighty
|
Posted: Fri Oct 18, 2013 9:33 am Post subject: Repository 'x-portage' is missing masters attribute in /opt |
|
|
received the master set-up error after the update this morning. The file in the path doesn't exist however.
Code: |
~ # 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: |
# 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 =
|
|
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
midway Apprentice
Joined: 01 Jun 2012 Posts: 181 Location: somewhr in the blighty
|
Posted: Fri Oct 18, 2013 4:25 pm Post subject: |
|
|
eyoung100 wrote: | Code: | echo x-portage >> /opt/portage/profiles/repo_name |
|
Code: | ~ # echo x-portage >> /opt/portage/profiles/repo_name
-bash: /opt/portage/profiles/repo_name: No such file or directory |
|
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
midway Apprentice
Joined: 01 Jun 2012 Posts: 181 Location: somewhr in the blighty
|
Posted: Fri Oct 18, 2013 4:35 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Fri Oct 18, 2013 6:24 pm Post subject: |
|
|
Code: |
# 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 |
|
Back to top |
|
|
jms.gentoo Tux's lil' helper
Joined: 07 May 2009 Posts: 98
|
Posted: Sun Nov 12, 2023 3:10 pm Post subject: |
|
|
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-reference/make.conf/index.html
if you have moved from layman to eselect repository
you might want to delete it |
|
Back to top |
|
|
freke l33t
Joined: 23 Jan 2003 Posts: 977 Location: Somewhere in Denmark
|
Posted: Sun Nov 12, 2023 4:55 pm Post subject: |
|
|
You're reviving *quite* old posts |
|
Back to top |
|
|
|