Sunday, January 15, 2012

How to post html code in your blog

To post html code in your blog we have to convert first, the following steps :
  1. Go to site 'http://centricle.com/tools/html-entities/'.
  2. Delete this code in the box 'Ampersands & angle brackets need to be encoded.' then copy the html code that will be posted into the box.
  3. Then click encode it will display a new code convert results.
  4. Then copy and paste the new code into the blog.
May be useful.

Friday, January 13, 2012

Unable to update using apt-get on Ubuntu 11.04

Sometimes after the installation process does not go well, I encountered problems when using apt-get update message appears like this:
E :  Encountered a section with no package : header
E : Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary_i386_packages
E : The package lists or status file could not be parsed or opened.

The solution is remove all the listings package does not remove the package repository, only a list of packages in them. Removing the list of packages will force apt-get to rebuild.
The first step is open a terminal by pressing ctrl + alt + T and log in as super user with the command sudo-i then type the command rm / var / lib / apt / lists / *-vf then rebuild the package listings by typing the command apt-get update .

Hopefully this post a little help and hope everything goes smoothly.