troubles in Portage

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

Post Reply
dtulf
Baby Hen
Posts: 4
Joined: Wed Aug 05, 2015 8:38
Location: Argentina

troubles in Portage

Post by dtulf » Mon Aug 10, 2015 5:43

Hello everyone! After updating and upgrading, I get the following error:
Section 'gentoo' in repos.conf has name different from repository name 'user_defined' set inside repository
!!! SYNC setting found in make.conf.
This setting is Deprecated and no longer used. Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
Unavailable repository 'gentoo' referenced by masters entry in '/usr/local/portage/metadata/layout.conf'
/etc/portage/repos.conf/gentoo.conf is
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/local/portage/
sync-type = rsync
sync-uri = rsync://rsync.europe.gentoo.org/gentoo-portage


Really I do not know what to do. I'm from Argentina then my English is bad, I hope you will understand and can help. I sent a cap.
Image

Stupot
Sagely Hen
Posts: 1733
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: troubles in Portage

Post by Stupot » Mon Aug 10, 2015 16:24

It looks like you are mixing up Entropy (Sabayon's binary package management) with Portage (Gentoo's source package management).

The 'equo' command is for entropy only. 'emerge' is the command used for portage. Even though the packages can somewhat be installed side by side, entropy repositories are not interchangeable with Gentoo repositories (overlays/ main tree).

I'm not 100% sure why you are seeing that message from the entropy command, since /etc/portage/repos.conf/ isn't where the repos are maintained, if I recall correctly. I could be more of service if I were home right now...

Fitzcarraldo
Sagely Hen
Posts: 8195
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: troubles in Portage

Post by Fitzcarraldo » Mon Aug 10, 2015 18:52

Looks like you may have a make.conf file that is not the standard SL make.conf. The standard SL make.conf should look like the following, so check yours:

Code: Select all

[email protected] ~ $ cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example

# Compiler stuff
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
# Only enable Graphite via package.env
CFLAGS="-O2 -march=x86-64 -pipe" # -ftree-vectorize ${GRAPHITE}"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -s"

# Portage stuff
ACCEPT_KEYWORDS="~amd64"
FEATURES="parallel-fetch protect-owned compressdebug splitdebug"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/ccache"

LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr [email protected] ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"

## USE ##
SAB_BAD="-kdeprefix -arts -qt3 -beagle -gnome -evo -mono -eds -apm -oss -branding -esd"
SAB_MEDIA="musicbrainz sdl pulseaudio wmf fame cdr dvi mp3rtp xine cddb alsa dvb dvd bluray network dvdread ipod audiofile artswrappersuid dvdr jack dri cdda mjpeg mmx joystick xvmc cpudetection v4l v4l2"
SAB_CODECS="x264 x265 gsm lame dv mp3 stream live openal theora ogg a52 win32codecs matroska xvid flac ffmpeg aac speex real dts musepack"
SAB_SYSTEM="cjk unicode gnutls nptl gcj udev systemd logind -consolekit kerberos acl dbus bash-completion lzo rar policykit xcb bzip2 bidi wifi lm_sensors acpi usb pcmcia bluetooth irda ieee1394 perl python"
SAB_FILESYS="fat hfs jfs xfs ntfs reiserfs sysfs inotify"
SAB_PRINT="cups ppds foomatic-db gimpprint freetype xprint scanner"
SAB_XSYS="cairo X opengl png gif gtk qt4 qt3support xpm tiff xinerama aiglx svg gphoto2 dga lcd openexr" 
SAB_DESKTOP="kdehiddenvisibility gmp libnotify rdesktop pda zeroconf kdeenablefinal visualization avahi startup-notification accessibility"
SAB_BROWSER="nsplugin firefox mozdevelop xulrunner"
SAB_COMMS="jabber msn yahoo icq irc aim rss slp mail imap"

USE="${SAB_BAD} ${SAB_MEDIA} ${SAB_CODECS} ${SAB_SYSTEM} ${SAB_FILESYS} ${SAB_PRINT} ${SAB_XSYS} ${SAB_DESKTOP} ${SAB_BROWSER} ${SAB_COMMS}"

## DEVICES ##
INPUT_DEVICES="evdev void"
VIDEO_CARDS="fbdev vesa radeonsi radeon"
LIRC_DEVICES="audio audio_alsa serial pctv"
ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y"
CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template"

## OFFICE ##
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher"

## QEMU ##
QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64"
QEMU_SOFTMMU_TARGETS="x86_64 arm cris i386 m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64"

