Wednesday, February 22, 2012

Ubuntu Adventures

note: before executing the os or apps updates, select the fastest server first:
         [Ubuntu Software Center>edit>Software sources, Ubuntu Software TAB>Click Download From>Others, Choose the fastest server automatically
note: After installing Ubuntu 11.10 w/o 3rd party for faster completion, install updates one by one for easier update save.

Setup Printer Canon IP2770 | Ubuntu 11.10

Printer is a peripheral which produces a text or graphics of documents stored in electronic form, usually on physical print media such as paper or transparencies. [Wiki] Not all printers are detected in ubuntu 11.10, as well as canon ip2770 which can not be detected automatically. It required manual way to install it. In this tutorial will explain how to setup printer canon ip2770 in Ubuntu 11.10.
Here are step-by-step to setup printer canon ip2770 in Ubuntu 11.10:
  • You have to download the canon ip2770 driver from http://support-asia.canon-asia.com/
  • Open your terminal, go to the folder where the driver canon ip2770 had been downloaded and then extract the “tar.gz” file.
tar xvf cnijfilter-ip2700series-3.30-1-i386-deb.tar.gz
  • Go to “cnijfilter-ip2700series-3.30-1-i386-deb” directory:
cd cnijfilter-ip2700series-3.30-1-i386-deb/
  • Then go to “packages” directory
cd packages/
  • After that install all the packages inside it by doing this command:
sudo dpkg -i *.deb
  • After the installation proses is done, go to “System > Preferences > Printers” then it will show like this
Setup Printer Canon ip2770 | Ubuntu 11.10
The Printer is ready
  • Choose ip2700-series, turn on your printer, and then “Print Test Page” to make sure that printer is can be use.
Ok that’s for how to Setup Printer Canon ip2770 in Ubuntu 11.10. Thanks for stopping by and read some posts on this website, hopefully this info is useful for every one who need it. See you in another tutorial and don’t forget to leave a comment for me.

Install Google Earth and Fix ugly fonts problem in Ubuntu 11.04 Natty

THIS POST WAS WRITTEN BY ADMIN ON APRIL 30, 2011
POSTED UNDER: INTERNET
After installed Ubuntu 11.04 Natty Narwhal, one thing you might want is to install Google Earth. Follow is how to install Google Earth 6 from google official site and fix the bad looking fonts problem.
Install Google Earth from google official site
1.) Choose to download deb package for Debian/Ubuntu from the official site.
2.) In Ubuntu Software Center, make sure lsb-core has been installed.
3.) Double click to install the deb downloaded in step 1, or use:
sudo dpkg -i google-earth-stable_current*.deb
Fix ugly, unreadable fonts
I just ran the Google Earth 6 in Ubuntu 11.04 64-bit, and its fonts looks ugly. See the picture:
I found an easy way to fix it on official help forum that is to install the MS TrueType font package:
sudo apt-get install ttf-mscorefonts-installer
then, logout and back in.
Related posts:
  1. How to Install Google Earth 6 Beta in Ubuntu (with some problem fixed)
  2. How to install Google Earth in ubuntu 9.04
  3. How to install Google Earth in Ubuntu 10.10 Maverick
  4. “signal out of range” problem after Ubuntu 11.04 Natty Installed
  5. Install Skype on Ubuntu 11.04 Natty Narwhal (32&64-bit)

    unable to lock the administration directory (/var/lib/dpkg/) is another process using it
    It happens quite often that we encounter errors while trying to run an update in Ubuntu. There are several type of errors and in this post we will see how to solve some of the most common errors encountered during update of packages in Ubuntu.

    Error 1: E:Encountered a section with no Package: header, E: Problem with MergeList

    Sometimes running the updates in the Update Manger results in the following error:
    Could not initialize the package information.
    An unresolvable problem occurred while initializing the package information.
    Please report this bug against the ‘update-manager’ package and include the following error message:
    ‘E:Encountered a section with no Package: header, E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.’
    A similar error occurs while running the apt-get update command in terminal:
    Reading package lists… Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages
    E: The package lists or status file could not be parsed or opened.
    There is a one shot solution to the above errors. Open the terminal and run the following commands in the given order:
    sudo rm -rf /var/lib/apt/lists/* 
    sudo apt-get clean 
    sudo apt-get update
    Hope that solves the above mentioned problems. Now lets move on to another type of error.

    Error 2:E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)

    A very common error while installing an application or updating a package is following:
    E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    The reason is quite obvious from the error itself “another process using it”. Which means another process is already using the mentioned directory (necessary for the application to be installed) through Synaptic Package Manager, Update Manger, terminal or Ubuntu Software Center.
    The idea would be to look for another application which is being installed or update it. Wait for it to finish the installation or cancel it. If you cannot see the application then try running this command in the terminal to solve this error:
    sudo rm /var/lib/apt/lists/lock

    Error 3: The action would require the installation of packages from not authenticated sources

    I faced a strange situation today when I ran the Update Manager in Ubuntu. It showed me a number of updates to be installed and when I clicked on Install Updates it showed me the following error:
    The action would require the installation of packages from not authenticated sources
    ubuntu-require-untrusted-packages
    There could be several reason for this error:
    • Software is restricted by copyright or legal issues
    • The Software is from Canonical Partner and has not been added to Source List
    • The application has been installed form its source code
    • Missing public key of the application
    If you do not know which is the root cause of error, then follow the instructions for each of them and then you can find it out. Lets see how to tackle these problem one by one:

    (i) Software is restricted by copyright or legal issues

    Run the Update Manager. And go to Settings as shown in the pic below:
    ubuntu-update-manger-settings
    Now here, go to the Ubuntu Software tab and make sure that Software is restricted by copyright or legal issues field is checked. Close the settings and install updates now.
    ubuntu-synaptic-multiverse

    (ii) The Software is from Canonical Partner and has not been added to Source List

    In the Update Manager Settings, go to Ubuntu Software tab and include the Source Code for updates like in the pic below:
    ubuntu-synaptic-canonical-settings

    (iii) The application has been installed form its source code

    In the Update Manger Settings, go to Ubuntu Software tab and check the Source Code option:
    ubuntu-synaptic-source

    (iv) Missing public key of the application

    Open the terminal (Ctrl+Alt+T) and run the following command:
    sudo apt-get update
    Now wait till it finishes and see if you see something like this:
    W: GPG error: http:/something.something Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXXXXX
    Note down the numbers you see after NO_PUBKEY. This error is because the application’s public key has not been added. To solve the error use the following command in the terminal:
    sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com XXXXXXXXXXXXXXXX
    After adding the missing public key run the following command (again):
    sudo apt-get update
    I hope it helps solve your problem. Do provide us your feedback and if you are facing errors other than this do let us know. Comments section is all yours. Enjoy :)

    No comments:

    Post a Comment