Solved: TinyOS error – tos-install-jni – [: 31: =: unexpected operator

Those who are you want to install and use TinyOS, you may face some unexpected error while using “tos-install-jni” command. So for you here are some tricks to solve those problems.

Problem 1: Permission denied$ tos-install-jni
[: 31: =: unexpected operator

Installing 32-bit Java JNI code in /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386 …
install: cannot remove `/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/': Permission denied

Solution 1: Use sudo with the command$ sudo tos-install-jni
[: 31: =: unexpected operator
Installing 32-bit Java JNI code in /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386 …

Problem 2: [: 31: =: unexpected operator$ sudo tos-install-jni
[: 31: =: unexpected operator
Installing 32-bit Java JNI code in /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386 …

Solution 2: Edit /usr/bin/tos-install-jni and change 1st line from “#!/bin/sh” to “#!/bin/bash”$ sudo tos-install-jni
Installing 32-bit Java JNI code in /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386 …

Enjoy TinyOS!!

Solved: gpg error http lucid release

Today I was trying update one of Vmware Ubuntu Lucid 10.04 system using “sudo apt-get update” command. After updating the system it was giving a warning message everytime like the following

W: GPG error: lucid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY ***************
Then I searched for the solution to get rid of the warning message and found that following commands worked for me.
$sudo gpg –keyserver –recv 5BB92C09DB82666
This will give you the following output
gpg: directory `/home/suzan/.gnupg’ created
gpg: new configuration file `/home/suzan/.gnupg/gpg.conf’ created
gpg: WARNING: options in `/home/suzan/.gnupg/gpg.conf’ are not yet active during this run
gpg: keyring `/home/suzan/.gnupg/secring.gpg’ created
gpg: keyring `/home/suzan/.gnupg/pubring.gpg’ created
gpg: requesting key DB82666C from hkp server
gpg: /home/suzan/.gnupg/trustdb.gpg: trustdb created
gpg: key DB82666C: public key “Launchpad Old Python Versions” imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
Then use this command
$sudo gpg –export –armor 5BB92C09DB82666C | sudo apt-key add -
Now you can feel free to update your system without any warning
$ sudo apt-get update
Enjoy and Happy Linuxing!!!!!

Google releases Google Goggles for iPhone today

For iPhone users Google releases an interesting application today – Google Goggles. It uses pictures to search the web. Goggles recognizes things such as landmarks, books, wine, artwork, and logos. Earlier it was only released for Android phone users.

You can download Goggles for iPhone and Android Phone from these following links

1. Google  Mobile Apps

2. Apple iPhone Apps Store

Photo: Getting information of a Book

Some Google Goggles videos

1. Google Mobile App for iPhone, now with Google Goggles

2. Google Goggles

How to Protect Your Privacy on Facebook

Facebook Privacy is a hot topic now-a-days. Newly launched Facebook’s Open Graph Protocol might allow anybody to see your personal information’s and photo’s without login in the facebook, if your did not changed your default privacy settings. Some users ready to quit Facebook on May 31 (Quit Facebook Day) for this privacy concern. So if you are concerned about your privacy but do not want to quit, then there is a tool check and fix your Facebook Privacy settings. Read more

Ubuntu 10.04 LTS (Lucid Lynx) – Screenshots

Ubuntu 10.04 LTS (Lucid Lynx) has been released today. New default theme is “Ambiance”. There is one more new theme named “Radiance”. Similar like Ubuntu 9.10 (Karmic Koala) I took some Ubuntu 10.04 LTS (Lucid Lynx) screenshot for you. I like the new theme very much. In Karmic Koala  “Ubuntu Software Center” was little bit buggy. But in new release it seems good to me.

Enjoy the Ubuntu 10.04 LTS (Lucid Lynx) screenshots Read more