Technological Wanderings - gentoo http://www.technologicalwanderings.co.uk/taxonomy/term/91 en Gentoo http://www.technologicalwanderings.co.uk/node/81 <div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Keywords:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/taxonomy/term/91">gentoo</a></div><div class="field-item odd"><a href="/taxonomy/term/136">ubuntu</a></div></div></div><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>Enough. I've had enough with Gentoo breaking itself on each emerge. The snapping point was an upgrade of Bind which took down my master DNS.</p> <p>I'll keep Gentoo for specialist purposes - e.g. I believe it makes an excellent hosting platform which has only Apache/PHP/Python/MySQL installed [1]. However for my personal do-everything, install-the-lot server it has to go. The attraction was the ability to stay fairly bleeding edge with portage and to tune compilation, but it hasn't worked out. FreeBSD provides the same sort of functionality in 'ports' which I've never had a significant problem with, so it is shame that same robustness hasn't continued in Gentoo. But the BSD and Linux worlds are quite different.</p> <p>I'm building a new server and it will run Ubuntu server. I've been quite impressed with its install process so far.</p> <p>I was going to go with CentOS, however RHEL 6 is out and so I'd want to run CentOS 6, but that is not in sight yet. In business, we run CentOS for development and RHEL for production hence I was keen to stick with it.</p> <p>I'll have to learn how to use apt-get though, after all these years of urpmi, rpm, emerge and yum. Oh, and good old 'make install'.</p> <p>The hardware I run is somewhat overdue a good upgrade, and a recent disk failure through bad sectors underlined that. I'm taking the opportunity to slowly migrate to a faster machine and to take advantage of 2x2TB disks rather than 4x320GB disks. Disk technology itself is much better too - I'm getting 100MB/s rather than 50MB/s on the 320GBs.</p> <p>[1] I would however much prefer FreeBSD, which is lightweight, flexible, secure and very robust. But Slicehost didn't support it when I signed up - which is expected due to the way they provide virtualised servers (with Xen, I believe).</p> </div></div></div> Fri, 03 Dec 2010 16:34:10 +0000 techuser 81 at http://www.technologicalwanderings.co.uk http://www.technologicalwanderings.co.uk/node/81#comments Bloody Gentoo http://www.technologicalwanderings.co.uk/node/46 <div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Keywords:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/taxonomy/term/91">gentoo</a></div><div class="field-item odd"><a href="/taxonomy/term/92">portage</a></div></div></div><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>A week or two ago I was presented with this on two of my older Gentoo servers:</p> <p><code><br /> [blocks B ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.2)<br /> [blocks B ] &lt;sys-fs/e2fsprogs-1.41 (is blocking sys-libs/e2fsprogs-libs-1.41.2)<br /> [blocks B ] sys-libs/e2fsprogs-libs (is blocking sys-libs/ss-1.40.9, sys-libs/com_err-1.40.9)<br /> [blocks B ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.2)<br /></code></p> <p>This should strike fear into any Gentoo user out there. Usually when this happens, there will be a good result in Google which states exactly what to do. Not this time.<br /> Importantly, you should wait for someone else to do this first and post in the Gentoo forums about it. Because Gentoo is not a professional distribution - far from it - as much as I love working with sources and portage (as a long time FreeBSD admin).<br /> In this case, doing the obvious of unmerging the old blocking packages will render emerge useless as you will break wget. Yes, this is ridiculous.</p> <p>Well, lucky you - I've done this now on both machines successfully and present to you the winning formula:</p> <p><code><br /> emerge -fv sys-libs/e2fsprogs-libs sys-fs/e2fsprogs<br /> emerge --unmerge sys-fs/e2fsprogs sys-libs/ss sys-libs/com_err ; emerge sys-libs/e2fsprogs-libs sys-fs/e2fsprogs<br /></code></p> <p>We fetch the new packages before breaking the system. Then we break the system, then we fix the system with the parts of it that are still working. e2fsprogs is very much needed, unlike what I previously said here - it is what provides such gems as fsck...</p> <p>Now I can continue emerging the weeks of updates that have built up. Including an OpenSSH 4-&gt;5 update that needs careful merging of configurations.</p> <p>I really like Gentoo, but it can drive me crazy. It also has a problem with the people behind it - the culture is much like that behind Rails, in that I have a real problem trusting it. See the next post for an example from Rails...</p> </div></div></div> Sat, 08 Nov 2008 12:21:04 +0000 techuser 46 at http://www.technologicalwanderings.co.uk http://www.technologicalwanderings.co.uk/node/46#comments