Sabayon overlay

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

Re: Sabayon overlay

Postby wmartinez » Wed Jun 03, 2009 22:39

After a fresh install (4.1) i did:
equo update
layman -d sabayon (because of the git-svn issue)
layman -a sabayon (gives the problem: no git installed)
equo install dev-util/git
and then tried again:
layman -a sabayon
output:
* Running command "/usr/bin/git clone "git://sabayon.org/projects/overlay.git" "/usr/local/portage/layman/sabayon""...
Initialized empty Git repository in /usr/local/portage/layman/sabayon/.git/
sabayon.org[0: 193.200.56.132]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
* Failed to add overlay "sabayon".
* Error was: Adding the overlay failed! Possible remains of the opration have NOT been removed and may be left at /usr/local/portage/layman/sabayon. Please remove them manually if required.
Well there are 3 files in /usr/local/portage/layman:
make.conf, overlays.xml and cache_65bd38402ac8431067b54904bd2ed2d1.xml
What do I suppose to do next?
Wilfredo Martinez
wmartinez
Baby Hen
 
Posts: 3
Joined: Tue Dec 16, 2008 1:26

Re: Sabayon overlay

Postby wolfden » Wed Jun 03, 2009 23:49

try
layman -f -a sabayon
?
User avatar
wolfden
Sharecropper
 
Posts: 8824
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Sabayon overlay

Postby WarraWarra » Thu Jun 04, 2009 0:22

You can just kill the layman folder.
rm -rf /usr/local/portage/layman

Why your connection is refused that is weard maybe they where doing maintenance or it timed out.
Try to ping the server and see how it goes.
ping -c 2 sabayon.org

For me in vmware it looks like this and works.
Code: Select all
tweak a # ping -c 2 sabayon.org
PING sabayon.org (193.200.56.132) 56(84) bytes of data.
64 bytes from 193.200.56.132: icmp_seq=1 ttl=128 time=281 ms
64 bytes from 193.200.56.132: icmp_seq=2 ttl=128 time=237 ms

--- sabayon.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 5709ms
rtt min/avg/max/mdev = 237.540/259.407/281.275/21.873 ms
tweak a #


If you have a high ping or lots of packet loss / resending the same info by networking device then it will fail as well.

opendns nameserver 208.67.220.220 or 208.67.222.222
Verizon nameserver 4.2.2.1 or 2 or 3 or 4 or 5

nano /etc/resolv.conf
Code: Select all
# Generated by NetworkManager
domain localdomain
search localdomain
nameserver 208.67.222.222
nameserver 4.2.2.1
nameserver 208.67.220.220
nameserver 4.2.2.4


They improve ping and feels faster but on high traffic days they also get to resend packets dew to congestion on the internet.
http://www.speedtest.net
to test for optimal config.

Code: Select all
tweak a # layman -S
* Running command "cd "/usr/local/portage/layman/sabayon" && /usr/bin/git pull"...
remote: Counting objects: 144, done.
remote: Compressing objects: 100% (99/99), done.
remote: Total 99 (delta 72), reused 0 (delta 0)
Unpacking objects: 100% (99/99), done.
From git://sabayon.org/projects/overlay
   f2331bf..1f069ee  master     -> origin/master
