stillhq.com : Mikal, a geek from Canberra living in Silicon Valley http://www.stillhq.com The life, times, travel and software of Michael Still en Copyright (c) Michael Still 2000 - 2006 blosxom simplerss20 v20050208hh 180 http://blogs.law.harvard.edu/tech/rss Upgrading Ubuntu Feisty now that its end of lifed /linux/ubuntu Mon, 08 Dec 2008 20:28:00 PST I have a machine I neglected to upgrade before Feisty was EOLed. This was a problem, because as part of the EOL process they removed the main, universe and multiverse directories from the archive, which means mirrors don't carry them any more either. This made the upgrade tool fail, because it couldn't download all of the meta data. <br/><br/> Resolution? Comment the out of /etc/apt/sources.list. <br/><br/><i>Tags for this post: linux(<a href="http://www.stillhq.com/linux"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000007&tag=linux&format=.png" border="0" alt="S"></a>) ubuntu(<a href="http://www.stillhq.com/ubuntu"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000007&tag=ubuntu&format=.png" border="0" alt="S"></a>) </i><br/><i>Related posts: <a href="http://www.stillhq.com/diary/toys/000053.html">Dell e310 upgrade</a></i> <a href="http://www.stillhq.com/linux/ubuntu/000007.commentform.html">Comment</a> http://www.stillhq.com/linux/ubuntu/000007.html http://www.stillhq.com/linux/ubuntu/000007.html What packages are taking all my disk? /linux/ubuntu Thu, 01 May 2008 16:42:00 PST I'm using Ubuntu here, but this would work on any Debian based distribution... I want to find out what packages are sucking up all the disk on my new laptop. So, I run: <br/><br/> <pre> mikal@mikal-eee:~$ dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n </pre> <br/><br/> Which will give you a list of packages sorted by size when installed. In my case, removing evolution and open office ill make a big difference to my free disk space. <br/><br/><i>Tags for this post: linux(<a href="http://www.stillhq.com/linux"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000006&tag=linux&format=.png" border="0" alt="S"></a>) ubuntu(<a href="http://www.stillhq.com/ubuntu"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000006&tag=ubuntu&format=.png" border="0" alt="S"></a>) </i><br/><i>Related posts: <a href="http://www.stillhq.com/diary/toys/dell/e310/000002.html">Update on the Dell</a>; <a href="http://www.stillhq.com/imagemagick/000008.html">Why Debian?</a>; <a href="http://www.stillhq.com/diary/toys/nslu2/000003.html">Debian bootstrap complete</a>; <a href="http://www.stillhq.com/research/000005.html">Dear Lazyweb: how do I check SSL keys for vulnerability?</a>; <a href="http://www.stillhq.com/samba/000002.html">Samba and MacOS X 10.4 (Tiger)</a>; <a href="http://www.stillhq.com/imagemagick/000009.html">ImageMagick bug?</a>; <a href="http://www.stillhq.com/linux/000045.html">X.org doesn't support dynamic resize of the screen?</a>; <a href="http://www.stillhq.com/diary/toys/nslu2/000001.html">Slugging away</a></i> <a href="http://www.stillhq.com/linux/ubuntu/000006.commentform.html">Comment</a> http://www.stillhq.com/linux/ubuntu/000006.html http://www.stillhq.com/linux/ubuntu/000006.html Nice touch /linux/ubuntu Sat, 29 Jul 2006 15:07:00 PST Ok, so I don't know about you, but pretty much the only time I have a copy of Windows these days is when I take delivery of a new laptop like I did this morning, before I get around to installing Linux on it. To verify that my download and cdrecord had produced something valid, I just stuck the Ubuntu Dapper CD I just made into the CD ROM drive on this Windows laptop. <br/><br/> It's really cool. It launches an application with the autorun stuff on Windows, and then offers to let me install open source on the Windows partition. It's like a small version of the OpenCD (and was in fact done with their help). Applications it offers to install: <br/><br/> <ul> <li>Mozilla Firefox</li> <li>Mozilla Thunderbird</li> <li>Abiword</li> <li>Gaim</li> <li>The Gimp</li> </ul> <br/><br/> It's a nice touch that the CD can be used for this sort of thing as well. Like all ideas, it's so obvious now that I've seen it done, and it makes me wonder why other distros haven't been doing this for a while. <br/><br/> Another on Mikal's rocks list for the day -- Ubuntu. <br/><br/><i>Tags for this post: linux(<a href="http://www.stillhq.com/linux"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000005&tag=linux&format=.png" border="0" alt="S"></a>) ubuntu(<a href="http://www.stillhq.com/ubuntu"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000005&tag=ubuntu&format=.png" border="0" alt="S"></a>) </i><br/><i>Related posts: <a href="http://www.stillhq.com/diary/toys/000026.html">HP iPaq GPS FA256A</a>; <a href="http://www.stillhq.com/diary/lca2005/000061.html">The LCA 2005 conference CD</a>; <a href="http://www.stillhq.com/diary/lca2005/000063.html">First beta of the LCA 2005 CD ROM</a>; <a href="http://www.stillhq.com/link/000079.html">A side by side comparison of MythTV and Windows Media Center </a>; <a href="http://www.stillhq.com/linux/conference/opensource/lca2006/000004.html">Overflow rooms</a>; <a href="http://www.stillhq.com/diary/lca2005/000059.html">Audio from linux.conf.au 2005 continued</a>; <a href="http://www.stillhq.com/dotnet/000059.html">Getting ASP.NET working on Windows XP Tablet PC edition</a>; <a href="http://www.stillhq.com/enclosures/000002.html">My first interview</a>; <a href="http://www.stillhq.com/diary/lca2005/000062.html">LCA CD continues</a>; <a href="http://www.stillhq.com/linux/conference/opensource/lca2006/000003.html">LCA 2006: CFP closes today</a>; <a href="http://www.stillhq.com/diary/toys/000027.html">I feel a little vindicated</a>; <a href="http://www.stillhq.com/diary/lca2005/000058.html">Audio from linux.conf.au 2005</a>; <a href="http://www.stillhq.com/mythtv/000004.html">On freely available guide data</a>; <a href="http://www.stillhq.com/link/000138.html">SQL Server is incompatible with Windows Vista?</a>; <a href="http://www.stillhq.com/mirror/opensource/linux/australia/000005.html">Mirror traffic during the last day of LCA 2007</a>; <a href="http://www.stillhq.com/diary/lca2005/000065.html">CD ROM</a>; <a href="http://www.stillhq.com/mirror/opensource/linux/australia/000003.html">We're getting there</a>; <a href="http://www.stillhq.com/mirror/opensource/linux/australia/000002.html">Thanks for the kind word Pia</a>; <a href="http://www.stillhq.com/vista/000001.html">Leon, get with the program</a>; <a href="http://www.stillhq.com/mirror/opensource/linux/australia/000004.html">Mirroring the Linux Update podcast</a>; <a href="http://www.stillhq.com/mirror/opensource/linux/australia/000001.html">The Linux Australia mirroring project</a></i> <a href="http://www.stillhq.com/linux/ubuntu/000005.commentform.html">Comment</a> http://www.stillhq.com/linux/ubuntu/000005.html http://www.stillhq.com/linux/ubuntu/000005.html Debian / Ubuntu packaging /linux/ubuntu Tue, 25 Jul 2006 08:13:00 PST <a href="http://jon.oxer.com.au/">Jon</a> kindly dropped in on Google on the way to Oscon, and presented a talk on Debian (and therefore Ubuntu) packaging. Here it is: <br/><br/> <div align=center> <embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-6726522426109060914"> </embed> <br/><br/> <a href="http://video.google.com/videoplay?docid=-6726522426109060914&q=engedu+ubuntu">And a direct link to the video</a> </div> <br/><br/><i>Tags for this post: linux(<a href="http://www.stillhq.com/linux"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000004&tag=linux&format=.png" border="0" alt="S"></a>) ubuntu(<a href="http://www.stillhq.com/ubuntu"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000004&tag=ubuntu&format=.png" border="0" alt="S"></a>) </i><br/><i>Related posts: <a href="http://www.stillhq.com/link/000071.html">The What-If-Microsoft-Did-The-iPod-Box video done by Microsoft</a>; <a href="http://www.stillhq.com/link/000070.html">Seth Godin at Google</a>; <a href="http://www.stillhq.com/mysql/000005.html">Greg likes MySQL cluster, oh and Stewart's talk</a>; <a href="http://www.stillhq.com/google/000001.html">Alternate queries on results pages making it easier for future evilness?</a>; <a href="http://www.stillhq.com/conference/lca2007/000003.html">LCA 2007 Video: CFQ IO</a>; <a href="http://www.stillhq.com/link/000067.html">If Microsoft designed the iPod box</a>; <a href="http://www.stillhq.com/gtalkbot/000002.html">Renaming mbot to gtalkbot</a>; <a href="http://www.stillhq.com/google/000006.html">Cool people I have met at work</a>; <a href="http://www.stillhq.com/blather/000001.html">Blather, an open source Twitter work-alike for Blosxom and Google Talk</a>; <a href="http://www.stillhq.com/link/000040.html">Worst timing evar!</a>; <a href="http://www.stillhq.com/diary/001071.html">ScobleShow only available as MP4?</a>; <a href="http://www.stillhq.com/mythtv/000009.html">A MythTV Jabber bot</a>; <a href="http://www.stillhq.com/link/000127.html">Anyone for chicken?</a>; <a href="http://www.stillhq.com/diary/toys/000032.html">Procrastination</a>; <a href="http://www.stillhq.com/link/000032.html">Sydney Australia in Google Maps</a>; <a href="http://www.stillhq.com/diary/001018.html">Very funny</a>; <a href="http://www.stillhq.com/mythtv/000017.html">MythTV talk at Google</a>; <a href="http://www.stillhq.com/conference/lca2007/000004.html">Kernel report video</a>; <a href="http://www.stillhq.com/mysql/000006.html">MySQL Camp</a>; <a href="http://www.stillhq.com/link/000132.html">Solar panel reflection effects in satellite imagery</a>; <a href="http://www.stillhq.com/link/000056.html">People sneak into Google for lunch?</a></i> <a href="http://www.stillhq.com/linux/ubuntu/000004.commentform.html">Comment</a> http://www.stillhq.com/linux/ubuntu/000004.html http://www.stillhq.com/linux/ubuntu/000004.html Adventures in Ubuntu Breezy Dovecot /linux/ubuntu Thu, 24 Nov 2005 20:40:00 PST I mentioned <a href="http://www.stillhq.com/linux/ubuntu/000002.html">the other day that I am having problems with Dovecot on Ubuntu Breezy</a>. Now's the time to debug it, and here are my notes... <br/><br/> <b>No inetd.conf</b> <br/><br/> <ul><pre> sed: can't read /etc/inetd.conf: No such file or directory </pre></ul> <br/><br/> This first error is because of this poorly implemented test: <br/><br/> <ul><pre> # The init script should do nothing if dovecot is being run from inetd for p in `sed -r "s/^ *(([^:]+|\[[^]]+]|\*):)?(pop3s?|imaps?)[ \t].*/\3/;t;d" \ /etc/inetd.conf` do for q in `sed -r "s/^ *protocols[ \t]*=[ \t]*(([^\"]*)|\"(.*)\")/\2\3/;t;d" \ /etc/dovecot/dovecot.conf` do if [ $p = $q ]; then exit 0 fi done done </pre></ul> <br/><br/> You can see from the comment that the intention is that the init script doesn't do anything if dovecot is running from inetd. The error message is kinda bogus though, in that the code keeps executing after that failed line with the sed call in it. If you find the error annoying, then make it go away: <br/><br/> <ul><pre> touch /etc/inetd.conf </pre></ul> <br/><br/> In a perfect world, you'd hope that the packager would change the script to do something more like this: <br/><br/> <ul><pre> for p in `sed -r "s/^ *(([^:]+|\[[^]]+]|\*):)?(pop3s?|imaps?)[ \t].*/\3/;t;d" \ /etc/inetd.conf <b>2&gt; /dev/null</b>` </pre></ul> <br/><br/> Moving right along... <br/><br/> <b>It doesn't start the service</b> <br/><br/> I had enabled the imap_listen variable in the dovecot.conf file, but not put it in the protocols variable. The init script checks this, and bugged out without an error message. I would think an error message would be nicer. <br/><br/> And now it works. <br/><br/><i>Tags for this post: linux(<a href="http://www.stillhq.com/linux"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000003&tag=linux&format=.png" border="0" alt="S"></a>) ubuntu(<a href="http://www.stillhq.com/ubuntu"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000003&tag=ubuntu&format=.png" border="0" alt="S"></a>) </i><br/><i>Related posts: <a href="http://www.stillhq.com/linux/ubuntu/000002.html">Ubuntu Breezy and Dovecot hate me</a>; <a href="http://www.stillhq.com/dovecot/000001.html">Dovecot index cache problems</a></i> <a href="http://www.stillhq.com/linux/ubuntu/000003.commentform.html">Comment</a> http://www.stillhq.com/linux/ubuntu/000003.html http://www.stillhq.com/linux/ubuntu/000003.html Ubuntu Breezy and Dovecot hate me /linux/ubuntu Wed, 23 Nov 2005 14:54:00 PST I've <a href="http://www.stillhq.com/diary/toys/000033.html">got a new laptop</a>, and have installed dovecot. Now it wont start, with an error about not being able to find the inetd.conf config file. That's because inetd isn't installed. <br/><br/> Is the dovecot package just broken? Is there something obvious that I am doing wrong? <br/><br/><i>Tags for this post: linux(<a href="http://www.stillhq.com/linux"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000002&tag=linux&format=.png" border="0" alt="S"></a>) ubuntu(<a href="http://www.stillhq.com/ubuntu"><img src="http://www.stillhq.com/tagicon.cgi?post=/linux/ubuntu/000002&tag=ubuntu&format=.png" border="0" alt="S"></a>) </i><br/><i>Related posts: <a href="http://www.stillhq.com/research/smtp/survey/000003.html">Normalising mail server package names</a>; <a href="http://www.stillhq.com/samba/000002.html">Samba and MacOS X 10.4 (Tiger)</a>; <a href="http://www.stillhq.com/linux/ubuntu/000003.html">Adventures in Ubuntu Breezy Dovecot</a>; <a href="http://www.stillhq.com/dovecot/000001.html">Dovecot index cache problems</a></i> <a href="http://www.stillhq.com/linux/ubuntu/000002.commentform.html">Comment</a> http://www.stillhq.com/linux/ubuntu/000002.html http://www.stillhq.com/linux/ubuntu/000002.html A first taste of Ubuntu /linux/ubuntu Sun, 05 Jun 2005 02:57:00 PST For <a href="http://www.stillhq.com/diary/000907.html">the skunk works project</a> I had a need for a Ubuntu box, so I did an install on an old piece of c**p Pentium two box I had lying around. It's my first time installing Ubuntu, and I must say I'm impressed: <br/><br/> <ul> <li>The installer didn't ask me for partition sizes, it just went with reasonable defaults once I had told it to blow away all of my whopping 4gb disc <li>It automatically checked the checksum of each package on the CD, although I imagine that doesn't help much if the entire CD can't be trusted <li>It then went off an did it's thing with no more prompting except for host name and a user account <li>I wonder id the installer changes the list of packages it installs based on the size of the target filesystem. That would be cool... <li>Anyways, after a bit you reboot and apt magic happens without prompting <li>They even overwrite /etc/apt/sources.list with Internet sources and do an apt-get update so it's ready to fly <li>I was impressed over all </ul> <br/><br/> No, if only they had ImageMagick in the base install... <br/><br/><i>Technorati tags for this post: <a href="http://technorati.com/tag/linux" rel="tag">linux</a> <a href="http://technorati.com/tag/ubuntu" rel="tag">ubuntu</a> <a href="http://technorati.com/tag/ubuntu" rel="tag">ubuntu</a> <a href="http://technorati.com/tag/distribution" rel="tag">distribution</a> <a href="http://technorati.com/tag/install" rel="tag">install</a> </i> <a href="http://www.stillhq.com/linux/ubuntu/000001.commentform.html">Comment</a> http://www.stillhq.com/linux/ubuntu/000001.html http://www.stillhq.com/linux/ubuntu/000001.html