# remove current LibreOffice sudo apt-get remove -y libreoffice* # change repository sudo rm /etc/apt/sources.list.d/libreoffice-ppa-oneiric.list* sudo mv /etc/apt/sources.list /etc/apt/sources.list.oneiric cat << EOF | sudo tee /etc/apt/sources.list.d/natty.list deb http://archive.ubuntu.com/ubuntu natty main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu natty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu natty-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu natty-updates main restricted universe multiverse EOF sudo apt-get update sudo apt-get install -y libreoffice sudo apt-get install -y libreoffice-gnome libreoffice-help-de libreoffice-l10n-de libreoffice-base sudo apt-get install -y hunspell-de-de hunspell-en-us hyphen-de mythes-de sudo apt-get install -y ure libreoffice-java-common libreoffice-officebean sudo rm /etc/apt/sources.list sudo mv /etc/apt/sources.list.oneiric /etc/apt/sources.list echo "libreoffice hold" | sudo dpkg --set-selections echo "libreoffice-style-human hold" | sudo dpkg --set-selections echo "libreoffice-emailmerge hold" | sudo dpkg --set-selections echo "libreoffice-filter-mobiledev hold" | sudo dpkg --set-selections echo "libreoffice-help-de hold" | sudo dpkg --set-selections echo "libreoffice-java-common hold" | sudo dpkg --set-selections echo "libreoffice-l10n-common hold" | sudo dpkg --set-selections echo "libreoffice-report-builder-bin hold" | sudo dpkg --set-selections echo "libreoffice-style-human hold" | sudo dpkg --set-selections echo "libreoffice-officebean hold" | sudo dpkg --set-selections echo "ure hold" | sudo dpkg --set-selections # uno-libs3 ure sudo apt-get install -y gtk2-engines-pixbuf sudo apt-get update sudo apt-get dist-upgrade