## PORTAGE CONFIG ##
PORTDIR_OVERLAY="/usr/local/portage"
source /var/lib/layman/make.conf
CONFIG_PROTECT="/usr/share/config/kdm /etc /etc/conf.d /etc/init.d"
# /lib/modules mask is useful for our internal tinderbox
CONFIG_PROTECT_MASK="/etc/skel /lib/modules"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
APACHE2_MPMS="prefork"
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://archive.mmu.edu.my/gentoo rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://mirror.neolabs.kz/gentoo http://ftp.gentoo.bg/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo"

USE_PYTHON="2.7"
PYTHON_TARGETS="python2_7 python3_4"

# Some more forced targets
PHP_TARGETS="php5-5"
RUBY_TARGETS="ruby20"

# Apache suEXEC default UMASK
# See bug 3544
SUEXEC_UMASK=022

# Setup GRUB platforms
GRUB_PLATFORMS="efi-32 efi-64 pc"

# Support both 64bit and 32bit
ABI_X86="64 32"

# Set PORTDIR for backward compatibility with various tools:
#   gentoo-bashcomp - bug #478444
#   euse - bug #474574
#   euses and ufed - bug #478318
PORTDIR="/usr/portage"
If make.conf still has the line beginning "SYNC=", try commenting it out. Also, /etc/portage/repos.conf/gentoo.conf should these days look something like the following:

Code: Select all

[email protected] ~ $  cat /etc/portage/repos.conf/gentoo.conf 
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.europe.gentoo.org/gentoo-portage
so edit yours and change the location as per the above.

dtulf
Baby Hen
Posts: 4
Joined: Wed Aug 05, 2015 8:38
Location: Argentina

Re: troubles in Portage

Post by dtulf » Tue Aug 11, 2015 4:55

ok. I comentted "#SYNC=" and now show me this
Repository 'x-portage' is missing masters attribute in '/usr/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
I check

Code: Select all

animal dtulf # cat /usr/portage/metadata/layout.conf
cat: /usr/portage/metadata/layout.conf: No existe el fichero o el directorio
I make the directory and file or do I do? thanks for the answers

User avatar
sabayonino
Sagely Hen
Posts: 3373
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: troubles in Portage

Post by sabayonino » Tue Aug 11, 2015 8:57

dtulf wrote:ok. I comentted "#SYNC=" and now show me this
Repository 'x-portage' is missing masters attribute in '/usr/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
I check

Code: Select all

animal dtulf # cat /usr/portage/metadata/layout.conf
cat: /usr/portage/metadata/layout.conf: No existe el fichero o el directorio
I make the directory and file or do I do? thanks for the answers

Code: Select all

# echo "masters = gentoo" > /usr/portage/metadata/layout.conf

dtulf
Baby Hen
Posts: 4
Joined: Wed Aug 05, 2015 8:38
Location: Argentina

Re: troubles in Portage

Post by dtulf » Wed Aug 12, 2015 4:03

Code: Select all

# echo "masters = gentoo" > /usr/portage/metadata/layout.conf

Code: Select all

animal dtulf # echo "masters = gentoo" > /usr/portage/metadata/layout.conf
bash: /usr/portage/metadata/layout.conf: No existe el fichero o el directorio

Miorin
Baby Hen
Posts: 10
Joined: Sat Jun 27, 2015 16:24

Re: troubles in Portage

Post by Miorin » Thu Aug 13, 2015 22:02

Fitzcarraldo wrote:Looks like you may have a make.conf file that is not the standard SL make.conf. The standard SL make.conf should look like the following, so check yours:

Code: Select all

[email protected] ~ $ cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
---*snip*---
## PORTAGE CONFIG ##
PORTDIR_OVERLAY="/usr/local/portage"
source /var/lib/layman/make.conf
CONFIG_PROTECT="/usr/share/config/kdm /etc /etc/conf.d /etc/init.d"
# /lib/modules mask is useful for our internal tinderbox
CONFIG_PROTECT_MASK="/etc/skel /lib/modules"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"   <--- Here's the culprit!!
APACHE2_MPMS="prefork"
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://archive.mmu.edu.my/gentoo rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://mirror.neolabs.kz/gentoo http://ftp.gentoo.bg/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo"
---*snip*---"
If make.conf still has the line beginning "SYNC=", try commenting it out...
I marked the line in your quote that's triggering the warning (and truncated the quote to make it easier to find).
I have it as well on a freshly installed system.
In fact, ALL my Sabayon systems are throwing this warning now, since a recent update, and I haven't touched /etc/portage/make.conf on any of them.

Have Fun! :D
M.
While I may not always have the correct solution, my input could lead you in the right direction...
If you don't know what a command does, then type 'man <command>' or '<command> --help' to find out.

Post Reply