Updating f2331bf..1f069ee
Fast forward
 app-admin/entropy-notification-applet/Manifest     |    2 +-
 .../entropy-notification-applet-0.96.ebuild        |   12 +-
 app-admin/equo/Manifest                            |    2 +-
 app-admin/equo/equo-0.96.ebuild                    |   15 +-
 app-admin/sulfur/Manifest                          |    2 +-
 app-admin/sulfur/sulfur-0.96.ebuild                |   19 +-
 app-office/openoffice/ChangeLog                    |    6 +
 app-office/openoffice/Manifest                     |    6 +-
 ...-3.1.0-r1.ebuild => openoffice-3.1.0-r2.ebuild} |    2 +-
 games-util/playonlinux/Manifest                    |    3 +-
 games-util/playonlinux/playonlinux-3.4.ebuild      |    3 +-
 .../entropy-kioslaves-0.96.ebuild                  |   11 +-
 kde-misc/filelight/ChangeLog                       |   10 +
 kde-misc/filelight/Manifest                        |    3 +
 kde-misc/filelight/filelight-1.9_rc2.ebuild        |   25 +
 profiles/package.mask                              |    7 +
 sys-apps/entropy-client-services/Manifest          |    2 +-
 .../entropy-client-services-0.96.ebuild            |   24 +-
 sys-apps/entropy-server/Manifest                   |    2 +-
 sys-apps/entropy-server/entropy-server-0.96.ebuild |   14 +-
 sys-apps/entropy/Manifest                          |    2 +-
 sys-apps/entropy/entropy-0.96.ebuild               |   15 +-
 sys-kernel/linux-sabayon/Manifest                  |   10 +-
 .../files/linux-sabayon-2.6.29-amd64.config        |    2 +-
 .../files/linux-sabayon-2.6.29-r1-amd64.config     |    2 +-
 .../files/linux-sabayon-2.6.29-r1-x86.config       |    2 +-
 .../files/linux-sabayon-2.6.29-x86.config          |    2 +-
 .../linux-sabayon/linux-sabayon-2.6.29-r1.ebuild   |   40 +-
 x11-drivers/nvidia-drivers/Manifest                |    4 +
 .../nvidia-drivers-173.14.18-r10.ebuild            |  523 ++++++++++++++++++++
 x11-themes/sabayon-artwork-kde/ChangeLog           |   12 +
 x11-themes/sabayon-artwork-kde/Manifest            |    3 +
 .../sabayon-artwork-kde-4.1.99.ebuild              |   76 +++
 33 files changed, 759 insertions(+), 104 deletions(-)
 rename app-office/openoffice/{openoffice-3.1.0-r1.ebuild => openoffice-3.1.0-r2.ebuild} (99%)
 create mode 100644 kde-misc/filelight/ChangeLog
 create mode 100644 kde-misc/filelight/Manifest
 create mode 100644 kde-misc/filelight/filelight-1.9_rc2.ebuild
 create mode 100644 x11-drivers/nvidia-drivers/nvidia-drivers-173.14.18-r10.ebuild
 create mode 100644 x11-themes/sabayon-artwork-kde/ChangeLog
 create mode 100644 x11-themes/sabayon-artwork-kde/sabayon-artwork-kde-4.1.99.ebuild
*
* Success:
* ------
*
* Successfully synchronized overlay "sabayon".
tweak a #
User avatar
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511

Re: Sabayon overlay

Postby Fitzcarraldo » Thu Jun 04, 2009 1:22

The OP's problem happened to me a few days ago on one of my laptops, so I did:

Code: Select all
# rm /usr/local/portage/layman/sabayon

and tried again. Had to do it a few times and it eventually worked.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Sabayon overlay

Postby wmartinez » Thu Jun 04, 2009 15:42

Thanks for your quick response!
here is the result for ping -c 2 sabayon.org (suggested by warra warra)
PING sabayon.org (193.200.56.132) 56(84) bytes of data.
64 bytes from 193.200.56.132: icmp_seq=1 ttl=55 time=147 ms
64 bytes from 193.200.56.132: icmp_seq=2 ttl=55 time=147 ms

--- sabayon.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 9131ms
rtt min/avg/max/mdev = 147.223/147.401/147.580/0.423 ms
Next I tried layman -f -a sabayon (suggested by wolfden) and did not work
no need to rm /usr/local/portage/layman/sabayon (suggested by Fitzcarraldo) it does not exist

Let's try rm -rf /usr/local/portage/layman suggested bye Warra Warra
rm -rf /usr/local/portage/layman
M-12-06-25 administrator # layman -a sabayon
* Overlay "sabayon" does not exist!

M-12-06-25 administrator # layman -f -a sabayon
* Running command "/usr/bin/git clone "git://sabayon.org/projects/overlay.git" "/usr/local/portage/layman/sabayon""...
Initialized empty Git repository in /usr/local/portage/layman/sabayon/.git/
sabayon.org[0: 193.200.56.132]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
* Failed to add overlay "sabayon".
* Error was: Adding the overlay failed! Possible remains of the opration have NOT been removed and may be left at /usr/local/portage/layman/sabayon. Please remove them manually if required.

