Portsnap snapshot corrupt

ថ្ងៃ​នេះខ្ញុំ​​មាន​បញ្ហា​ជាមួយ​ portsnap លើ​ FreeBSD ស៊ើវើ។ ពេល​ខ្ញុំ​រត់​ខំម៉ាន​ portsnap fetch upate មាន​ពត៌មាន​ដូច​នេះ /usr/ports/files/.gz not found — snapshot corrupt. តាម​ប្លក់នេះ របៀប​ជួសជុល​វា មិន​ពិបាកទេ។ rm -rf /var/db/portsnap/* portsnap fetch portsnap extract Source: http://neonpulse.net/2008/11/20/portsnap-corrupt-snapshot/

October 7, 2013 · 1 min · 28 words · kenno

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: Do you want to continue [Y/n]? Y E: Internal Error, No file name for libapt-pkg4.12 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: # apt-get download libapt-pkg4.12/precise-security # dpkg -i libapt-pkg4.12_0.8.16~exp12ubuntu10.10_amd64.deb This seems did the trick.

October 3, 2013 · 1 min · 63 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 color on for git status

The following command will update the Git’s global configuration to set the color.ui to true. $ git config --global color.ui true Ref: https://ask.fedoraproject.org/question/10434

September 26, 2013 · 1 min · 23 words · kenno

Changing ZFS pool to use disk ID instead of disk assignment

This what I have: # zpool status pool: tank state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 sdb ONLINE 0 0 0 sdc ONLINE 0 0 0 sdd ONLINE 0 0 0 To convert the pool to use disk’s ID instead of device files such as /dev/sda, we need to export the storage pool. ...

September 20, 2013 · 1 min · 162 words · kenno