How to add another repository [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

How to add another repository [Solved]

Postby Verrerouseau » Mon Feb 23, 2009 22:11

Hello I am a new Sabayon user with (hopefully) some simple questions, I would like to use 2 applications
I like very much one I tried wich was available in the Spritz package manager (Zynaddsubfx) but this
aplication crashes as soon i touch the keyboard (I found out that a bug was already noticed).
So I also found out that there is another Zynaddsubfx and LMMS (wich I really want to install) in a
so called pro-audio repository.
Weather I found so many howto's about so many things related that I have no idea where to start, just
all I want to know is how can I put this pro-audio-repository into Spritz?
Verrerouseau
Baby Hen
 
Posts: 4
Joined: Mon Feb 23, 2009 21:49

Re: How to add another repository

Postby wolfden » Mon Feb 23, 2009 23:26

you can't - should probably submit a bug report with the issues you are having with the one in entropy

you have to use layman and emerge to add Gentoo overlays

http://www.gentoo.org/proj/en/overlays/userguide.xml

You have to manually add the overlay via layman than emerge the packages -- mixing the package manager isn't recommended unless you know what you are doing tho. So keep that in mind
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: How to add another repository

Postby Verrerouseau » Tue Feb 24, 2009 0:12

Thanks for answer, too bad it seems to be more complicated, I tried then to add a overlay weather it complains:

# layman -a pro-audio
* Failed to add overlay "pro-audio".
* Error was: Overlay "pro-audio" already in the local list!

So it looks like it's ok i think, further:

# emerge -av media-sound lmms
[Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf' in /etc/make.conf

Dunno what to change in make.conf output /etc/make.config is:

____________________________________________________________________________________
# 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
USE="-oss voice weather -esd xine mp3 gnutls cups ppds foomatic-db alsa \
hal gimpprint freetype X unicode kde rdesktop pda zeroconf \
wifi lm_sensors ieee1394 logitech-mouse xinerama bluetooth irda \
sms quotas dvb xprint dvd theora ogg a52 kdeenablefinal \
win32codecs v4l xvid network dvdread fame svg ffmpeg nsplugin wmf \
7Zip visualization accessibility css audiofile \
artswrappersuid musicbrainz gphoto2 povray scanner musepack dvdr jack \
new-login kerberos dbus firefox acpi pcmcia openexr rar dri aac \
fat hfs jfs xfs ntfs reiserfs cjk cdda dts imap flash jabber \
msn yahoo icq irc lj aim bidi rss dxr3 cairo sysfs xpm nptl \
nptlonly gs lzo mjpeg mmx speex slp fftw real joystick xvmc v4l2 \
cpudetection extramodules mail -apm config_wizard dga lcd \
chm gcj ipod flac avahi stream live kdehiddenvisibility tiff \
usb kipi aiglx x264 3dfx pulseaudio dv lame mp3rtp udev cdr dvi \
libnotify bzip2 aalib mng startup-notification openal jingle \
gsm dbox2 cddb -beagle -gnome -evo -mono -eds opengl sdl png \
gif gtk qt3 qt4 qt3support kickoff xcb tracker mozdevelop \
inotify xulrunner kdeprefix jpeg spell fam vorbis gstreamer \
encode mpeg truetype mad xml mikmod device-mapper"
CFLAGS="-Os -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LINGUAS="nl"
PORTAGE_NICENESS="8"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-s -j3"
CONFIG_PROTECT="/usr/kde/3.5/share/config/kdm /etc"
CONFIG_PROTECT_MASK="/etc/skel"
FEATURES="parallel-fetch collision-protect"
#LIRC_DEVICES="audio audio_alsa"
PORT_LOGDIR=/var/lib/entropy/logs
PORTAGE_ELOG_CLASSES="warn info log"
PORTAGE_ELOG_SYSTEM="save"
source /usr/local/portage/layman/make.conf
APACHE2_MPMS="prefork"
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"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/ ftp://sunsite.informatik.rwth-aachen.de ... nux/gentoo ftp://212.219.56.139/sites/www.ibiblio.org/gentoo/"
INPUT_DEVICES="evdev keyboard mouse void"
VIDEO_CARDS="fbdev vesa"

GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
PORTDIR_OVERLAY="/usr/local/overlay"
source /usr/portage/local/layman/make.conf


source /usr/local/portage/layman/make.conf
__________________________________________________________________________________________________________________

I'm sorry for the questions, I'm just not so good at this.
Verrerouseau
Baby Hen
 
Posts: 4
Joined: Mon Feb 23, 2009 21:49

Re: How to add another repository

Postby wolfden » Tue Feb 24, 2009 0:40

read the error:
[Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf' in /etc/make.conf

now look at your make.conf
you have
source /usr/local/portage/layman/make.conf
and
source /usr/portage/local/layman/make.conf

several times

it should be only once
source /usr/local/portage/layman/make.conf

than you need to layman -a than emerge, you really should understand what you are doing first as you can break things mixing the two especially if it pulls a lot of dependencies. emerge -pv package will show you the changes first.
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: How to add another repository

Postby Verrerouseau » Tue Feb 24, 2009 21:03

Yes true the double lines came when things didn't worked and tried it again, must have add things twice.

Like I said I have no idea how to get that layman thing to work, (need baby steps), and I don't care if it should break
(why should I, I just installed it, would like to use for multimedia apps and it doesn't work) it isn't
even fixed, see it from my point off view, I just followed all the steps given in the Gentoo documentation
even tried that what was given on the LMMS site (for Gentoo), and still get errors like:
# emerge -av lmms
WARNING: One or more repositories have missing repo_name entries:

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

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "lmms".

or
# emerge -av media-sound/lmms-0.3.2.ebuild
WARNING: One or more repositories have missing repo_name entries:

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

These are the packages that would be merged, in order:

Calculating dependencies \
!!! media-sound/lmms-0.3.2.ebuild is not in a valid portage tree hierarchy or does not exist


For example I can imagine the warning (the steps given doesn't create a /usr/local/overlay/profiles/repo_name),
so it makes no sense because how should I know about it if it isn't mentioned in the documentation about overlays.
Well ok don't mind, I see my position here, see it as a feedback, some more simplicity (so that is isn't just
nice to the adapted) wouldn't hurt.
Verrerouseau
Baby Hen
 
Posts: 4
Joined: Mon Feb 23, 2009 21:49

Re: How to add another repository

Postby wolfden » Tue Feb 24, 2009 22:23

WARNING: One or more repositories have missing repo_name entries:


you can ignore that, it has nothing to do that effects anything

so you have added the correct line to your make.conf?
than you have layman -a pro-audio
than emerge lmms


it's also in the sabayon overlay so a layman -S make sure you have that overlay added also layman -a sabayon
have you done the ?
Code: Select all
emerge --sync && layman -S

you have to do that step before anything when using portage for first time

You got to learn portage stuffs if you are gonna be using it. Knowing your package manager is vitally important. Take some time getting to know it, there is plenty of documentation on it.
http://wiki.sabayonlinux.org/index.php? ... tage_Guide
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: How to add another repository

Postby Verrerouseau » Wed Feb 25, 2009 18:33

Yes!! Thank you very much, the code:

emerge --sync && layman -S

must have done it, after that the: emerge lmms worked fine.
LMMS is working now, still have to read a lot about Sabayon/Gentoo I guess it seems to be pretty
different then the other linux distro I tried.
For example i still don't know how I can make emerge pick up another Zynaddsubfx then what is
offered in Spritz, but it's ok I use Amsynth for now, thanks!
Verrerouseau
Baby Hen
 
Posts: 4
Joined: Mon Feb 23, 2009 21:49

Re: How to add another repository [Solved]

Postby Skazzy » Sun May 31, 2009 2:39

how come when I try to install LMMS I get that some packages have been masked and cannot be installed or something like that. How do I unmask things?
Skazzy
Baby Hen
 
Posts: 1
Joined: Sat May 30, 2009 15:34

Re: How to add another repository [Solved]

Postby Fitzcarraldo » Wed Nov 11, 2009 17:54

^You need to study the documentation for the Portage package manager; see the Gentoo Handbook.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 3 guests

cron