when i saw the article http://drupal.txwikinger.me.uk/content/libreoffice-now-available-ppa-ubuntu-1010-and-1004 i followed the steps to

remove openoffice

sudo apt-get remove "openoffice*.*"

add the new repository and update

sudo add-apt-repository ppa:libreoffice/ppa
sudo aptitude update

installing libreoffice and the gnome-package

sudo aptitude install libreoffice
sudo aptitude install libreoffice-gnome