Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
repo_name warning [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bendy
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 274
Location: Gloucester, UK

PostPosted: Sat Nov 29, 2008 4:22 pm    Post subject: repo_name warning [Solved] Reply with quote

I've started to get the following warning message every time I interact with portage:
Code:
WARNING: One or more repositories have missing repo_name entries:

        /usr/portage/local/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.

It doesn't seem to actually cause a problem, but does anyone know what it means and how I can stop it? I don't have a profiles directory under /usr/portage/local/ and I am using layman for the kde-testing overlay.
Code:
nickdesk nick # emerge --info                       
WARNING: One or more repositories have missing repo_name entries:

        /usr/portage/local/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.                 
Portage 2.2_rc16 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)                                                                           
=================================================================                     
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-glibc2.2.5                                                                 
Timestamp of tree: Sat, 29 Nov 2008 03:49:01 +0000                                   
app-shells/bash:     3.2_p33                                                         
dev-java/java-config: 1.3.7, 2.1.6                                                   
dev-lang/python:     2.5.2-r7                                                         
dev-util/cmake:      2.6.2                                                           
sys-apps/baselayout: 1.12.11.1                                                       
sys-apps/sandbox:    1.2.18.1-r2                                                     
sys-devel/autoconf:  2.13, 2.61-r2                                                   
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                     
sys-devel/binutils:  2.18-r3                                                         
sys-devel/gcc-config: 1.4.0-r4                                                       
sys-devel/libtool:   1.5.26                                                           
virtual/os-headers:  2.6.23-r3                                                       
ACCEPT_KEYWORDS="amd64"                                                               
CBUILD="x86_64-pc-linux-gnu"                                                         
CFLAGS="-march=k8 -O2 -fomit-frame-pointer -msse3 -pipe"                             
CHOST="x86_64-pc-linux-gnu"                                                           
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"                                                                   
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                 
CXXFLAGS="-march=k8 -O2 -fomit-frame-pointer -msse3 -pipe"                           
DISTDIR="/usr/portage/distfiles"                                                     
FEATURES="collision-protect distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                         
GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo "                           
LC_ALL="en_GB.UTF-8"                                                                 
LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu,--sort-common"                         
LINGUAS="en en_GB"                                                                   
MAKEOPTS="-j3"                                                                       
PKGDIR="/usr/portage/packages"                                                       
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                   
PORTAGE_TMPDIR="/var/tmp"                                                             
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde-testing /usr/portage/local/layman/kde-testing /usr/portage/local /usr/portage/local"
SYNC="rsync://newserver/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amarok amazon amd64 ao arts artswrappersuid audiofile binary-drivers branding bzip2 cairo cdaudio cdr clucene cpudetection cups curl cxx dbus doc dri dv dvd dvdnav dvdr dvdread encode exif fam ffmpeg firefox flac ftp gif gimp glibc-omitfp hal htmlhandbook http ieee1394 imagemagick imlib inotify ithreads javascript joystick jpeg kde kdehiddenvisibility kqemu ladspa lame libsamplerate lm_sensors logrotate mad midi mikmod mjpeg mmap mmx mmxext motif mp3 mp4 mpeg mpeg2 mplayer multilib musicbrainz ncurses nfs nls nptl nptlonly nsplugin ntfs nvidia ogg opengl pam parted pcre pda pdf perl perlsuid plasma pmount png ppds python qemu qt3 qt3support qt4 quicktime rar readline realmedia reiserfs rtc scanner sdl semantic-desktop sensord session smp sndfile spamassassin spell sqlite sse sse2 ssl ssse3 svg threads threadsafe tiff truetype type1 unicode unzip usb vcd visualization vorbis webdav webdav-neonwmp xcb xcomposite xforms xfs xine xml xorg xpm xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm asym dmix empty iec958 ioplug plug softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrackvhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Thanks!


Last edited by bendy on Sat Nov 29, 2008 4:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sat Nov 29, 2008 4:30 pm    Post subject: Reply with quote

Code:
mkdir /usr/portage/local/profiles/
echo "$HOSTNAME" > /usr/portage/local/profiles/repo_name
by example
Quote:
Each repo_name entry should be a plain text file containing a unique name for the repository on the first line
:wink:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
bendy
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 274
Location: Gloucester, UK

PostPosted: Sat Nov 29, 2008 4:44 pm    Post subject: Reply with quote

Thanks djinnZ, that fixed it!
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Thu Sep 02, 2010 6:46 pm    Post subject: Reply with quote

djinnZ wrote:
Code:
mkdir /usr/portage/local/profiles/
echo "$HOSTNAME" > /usr/portage/local/profiles/repo_name


I think this should be:

Code:
mkdir -p /usr/local/portage/profiles
echo "$HOSTNAME" >> /usr/local/portage/profiles/repo_name

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum