<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Zelut's Blog &#187; Ubuntu</title> <atom:link href="http://blog.zelut.org/category/ubuntu/feed/" rel="self" type="application/rss+xml" /><link>http://blog.zelut.org</link> <description>Brain Dump of a Linux Admin</description> <lastBuildDate>Mon, 12 Jul 2010 14:15:55 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <item><title>Automatically Upgrade Debian With Each Stable Release</title><link>http://blog.zelut.org/2009/03/16/automatically-upgrade-debian-with-each-stable-release/</link> <comments>http://blog.zelut.org/2009/03/16/automatically-upgrade-debian-with-each-stable-release/#comments</comments> <pubDate>Mon, 16 Mar 2009 16:46:29 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[stable]]></category> <category><![CDATA[upgrade]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=81</guid> <description><![CDATA[I recently migrated my VPS from Slicehost to Linode and I&#8217;ve been very happy with them.  One of the changes that I made during this move was to try out Debian 5.0 as my base OS instead of Ubuntu 8.04.  So far I have been pleased with the change&#8211;although I&#8217;ll admit there isn&#8217;t much that [...]]]></description> <content:encoded><![CDATA[<p>I recently migrated my VPS from Slicehost to Linode and I&#8217;ve been very happy with them.  One of the changes that I made during this move was to try out Debian 5.0 as my base OS instead of Ubuntu 8.04.  So far I have been pleased with the change&#8211;although I&#8217;ll admit there isn&#8217;t much that is different on the server installation.  One of the few differences that I have found is in regards to the repository configuration.  One feature in Debian that is not available in Ubuntu is the ability to configure your sources.list to the stable release.. whatever version that happens to be.  Let me explain.</p><p><strong>Repository Configuration</strong></p><p>Ubuntu, a variant of Debian, uses the /etc/apt/sources.list to configure which repositories to subscribe to for available packages and errata updates.  Generally these repositories are subscribed to by way of development codename.  For example:</p><blockquote><p><code>http://us.archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse</code></p></blockquote><p>A line like this in your Ubuntu configuration would subscribe to the Ubuntu 8.10 &#8220;Intrepid&#8221; repository for the life of that release (18 months).  It would also be able to pull updates and packages from the main, restricted, universe and multiverse areas of the repository.</p><p>Debian can follow the same standard&#8211;a repository configuration example might be something like this:</p><blockquote><p><code>deb http://mirrors.kernel.org/debian lenny main contrib non-free</code></p></blockquote><p>As you can see, these are both very similar.  The only differences are the development codenames, &#8220;Intrepid&#8221; vs &#8220;Lenny&#8221; and the naming of the repository subdivisions.  non-free vs universe/multiverse, etc.</p><p><strong>Subscribing to Stable</strong></p><p>The one difference that I have learned with Debian however is that you have the ability to use release aliases instead of development codenames.  For example, I could change &#8220;lenny&#8221; to &#8220;stable&#8221; and my machine would subscribe to the &#8220;stable&#8221; repository as long as one exists.  The key difference here is that &#8220;stable&#8221; evolves as the distribution evolves.  Whereas in the Ubuntu configuration I would need to update my configuration each time I want to migrate to a new &#8220;stable&#8221; version, Debian allows me to simple subscribe to &#8220;stable&#8221; and my machine would follow, and upgrade, to each stable release as long as it is in service.</p><p>Here is the sources.list that I use on my current Debian 5.0 web server:</p><blockquote><p><code>deb http://mirrors.kernel.org/debian/ stable main contrib non-free<br /> deb http://security.debian.org/ stable/updates main contrib non-free<br /> deb http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free<br /> </code></p></blockquote><p>You&#8217;ll notice that I&#8217;m using &#8220;stable&#8221; instead of &#8220;lenny&#8221; even though, at this point, they are technically the same thing.  When the next release is final however my machine will automagically subscibe to the newer repository, and I would never have needed to change my config.  Why doesn&#8217;t Ubuntu offer something like this?</p> ]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2009/03/16/automatically-upgrade-debian-with-each-stable-release/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>New Theme</title><link>http://blog.zelut.org/2008/11/10/new-theme/</link> <comments>http://blog.zelut.org/2008/11/10/new-theme/#comments</comments> <pubDate>Tue, 11 Nov 2008 02:37:20 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[theme]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=36</guid> <description><![CDATA[I spent some time this afternoon on the bus ride home setting a new theme to the blog here. I&#8217;ve also cleaned up the categories. Ohh, and the most exciting part (even if it is transparent to the end-user), I upgraded to WordPress trunk. If you have not seen the new dashboard in WP 2.7 [...]]]></description> <content:encoded><![CDATA[<p>I spent some time this afternoon on the bus ride home setting a new theme to the blog here.  I&#8217;ve also cleaned up the categories.  Ohh, and the most exciting part (even if it is transparent to the end-user), I upgraded to WordPress trunk.</p><p>If you have not seen the new dashboard in WP 2.7 you should really check it out.  Its really clean and slick&#8211;I really like it.</p><p>In any event, I hope to continue my FreeBSD and miscellaneous posts here while the &#8216;buntu specific stuff will be on <a href="http://ubuntu-tutorials.com">Ubuntu Tutorials</a>.</p> ]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2008/11/10/new-theme/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Things To Remember</title><link>http://blog.zelut.org/2008/05/27/things-to-remember/</link> <comments>http://blog.zelut.org/2008/05/27/things-to-remember/#comments</comments> <pubDate>Tue, 27 May 2008 21:49:00 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[CDBS]]></category> <category><![CDATA[lintian]]></category> <category><![CDATA[man page]]></category> <category><![CDATA[origami]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=6</guid> <description><![CDATA[Well I just spent the last hour trying to build the latest version of origami.  Man, what a pain!  I thought I&#8217;d quickly jot down the few things that I learned so that I will (hopefully) not repeat those mistakes again! origami.docs only needs a list of the docs, not the destination directory. lintian tells [...]]]></description> <content:encoded><![CDATA[<p>Well I just spent the last hour trying to build the latest version of origami.  Man, what a pain!  I thought I&#8217;d quickly jot down the few things that I learned so that I will (hopefully) not repeat those mistakes again!</p><ol><li>origami.docs only needs a list of the docs, not the destination directory.</li><li>lintian tells you how to fix the problem.  Pay attention and read!</li><li>spell &#8220;licenses&#8221; correctly if you&#8217;re going to refer to &#8220;common-licenses&#8221;</li></ol><p>At this point it looks like the only thing I have left to create is a man page and, according to lintian, origami will be error-free.  Anyone know how&#8217;n the hell to do that? <img src='http://blog.zelut.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Until I figure that out I&#8217;m going to take this debian/ directory and save it in a bzr branch so if I get lost again I have a good, valid, working copy.</p><p>Big thanks to LaserJock for the help today!</p> ]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2008/05/27/things-to-remember/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Sink Or Swim: My Trouble With VirtualBox</title><link>http://blog.zelut.org/2008/05/04/sink-or-swim-my-trouble-with-virtualbox/</link> <comments>http://blog.zelut.org/2008/05/04/sink-or-swim-my-trouble-with-virtualbox/#comments</comments> <pubDate>Sun, 04 May 2008 15:56:00 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[build-depends]]></category> <category><![CDATA[pbuilder]]></category> <category><![CDATA[source package]]></category> <category><![CDATA[virtualbox]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=5</guid> <description><![CDATA[I spent quite some time yesterday trying to build a package &#8220;just for fun&#8221; and realize that it is way over my n00b-packager head, but I do feel like I learned quite a bit in the process.  I feel like it has been a bit like jumping into the deep end of the pool and [...]]]></description> <content:encoded><![CDATA[<p>I spent quite some time yesterday trying to build a package &#8220;just for fun&#8221; and realize that it is way over my n00b-packager head, but I do feel like I learned quite a bit in the process.  I feel like it has been a bit like jumping into the deep end of the pool and figuring it out as you go.  Granted I won&#8217;t <em>die</em> if I don&#8217;t figure it out, but you learn a lot very quickly when you&#8217;re in over your head.</p><p>What I was trying to do was build a .deb for VirtualBox 1.6 that was released just a few days ago.  I downloaded it to tinker with, assuming I would have to just compile the source, but I noticed it had a debian/ directory.  I figured it couldn&#8217;t hurt to give it a try, so I tried building it.  I wanted to outline what I tried to do (so all of the real packagers out there can correct me), but I will say that I am still stuck on getting it built in pbuilder.  I do have it built and running on my local machine, but when I build it in pbuilder something dies.</p><p><strong>What I tried (please comment with tips / corrections)<br /> </strong></p><p>The first thing I did was download the VirtualBox 1.6 OSE from Sun (Yes, if you hadn&#8217;t heard, Innotek was recently bought by Sun).  From this I ended up with a VirtualBox-1.6.0-OSE.tar.bz2.</p><p>I unpacked this, which created a VirtualBox-1.6.0_OSE directory to work in.</p><p>Now, to try and appease the source-package-gods I re-packed that directory into a .orig.tar.gz and created a .orig/ directory as well.</p><p><strong>QUESTION</strong>: Why does the source need to be in a .tar.gz format?</p><p>The .orig.tar.gz that I created used the naming convention virtualbox_ose_1.6.0.orig.tar.gz.</p><p>The .orig/ directory also had the naming convention virtualbox_ose_1.6.0.orig/.</p><p><strong>QUESTION</strong>: I understand the naming convention should be &lt;packagename&gt;-&lt;version&gt;.  How is this handled when &lt;packagename&gt; is two words?</p><p>I first tried to build the package with the default debian/ directory that came with the download.  I quickly found that this had some things wrong with it.</p><ol><li>The debian/changelog latest revision referred to 1.5.51~svn-1.</li><li>There were missing Build-Depends on my machine (libxml2-dev, libxslt-dev, libpng-dev,&#8230;)</li></ol><p>I then used dch -v 1.6 to create a new changelog version (This is 1.6 after all, not 1.5.51~svn), and added the details of my changes:</p><ul><li>Corrected changelog version reference</li><li>Added required build-depends (libxml2-dev, libxslt-dev, libpng-dev,&#8230;)</li></ul><p><strong>QUESTION</strong>: Is this the proper way to document what I needed to change to build 1.6?</p><p>At this point the package did build using dpkg-buildpackage and it installed properly on my machine.  I did not yet run lintian, as I&#8217;m sure there are still plenty of things that are broken.</p><p>I tried to take this one step further and build it in pbuilder.  This is where things really got stuck.  I get into the build process and then it dies on finding Xlibs.  It is frustrating because it will build on my machine, but not in pbuilder, and I can&#8217;t figure out what package provides what it is looking for.</p><p>Here is a snippet of the build and the error.  I would appreciate any tips on how to figure out what package is needed to resolve this.</p><blockquote><p>Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK.<br /> Checking for kBuild: found, OK.<br /> Checking for gcc: found version 4.2.3, OK.<br /> Checking for as86: found version 0.16.17, OK.<br /> Checking for bcc: found version 0.16.17, OK.<br /> Checking for iasl: found version 20061109, OK.<br /> Checking for xslt: found, OK.<br /> Checking for pthread: found, OK.<br /> Checking for libxml2: found version 2.6.31, OK.<br /> Checking for libxslt: found version 1.1.22, OK.<br /> Checking for libIDL: found version 0.8.10, OK.<br /> Checking for zlib: found version 1.2.3.3, OK.<br /> Checking for libpng: found version 1.2.15beta5, OK.<br /> Checking for SDL: found version 1.2.12, OK.<br /> Checking for X libraries:<br /> Xlibs not found at -L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -I/usr/local/include or Xlibs headers not found</p></blockquote><p>I have tried a few X packages but they don&#8217;t seem to do the trick.  I even peeked into the PUEL pre-packaged version available for download and added any missing depends they had that I didn&#8217;t.  At this point I&#8217;m stuck wondering how to figure out the issue.  Any tips?</p> ]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2008/05/04/sink-or-swim-my-trouble-with-virtualbox/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Thinking About Goals…</title><link>http://blog.zelut.org/2008/04/30/thinking-about-goals/</link> <comments>http://blog.zelut.org/2008/04/30/thinking-about-goals/#comments</comments> <pubDate>Wed, 30 Apr 2008 20:34:00 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[eeepc]]></category> <category><![CDATA[goals]]></category> <category><![CDATA[origami]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=4</guid> <description><![CDATA[I spent some time this morning thinking about what I would like to do in the MOTU land.  What projects/packages are important to me?  What areas would I like to focus on?  I wanted to write these down because, of course, until you write down a goal its just a wish. New Packages: I would [...]]]></description> <content:encoded><![CDATA[<p>I spent some time this morning thinking about what I would like to do in the MOTU land.  What projects/packages are important to me?  What areas would I like to focus on?  I wanted to write these down because, of course, until you write down a goal its just a wish.</p><p><strong>New Packages:</strong></p><ol><li>I would like origami to be 100% compliant and available in Ubuntu 8.10 &#8220;Intrepid&#8221;</li><li>I would like the EeePC to be supported / configured by way of a simple package installation.</li></ol><p>I know it is not recommended to start with new packaging when just getting started, but these are listed as some of my longer term goals for Ubuntu 8.10.  Before I get to this point I hope to be of some help during the merge process and help with patches as well.</p><p>I will continue to try and update daily with progress, thoughts and study.  If you don&#8217;t hear from this blog for a couple of days please prod me into action!</p> ]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2008/04/30/thinking-about-goals/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 5/15 queries in 0.036 seconds using disk

Served from: blog.zelut.org @ 2010-09-10 19:23:33 -->