joostruis

Sabayon Linux Repository maintainer / Web developer / Father / Elferrat

Homepage: http://joostruis.wordpress.com

First aid: I broke my Entropy

If you for whatever reason managed to break Entropy (equo) and aren’t able to update / upgrade / install any program using Entropy, you are screwed most likely because you could not update Entropy or reinstall equo to fix it.

It is very unlikely that you get into a situation like this but I’ve seen the most weird problems people get into and it could happen to you too! You install upgrades on your laptop and the battery went down in the middle of process, the cat pushed a button in the powerbox and the lights went out..etc

The alternative to fix Entropy is to install it using Portage. Here are the steps to take:

1. Sync the sabayon overlay:
layman -s sabayon

OR simply add the overlay in case you didn’t have it yet

layman -a sabayon

2. Install Entropy directly from the overlay:
emerge entropy equo --nodeps

3. Inform Entropy about the changes you made:
equo rescue spmsync

5. Reinstall Entropy with Entropy
equo update && equo install entropy equo

6 Comments

Update a fresh 5.4 Installation

Since the release of 5.4 many many things changed. As you might have noticed, the Sabayon Linux project is moving fast and many updates are generated every day.

Because we are now a rolling distro and moved some things into the maintenance scope, things that would normally ONLY get updated on a new branch, we had to resolve an issue that some Gnome users ran into. In fact the problem was not a specific Gnome issue but a distro wide problem.

When I bumped glibc because a security reason, Fabio already warned me about problems that could affect our users but we decided to go ahead.

What we learned is that in such a case, glibc on the user end should ALWAYS be installed first. And Fabio wouldn’t be Fabio if he didn’t foresee the need for such a feature and this was already possible to do for some time now. So we moved glibc to the special list and there you have it on a fresh install:

equo update && equo upgrade:

It now wants to first install glibc! You ofcourse should do this (you have no choice using upgrade)

When this is installed you want to install the latest entropy version first:

equo install entropy –relaxed

Finally you can install all the updates.

Remember that Sabayon 5.4 shipped with the 2.6.35 kernel version. If you want the 2.6.36 kernel version (or later whenever it is available in Entropy) you should manually install it. Please refer to our wiki on how to do this.

1 Comment

Why do we bump just to bump?

In my daily maintenance routine I tend to throw an emerge -uav world against the sabayon trees and see what packages can be bumped. I also check http://www.gentoo-portage.com to see what is new. In this routine 90% off all things I bump for Entropy it is done manually writing each emerge -av command by hand.
Since I trust Gentoo developers for doing a good job within their own little expertise and interest, I kinda trust each package bump makes sense. If it is either some revision bump because there was some LD flags to respect, a fix for –as-needed or simple another minor thing I just bump them. Even though on the binary end this would not make any difference for the user experience I just do it.

However this workflow sometimes leads to some stupid breakages because somebody thought it was a great idea to bump some lib that in fact is there for a reason. Some things in the Portage tree simply are there because some, or maybe one, of the atoms in the tree need them. There are numerous examples I ran into lately but here is one off them:

In my daily routine, some while back I bumped net-libs/enet. Not a big deal really. However this seemed to break games-action/supertuxkart and my tools could not detect this breakage. Otherwise I would obviously reverted this update. I went looking into some history and I realized that only games-action/supertuxkart ,games-rpg/egoboo and games-puzzle/enigma actually need net-libs/enet within the Portage tree, so why was this package bumped anyway? Not because it was needed for one of its parent atoms , no, because some user on the gentoo bugzilla requested this atom (remember only needed so far by 3 atoms) to be updated because “there was a newer version”. http://bugs.gentoo.org/325809 (just an example, do not shoot anybody for this!)

Somebody requested without any motivation this package to be updated and without question this was done. This all leads to atoms currently in Portage to mall function, fail to compile, etc. Later this all was corrected by Gentoo QA team where they slotted the enet version.

So what happens next is that users notice this when they install one off the games and it doesn’t work? They file a bug to Sabayon, or a Gentoo user files a bug to the Gentoo bugzilla. A bug wrangler needs to check the bug is valid enough and assign it to a herd/maintainer. The maintainer then discovers the unwanted enet bump and got to do all the work to block the newer version. All that kinda work because somebody thought it would be nice to bump a library/piece off software.

If users request such a version bump do not be scared to ask for a motivation.
It is nice to be bleeding edge, but really uncool to fall off the cliff just to look cool.

2 Comments

Flash and pulseaudio resolved

Earlier I posted a dirty hack how to get the sound going again with flash on 64bits.

Now we have www-plugins/adobe-flash-10.1.53.64-r11 in the repositories with a cure for that.
If you did follow my previous post on how to get it working with mozilla-firefox, you should undo that (remove the libflashplayer.so from ~/.mozilla/plugins )

equo update && equo install www-plugins/adobe-flash-10.1.53.64-r11

Now you should check if you have /etc/asound.conf with the following contents:
pcm.!default {
type pulse
}

ctl.!default {
type pulse
}

Reboot and all should be fine again.

3 Comments

Zip compression on the linux shell

Just as a note to myself and maybe helpful to others.

To compress all files in zip file in a directory:
zip test.zip *.*
creates:
-rw-r--r-- 1 joost joost 111M Jul 21 14:23 test.zip

If you want to split up the zip file because it is a bit too big (111MB) we can use the zipsplit command.
Lets pass the -t parameter to first let it explain what it would do:

joost@xbox-360 ~/Desktop/moos $ zipsplit -tn 10000000 test.zip
12 zip files would be made (100% efficiency)

ooh yes I wants that!
joost@xbox-360 ~/Desktop/moos $ zipsplit -n 10000000 test.zip
12 zip files will be made (100% efficiency)
creating: test01.zip
creating: test02.zip
creating: test03.zip
creating: test04.zip
creating: test05.zip
creating: test06.zip
creating: test07.zip
creating: test08.zip
creating: test09.zip
creating: test10.zip
creating: test11.zip
creating: test12.zip

And there you have it.

2 Comments

Flash and sound after recent flash update.

Well due recent changes I noticed that using flash on firefox was hijacking the sound on my system.
If you aren’t a careless internet surfer and still want to use the latest amd64 flash version that didn’t have the sound problems you can try this.

mkdir ~/.mozilla/plugins

then download this flash release.
Extract libflashplayer.so into the directory we just created and restart firefox.

Some other people say they have benefit by setting an environmental variable but that didn’t work for me.
I’m not sure if the issue is only related to x86_64 yet.

4 Comments

Some updates

A few posts back I posted about setting up your own spin. Things got moving quickly and we decided to overhaul the way we maintain our iso’s server-side.

Sabayon 5.4 will have everything based on the SpinBase iso and all applications on top off this will be placed in sets. A KDE set is going to be written soon.

A first result of the reorganization are the LXDE and XFCE spins released today!

Some important recent changes:

- On amd64 we moved to 32bits flash.
If you have a problem with it consider reinstalling nspluginwrapper. I know it is not the most elegant solution, but keeping users with a potential security risk was worse. And upstream Adobe did NOT provide a 64bits version.

- ATI-drivers 10.6 problems
Due a bug in the new ati-drivers that only affects people with a default xorg.conf (most off you) the light went out and X would die with a segfault. Check out this bug report on debian. As a result we decided to mask 10.6.

2 Comments

Follow

Get every new post delivered to your Inbox.

Join 177 other followers