[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
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
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:
- How to Install Google Earth 6 Beta in Ubuntu (with some problem fixed)
- How to install Google Earth in ubuntu 9.04
- How to install Google Earth in Ubuntu 10.10 Maverick
- “signal out of range” problem after Ubuntu 11.04 Natty Installed
- 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:
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:
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
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:
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.
(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:
(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:
(iv) Missing public key of the application
Open the terminal (Ctrl+Alt+T) and run the following command:
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:
After adding the missing public key run the following command (again):
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