Software

Fail to upgrade flashplugin-nonfree 7.0.68~ubuntu1~dapper1

If you are using flashplugin-nonfree in Ubuntu Dapper from backports like me, you might see some error according to post-installation script failed.

sugree@sugree-laptop:~$ sudo apt-get upgrade flashplugin-nonfree
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up flashplugin-nonfree (7.0.68~ubuntu1~dapper1) ...
Downloading...  done.
usage: update-rc.d [-n] [-f]  remove
       update-rc.d [-n]  defaults [NN | sNN kNN]
       update-rc.d [-n]  start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
dpkg: error processing flashplugin-nonfree (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 flashplugin-nonfree
E: Sub-process /usr/bin/dpkg returned an error code (1)

I recommend all you to upgrade as soon as possible because there are multiple vulnerabilities in current versions.

Upgrade RPM-based system properly using YUM

I found something weird after trying to upgrade some RPM packages using YUM. The problem was hang by message as follow.

Setting up package sacks

It happened when I was running yum update since the repository had changed from CentOS 4.3 to CentOS 4.4. It seems this was a popular problem because I found a thread at CentOS board. The solution is also available to guide me through the step. Not exact one but useful.

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 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.