ubuntu

angch's picture

subversion and https in Ubuntu Karmic

Had a problem checking out an https subversion repository (self-signed) in Ubuntu Karmic, while Hardy is fine.

In short:

  • svn Hardy uses ra_dav for https
  • svn Karmic uses ra_neon (and libneon27-gnutls) for https.

gnutls is particularly sensitive about certs. So we need to work around it.

So do a:

sudo apt-get install libneon27
LD_PRELOAD=/usr/lib/libneon.so.27 /usr/bin/svn co https://myserver/myrepo
(use alias svn='LD_PRELOAD=/usr/lib/libneon.so.27 /usr/bin/svn')

Above fix comes from:

https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/294648

angch's picture

Ubuntu Server install requires PAE

Testing a plain ubuntu 8.04.3 install on VirtualBox. Got the error

This kernel requires the following features not present on the CPU:
0:6
Unable to boot - please use a kernel appropriate for your CPU

Turned out 0:6 is PAE, and the -server series of kernels for Ubuntu requires it, rather than making use of it if available.

Don't need to downgrade your kernel to -generic, just turn on PAE in your machine or virtual machine. In the case of VirtualBox:

kamal's picture

Build Debian package for Python modules

Just a note for future references. Tools to build Debian package for Python modules:-

Stdeb is not in Ubuntu Hardy repo so we need to build a package for itself first.

angch's picture

Mapnik 0.6.0 Ubuntu Hardy 64bit packages

Backported mapnik 0.6.0 packages (based on Debian unstable's) to Ubuntu Hardy amd64 attached below:

angch's picture

VMware workstation keybindings fix in Ubuntu Intrepid

Up/down keys, etc are not mapped properly in a machine hosted by Intrepid, when it was okay running under Hardy.

One fix was to .vmware/preferences, add:

hint.xkeymap.notLocal = "FALSE"
xkeymap.nokeycodeMap = true

Forgot where I got the above from. VMware server uses .vmware/config, if I remember correctly. Also VMware will pop up a warning when you start it.

angch's picture

OpenOffice 3 backports for Ubuntu.

Caveat: following undergoing testing:

Intrepid:

gpg --keyserver keyserver.ubuntu.com --recv-key 60D11217247D1CFF
sudo -s
echo "deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main" > /etc/sources.list.d/openoffice
gpg --armor --export 60D11217247D1CFF | sudo apt-key add
apt-get update
aptitude dist-upgrade
apt-get upgrade or dist-upgrade doesn't seem to resolve the dependencies properly.

Hardy: gpg --keyserver keyserver.ubuntu.com --recv-key 60D11217247D1CFF sudo -s echo "deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu hardy main" >

angch's picture

Local Malaysian Partial Jaunty images.

Update 24 Apr 2009: Updated for actual release, including netbook remix.

Got tired of looking for local Malaysian mirror for the just released Release Candidate for Ubuntu 9.04. So we grabbed it and mirrored it here: http://ubuntu.bytecraft.com.my/. Have fun. Only desktop images for i386 and amd64 though.

angch's picture

Local Malaysia apt "repository"

For those complaining about slow apt download speeds, or lack of a fast Malaysian repository for Ubuntu, you can use our unofficial apt-proxy, located at Jaring IDC, in TPM.

Just search and replace 'my.archive.ubuntu.com' (if you use it) to 'ubuntu.bytecraft.com.my'

We support https as well, if you can get it to ignore self-signed certs.

Attached is an Ubuntu Intrepid sources.list for the lazy.

And copy and paste if you're lazier:


deb http://ubuntu.bytecraft.com.my/ubuntu/ intrepid main restricted

angch's picture

Thinkpad fingerprint login in Ubuntu Intrepid.

How to enable fingerprint logins (summarized from https://wiki.ubuntu.com/ThinkFinger) for Ubuntu Intrepid.

The above page is for different Ubuntu distros, but as a quickie for Ubuntu Intrepid on Thinkpad (tested on T61 and X61):

Install:

sudo apt-get install thinkfinger-tools libpam-thinkfinger
sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable
sudo 'echo "uinput" >> /etc/modules'
modprobe uinput # for now

Add your user:

# Login to your account
tf-tool --acquire
angch's picture

memcache woes in Ubuntu Intrepid.

Seems like Ubuntu Intrepid uses a beta version of memcache module for PHP. This has caused a number of grief in my Drupal 5 + cacherouter + memcache development site: e.g. http://drupal.org/node/245341#comment-1397634

Syndicate content