I am evaluating Sabayon in a computer lab machine, my intention was to install Sabayon (dual boot) in all 24 computers. If I can not solve this...will probably continue using Ubuntu. Sorry
Tnank you any ways.
I will probably wait for 4.2 cd before giving up...I like sabayon very much

Wilfredo Martinez Parrilla
Department of Mathematics
University of Puerto Rico at Aguadilla
wmartinez
Baby Hen
 
Posts: 3
Joined: Tue Dec 16, 2008 1:26

Re: Sabayon overlay

Postby Thev00d00 » Thu Jun 04, 2009 16:43

Are you planning on using portage? If not the overlay isnt needed.

So long as you can
Code: Select all
equo update
and
Code: Select all
equo world
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Sabayon overlay

Postby WarraWarra » Thu Jun 04, 2009 19:12

As he posted if you need to do the normal everyday stuff then only use equo or the gui Sulfur / Spritz if not yet updated.
This is gentoo based so to use advanced features you are not used too, you would need to read up and search or have a look at the wiki top right of this page.

If you want to custom build and add other stuff not in equo then you would need portage but you would need to spend some time learning / reading about gentoo and how it works. Emerge / portage / portato gui interface is serious playing and will seriously RAPE your install if you are not familiar with it or how it works and S**** still happens but can be fixed. Gentoo has a steep learning curve so rather use equo.

SL /Fabio created equo to make it easy for everyday users to keep their linux updated and have fun with gentoo linux until they get the hang of more interesting features in gentoo and would like to experiment with advanced features later once ready.

Sorry I presumed you have some working knowledge with gentoo based systems dew the the nature of this topic.

Ah I see you have ubuntu posted in your last post, as you know if you have a command named ls and you want to know how to use it you would ???
ls --help , this is linux so same with 99.9% of the programs. " something --help "

Use layman --help to find out what the overlay program does as well as google overlay / layman and similar terms as well as the wiki top right of this page and gentoo wiki's / forums to read up more on what you want to do.

Problem:
Let's try rm -rf /usr/local/portage/layman suggested bye Warra Warra
rm -rf /usr/local/portage/layman
M-12-06-25 administrator # layman -a sabayon
* Overlay "sabayon" does not exist!


Yes you have nuked the layman folder and so would have removed anything that layman has about what is available.
Layman should also store info in /etc/layman/layman.cfg but this can get messed up.

You have to get layman to know what is online and what can be used.
layman --help
Code: Select all
# layman --help                                 
Usage:                                                       
/
layman -a/-d/-S|overlay
layman -f [-o url]     
layman -l|-L           

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit       

  <Actions>:
    -a ADD, --add=ADD   Add the given overlay from the cached remote list to
                        your locally installed overlays.. Specify "ALL" to add
                        all overlays from the remote list.                   
    -d DELETE, --delete=DELETE                                               
                        Remove the given overlay from your locally installed 
                        overlays. Specify "ALL" to remove all overlays       
    -s SYNC, --sync=SYNC                                                     
                        Update the specified overlay. Use "ALL" as parameter 
                        to synchronize all overlays                           
    -i INFO, --info=INFO                                                     
                        Display information about the specified overlay.     
    -S, --sync-all      Update all overlays.                                 
    -L, --list          List the contents of the remote list.                 
    -l, --list-local    List the locally installed overlays.                 
    -f, --fetch         Fetch a remote list of overlays. This option is       
                        deprecated. The fetch operation will be performed by 
                        default when you run sync, sync-all, or list.         
    -n, --nofetch       Do not fetch a remote list of overlays. ......


-L, --list List the contents of the remote list.
layman -L

To get remote list to local list:
layman -f

Now you can use layman if you have git installed. Copy and paste this to install git . "equo --help" for more info.
Code: Select all
equo update ; equo install equo entropy sulfur layman portage dev-util/git ; equo conf update ; layman -d sabayon ; layman -L


