Ubuntu 11.10: 32-bit applications do not run 64-bit

After upgrading from natty (11.04) to oneiric (11.10), some 32-bit applications don’t run anymore. I have ‘ia32-libs’ and ‘libc6-i386’ packages installed. For example, when I run Android adb, $ ./adb bash: ./adb: No such file or directory $ file adb adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped After googling around, the fix is quite simple: re-install ‘libc6-i386’. $ sudo apt-get install --reinstall libc6-i386 $ ....

October 27, 2011 · 1 min · 115 words · kenno

PHP extension "mcrypt" must be loaded.

On Ubuntu or Debian: $ sudo apt-cache search php|egrep ^php5- $ sudo apt-get install php5-mcrypt Ref: Install php extensions on ubuntu

May 22, 2011 · 1 min · 21 words · kenno

[Fixed] K3b doesn’t burn mp3 to CD

On Ubuntu 10.10, if you get an error message as the following when trying to create audio CD from mp3: “Unable to handle the following files due to an unsupported format: You may manually convert these audio files to wave using another application supporting the audio format and then add the wave files to the K3b project.” Check if you have libk3b6-extracodecs installed, if not just; $ sudo apt-get install libk3b6-extracodecs...

November 6, 2010 · 1 min · 83 words · kenno

Banshee crashes: The database disk image is malformed

Banshee just crashed on me with the following error message: <br /> [Info 20:44:59.949] Running Banshee 1.6.1: [Ubuntu 10.04 LTS (linux-gnu, x86_64) @ 2010-06-18 18:47:49 UTC]<br /> [Info 20:45:01.043] All services are started 0.949921<br /> Exception has been thrown by the target of an invocation.<br /> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Mono.Data.Sqlite.SqliteException: <strong>The database disk image is malformed</strong><br /> database disk image is malformed<br /> at Mono....

September 28, 2010 · 2 min · 223 words · kenno

Amarok 2.3.0 and PulseAudio Problem

Ever since I upgraded my Ubuntu desktop from 9.04 to 10.4, I have been having problems with Amarok dropping sound randomly. For example, if Amarok is playing the music and another program requires to use sound, Amarok will become silence. One solution to restore sound in Amarok is to kill pulseaudio and restart Amarok. It works, but very annoying. Fortunately, installing libxine1-gnome and configure Amarok to use Esound (ESD) instead of PulseAudio fixed the problem....

May 17, 2010 · 1 min · 81 words · kenno

Enable sudo insults

Look for line begins with Defaults, and append insults to the end. Save it, and clear the sudo session (sudo -K), and try sudo with a wrong password. 🙂 Source: Enable sudo insults for some laughs

April 15, 2010 · 1 min · 36 words · kenno

Enable Japanese input on Debian/Ubuntu

Normally, I would install Scim and Anthy for Japanese input method on Debian. Recently, I found an easier way to achieve the same thing, which is to use IBus instead of Scim. Install ibus: sudo apt-get install ibus ibus-anthy ibus-gtk From the menu, System -> Preferences -> IBus Preference IBus Preference should detects that you have run IBus daemon yet, click &#8220;Yes&#8221; to run it. You’ll be asked to edit your ....

March 14, 2010 · 1 min · 150 words · kenno

Enable mp3 playback with Amarok on Ubuntu 9.10

I just installed Ubuntu 9.10 on my desktop. When I tried to play some mp3 files with Amarok 2.2.0, it didn’t make any sound though it played ogg without a problem. Thanks to this post, mp3 play back can be enabled by installing libxine1-ffmpeg. Credit: How to Play mp3 files with amarok in Ubuntu Linux 9.04

January 22, 2010 · 1 min · 56 words · kenno

Stopping hard drive clicking noise on MSI U100

Finally, the OS X has been removed from MSI Wind U100, and completely replaced by Debian (testing). Whenever the computer is idle, the hdd makes this weird clicking noise. To stop it, we can use hdparm to turn it off. ` kenno@tora:~$ sudo hdparm -B 254 /dev/sda Source: MSI Wind – Gentoo Linux Wiki

November 28, 2009 · 1 min · 54 words · kenno

FIXED: extconf.rb:8:in `require&#8217;: no such file to load &#8212; mkmf (LoadError)

While reading Linux Journal Issue 181 today, I stumbled upon a section explaining about running Ruby on Rails on Apache using an Apache module called Phusion Passenger, also known as mod_rails. To install Passenger, I followed the instruction provided in the magazine: sudo gem install passenger Unxpectedly, I got the following error: ``Building native extensions. This could take a while… ERROR: Error installing passenger: ERROR: Failed to build gem native extension....

July 25, 2009 · 1 min · 167 words · kenno