I solved it.I got frightened.sudo aptitude purge picasathen exited and downloaded the .deb package from the sitethen installed it.Now it is OK.