Now you see a list :
Code: Select all
...... * verlihub                  [Subversion] (https://verlihub.svn.sourceforge.net/svn...)
* vmware                    [Subversion] (svn://overlays.gentoo.org/proj/vmware/trunk)
* voip                      [Subversion] (svn://overlays.gentoo.org/proj/voip/trunk  )
* voyageur                  [Subversion] (https://cafarelli.fr/svn/voyageur-overlay  )
* vps                       [Subversion] (svn://overlays.gentoo.org/proj/vps         )
* webapps-experimental      [Subversion] (svn://o.g.o/proj/webapps/experimental      )
* welp                      [Git       ] (git://git.overlays.gentoo.org/dev/welp     )
* wolf31o2                  [Git       ] (git://git.wolf31o2.org/overlays/wolf31o2...)
* wrobel                    [Subversion] (svn://overlays.gentoo.org/dev/wrobel/stable)
* wschlich                  [Subversion] (svn://o.g.o/dev/wschlich/stable            )
* wschlich-testing          [Subversion] (svn://o.g.o/dev/wschlich/testing           )
* x11                       [Git       ] (git://git.overlays.gentoo.org/proj/x11     )
* xemacs                    [Subversion] (svn://o.g.o/proj/emacs/xemacs-overlay      )
* xen                       [Subversion] (svn://overlays.gentoo.org/proj/xen/overlay )
* xfce-dev                  [Git       ] (git://git.overlays.gentoo.org/proj/xfce.git)
* xwing                     [Rsync     ] (rsync://gentoo.xwing.info/xwing-overlay    )
* zen-overlay               [Git       ] (git://zen-sources.org/zen/portage-overla...)
* zugaina                   [Rsync     ] (rsync://gentoo.zugaina.org/zugaina-portage )
tweak / #


Fetch layman available info.
Code: Select all
layman -f ; layman -a sabayon ; layman -l


Example:
Code: Select all
tweak / # layman -a sabayon
* Running command "/usr/bin/git clone "git://sabayon.org/projects/overlay.git" "/usr/local/portage/layman/sabayon""...
Initialized empty Git repository in /usr/local/portage/layman/sabayon/.git/
remote: Counting objects: 29707, done.
remote: Compressing objects: 100% (11839/11839), done.


This is very easy but could be confusing as you are likely used to Ubuntu and how it works. This happens to all of us but once you gentoo anything else is a walk in the park, SL is just a very easy way to get into gentoo for most users / win vista users.

Hope this helps.
User avatar
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511

Re: Sabayon overlay

Postby wmartinez » Thu Jun 11, 2009 12:33

Thank you all. But your recommendation did not work.
BEFORE Installation I used the path: wiki->Introduction / New Users Start Here->Entropy->FRESH INSTALL-WHAT TO DO?
In that document there is a recommendation:
You should keep your portage list updated from time to time also just to be SAFE. You don't have
to do it daily, but maybe once a week. --> emerge --sync && layman -S, here is where trouble began.
You see Warra Warra i was just following New Users Start Here recommendations and end up with overlays? problems.
Obviously a new user will not know what is an overlay. Something is wrong with version 4.1. I hope they fix it in 4.2.
Seems that equo search <prog> ....equo install <prog> works find. No problems besides that.
Wilfredo Martínez Parrilla
wmartinez
Baby Hen
 
Posts: 3
Joined: Tue Dec 16, 2008 1:26

Re: Sabayon overlay

Postby Fitzcarraldo » Fri Jun 12, 2009 3:30

My gut feeling is that there isn't anything wrong with SL 4.1 in this regard as other people using SL 4.1 have successfully deleted the SVN version of the overlay and added the Git version. See e.g. the post viewtopic.php?f=86&t=17242&start=0#p98884.

I think the problem, if there is one, could be with the sequence of commands needed if the deletion or addition fail due to problems with the connection to the remote Git repository. Perhaps I added a layman -S command on my older installation (SL 4.0-r1) after the overlay addition failed, or some other combination of the commands, I don't recall. Anyway it was no big deal and after two or three attempts it worked. A more foolproof procedure would be to use a layman -S in-between the overlay deletion and addition commands. I can't reproduce the problem, so someone who can would need to experiment.

Where I do agree is that, if the operation fails, it would certainly confuse a newcomer. But that's computers for you: no OS is completely free from cryptic operations (not even Windows, as I can attest from personal experience).

Anyway, it's an unfortunate coincidence that the overlay was changed from SVN to Git after SL 4.1 was released; certainly not an ideal situation. The problem won't be there when SL 4.2 is released, as the overlay will already be a Git repository. And the Wiki article will need to be updated accordingly.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Previous

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: greendave8 and 2 guests