Showing posts with label sabayon. Show all posts
Showing posts with label sabayon. Show all posts

Wednesday, October 29, 2008

Svn problems in Sabayon with https

On the new Sabayon installation (I guess the problem is in Gentoo too, though), I'm getting errors when accessing to an https repository which does not have a valid certificate (of course I trust that site):

svn checkout https://xxx svn: OPTIONS of 'https://xxx': SSL negotiation failed: SSL error: Key usage violation in certificate has been detected. (https://xxx)

I found this post on ubuntu forums which seems to be related to this very same problem: the neon library, which svn uses to access https sites, uses GNU TLS which does not like this kind of certificates (that's may be fine, but at least, I should give the possibility of choosing, shouldn't I?).

In Sabayon it's pretty easy to solve this problem because you can use emerge and use flags to rebuild the binaries as you wish :-)

In particular, you need to rebuild the neon package disabling the gnutls use option. I did this by changing (or adding) in /etc/portage/package.use this line:

net-misc/neon -gnutls

and then I emerged neon and subversion packages.

Hope this helps :-)

Friday, October 17, 2008

CVS, Eclipse and Sabayon

When I started to play with Sabayon I started to struggle with a problem using Eclipse and CVS (on a local repository).

I kept on getting this error (using extssh):

Problems reported while synchronizing CVS Workspace. 0 of 1 resources  were synchronized.
Unknown response received from cvs server:
On many parts on the web I had read that this is usually due to a "misbehaving" cvs client, typically under windows, or a misbehaving ssh client (again under windows), but since I'm using Linux...

Well, it turns out that the cvs binary that is shipped with Sabayon is not compiled with the --enable-server flag, which is the default for cvs program. Installing cvs using emerge does not solve the problem, because, again, that flag is not enabled by default.

Thus, you need to enable it, adding the line
dev-util/cvs server
to the file /etc/portage/package.use. I've also opened a bug report; hope this saves some headaches to eclipse users :-)

Monday, October 06, 2008

Optiplex 330 won't reboot in Linux

My new desktop at work is a Dell Optiplex 330, where Linux made its way from the very beginning. I started with my beloved Kubuntu, and then tried also Sabayon. With both distributions I soon noticed a boring bug: the computer does not reboot. After terminating the reboot operations the system just hangs and the computer does not reboot. Fortunately, this is a known bug for many computers, and the solution was quite easy: add the option reboot=b to the kernel line in the grub configuration list. This worked for me both for Kubuntu and Sabayon :-)

Friday, October 03, 2008

Texlive (Latex) in Sabayon

I'm experimenting with Sabayon Linux 3.5, and now I was trying to compile some of my papers, which of course are written in LaTeX; however I found no preinstalled binary for latex. Thus I tried to install, with equo, using the package latex-base, but again, no latex binary.

Thus, I emerged it. First, however, you need to unmerge tetex (the previous latex distribution). After that, it's just a matter of emerging texlive, and wait for some time (due to the compilation of many packages).

Sunday, September 21, 2008

Sabayon: please read the help!

I've just started using Sabayon Linux (besides Kubuntu) and I'll blog some impressions about that, but first of all, I had to blog this. The command line package manager, equo, seems to be watching you: I was trying to run the upgrade without reading the help, and... well, equo seems to have gotten angry:

localhost ~ # equo --upgrade --pretend
>> You didn't run equo --help, did you?
localhost ~ # equo -upgrade --pretend
>> Did you even read equo --help??
localhost ~ # equo upgrade --pretend
>> I give up. Run that equo --help !!!!!!!
localhost ~ # equo upgrade
>> OH MY GOD. RUN equo --heeeeeeeeeeeeeelp
localhost ~ # equo --upgrade
>> Illiteracy is a huge problem in this world
localhost ~ # equo --upgrade
>> Ok i give up, you are hopeless
localhost ~ # equo --upgrade
>> Go to hell.
localhost ~ # equo --upgrade
>> Go to hell.
That's really too funny! :-)


Well done developers, you guys really rock! :-)