Linux

How to extract a file from RPM

Today I would like to extract a file in an RPM because I accidentally made some changes to a configuration file. Actually, it's not me to do that directly. rpm changed my modified file during upgrade so I want to recover that file from the original RPM. Well, I'm not dare enough to reinstall that RPM. That's why I wanted to extract only one file.

BTQueue is going to have a new core

Sorry for so long delay. It's all my fault since I am very busy due to my work. Anyway, I have been trying to upgrade core engine from BitTorrent 4.4.0 to BitTorrent 4.20.9. After getting the note, I decided to publish my unfinished work.

svn co https://svn.sourceforge.net/svnroot/btqueue/branches/BitTorrent-4.20.9 btqueue

Don't expect too much. It is in very early stage and unusable in all case. It could just start the program and exit properly.

How to solve MANTYPE problem in NPACI Rocks 4.2

I have seen the first problem in using [NPACI Rocks 4.2][]. The symptom is I was unable to submit just a basic job to [SGE][] because of following error in standard error file.

MANTYPE: Undefined variable

How to customize TuxBox for DreamBox DM500

A friend of mine is playing with DreamBox DM500. In fact, I don't have any satellite receivers but it is very promising. If I would like to have one, it will be mine. Anyway, DM500 is innovated by Germany company so no doubt to lack Thai language support. He is trying to solve this problem. I don't understand what EPG is but he has just released Thai EPG yesterday. Anyway, building DM500 is a long process even on fast machine so he asked me to help on machine under my control. Below is what I have done to build TuxBox on Centos 4.1.

Using aptitude to install VMware Tools

One of powerful tools bundled with debian-based distros is aptitude since it is capable to resolve many dependencies among packages in several ways. For example, you are an end-user who wants to run Ubuntu as a guest OS inside VMware. After installation you might install VMware tools to improve speed and usability. However, the default installation profile didn't install development tools, says build-essential, for building kernel modules. So, you have to install build-essential as well as linux-headers to let VMware build kernel modules just for your current kernel. Do you remember that you are end-user. These packages are only used once and you will never use it for so long. They should be removed to save more disk space. Usually, you can do it by run apt-get remove all unused packages. Anyway, it is possible to just let aptitude do that process with a single command automatically. See below for detail instructions of installing VMware tools and then removing unused packages.

Installing Tor 0.1.1.23 on Ubuntu Dapper

I'am facing some trouble to access all Google services. It is a kind of DNS problem of my ISP. I tried to solve this problem temporary by myself using Tor because Ubuntu Dapper has Tor. Unfortunately, the latest Tor in Ubuntu Dapper is 0.1.1.16 which is already obsoleted so I saw below log in /var/log/tor/log.

Sep 09 18:53:50.167 [notice] Tor 0.1.0.16 opening log file.
Sep 09 18:53:50.181 [notice] Initialized libevent version 1.1a using method epoll
Sep 09 18:53:51.422 [notice] directory_get_from_dirserver(): No running dirservers known. Not trying. (purpose 1)
Sep 09 19:12:18.345 [notice] Application request when we're believed to be offline. Optimistically trying again.
Sep 09 19:12:41.713 [warn] You are running Tor version 0.1.0.16, which will not work with this network.
Please use one of 0.1.0.18,0.1.1.23.
Sep 09 19:12:45.662 [notice] Tor has successfully opened a circuit. Looks like it's working.