E: Internal Error, No file name for libapt-pkg4.12

When I tried to update an Ubuntu (12.04) machine with the usual apt-get command, this error message came up: Reading this post (http://ubuntuforums.org/showthread.php?t=2045321), one way to fix it is to download liapt-pkg4.12 and re-install it: This seems did the trick.

October 3, 2013 · 1 min · 40 words · kenno

បញ្ចូល​ Upstream Version នៃ Node.js ក្នុង Ubuntu 12.04

$ sudo apt-get install python-software-properties $ sudo apt-add-repository ppa:chris-lea/node.js $ sudo apt-get update $ sudo apt-get install nodejs ឆែក​មើល: $ node -v v0.10.20

October 1, 2013 · 1 min · 23 words · kenno

Turn on puppet syntax highlight in vim

On Debian/Ubuntu: $ sudo apt-get install vim-puppet $ ln -s /usr/share/vim/addons/syntax/puppet.vim ~/.vim/plugin/

September 21, 2012 · 1 min · 12 words · kenno

បញ្ចូល C/C++ plugin (or CDT) ក្នុង Eclipse

សំណាង​ល្អ អ៊ូប៊ុនធូ មាន​កញ្ចប់មួយ​ឈ្មោះ eclipse-cdt​ ។ យើង​អាច​បញ្ចូល​វា​ដោយ ខំម៉ានដូច​នេះ $ sudo apt-get install eclipse-cdt ពេល​បើក​ Eclipse លើកក្រោយ​ ហើយ​បង្កើត project ថ្មី យើងនឹងឃើញ​ស្រដៀងនេះ

July 20, 2012 · 1 min · 19 words · kenno

Fix: (K)ubuntu doesn’t play Audio CD

On Kubuntu 11.10, we have KsCD program installed to play audio CD. The problem I’m having is that some machines could play audio cd and some couldn’t. All machines run Kubuntu 11.10. To fix this issue, check that /dev/cdrom is a sym link to /dev/sr0 (credit [1]). In my case, machines which couldn’t play audio CD don’t have ‘/dev/cdrom’: # ls -l /dev/cd* ls: cannot access /dev/cd*: No such file or directory Let’s create one:...

July 11, 2012 · 1 min · 103 words · kenno