Ich habe ein Problem mit dem apt-pinning.
Ich habe bei mir libreoffice 4.2 deinstalliert und möchte stattdessen libreoffice 4.1 installieren und vorerst pinnen.
Zunächst habe ich die ppa
http://ppa.launchpad.net/libreoffice/libreoffice-4-1/ubuntu trusty main
hinzugefügt, und den Signaturschlüssel hinzugefügt.
Dann habe ich sowohl eine Datei /etc/apt/preferences als auch eine Datei /etc/apt/preferences.d/Libreoffice.pref mit dem folgenden Inhalt angelegt:
Package: libreoffice Pin: version 4.1* Pin-Priority: 1000 Package: libreoffice Pin: version 4.2* Pin-Priority: -1
Wenn ich ein sudo apt-get update
mache, und anschließend eine Installation simuliere
stepfahn@Tux:~$ sudo apt-get update Ign http://extras.ubuntu.com trusty InRelease Ign http://ppa.launchpad.net trusty InRelease OK http://extras.ubuntu.com trusty Release.gpg … snip … Ign http://archive.ubuntu.com trusty/universe Translation-de_DE Paketlisten werden gelesen... Fertig stepfahn@Tux:~$ sudo apt-get -s install libreoffice-writer Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden zusätzlichen Pakete werden installiert: libreoffice-base-core libreoffice-common libreoffice-core libreoffice-math libreoffice-style-galaxy python3-uno Vorgeschlagene Pakete: libreoffice-base libreoffice-style-crystal libreoffice-style-hicontrast libreoffice-style-human libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango libreoffice-gcj libreoffice-java-common Die folgenden NEUEN Pakete werden installiert: libreoffice-base-core libreoffice-common libreoffice-core libreoffice-math libreoffice-style-galaxy libreoffice-writer python3-uno 0 aktualisiert, 7 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Inst libreoffice-style-galaxy (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Inst libreoffice-common (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Inst libreoffice-core (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-base-core (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-math (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-writer (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst python3-uno (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-style-galaxy (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Conf libreoffice-common (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Conf libreoffice-core (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-base-core (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-math (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-writer (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf python3-uno (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) stepfahn@Tux:~$ sudo apt-get -s install libreoffice Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden zusätzlichen Pakete werden installiert: fonts-dejavu fonts-sil-gentium fonts-sil-gentium-basic libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gnome libreoffice-gtk libreoffice-impress libreoffice-java-common libreoffice-math libreoffice-pdfimport libreoffice-report-builder-bin libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-style-galaxy libreoffice-style-human libreoffice-writer python3-uno Vorgeschlagene Pakete: imagemagick graphicsmagick-imagemagick-compat libreoffice-grammarcheck libreoffice-help-4.2 libreoffice-l10n-4.2 mythes-thesaurus openclipart-libreoffice pstoedit unixodbc gstreamer1.0-ffmpeg libreoffice-officebean libreoffice-gcj libreoffice-report-builder libjtds-java libreoffice-mysql-connector libmyodbc libmysql-java libreoffice-sdbc-postgresql odbc-postgresql libpg-java libsqliteodbc tdsodbc mdbtools libopencl1 libreoffice-style-crystal libreoffice-style-hicontrast libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango libreoffice-evolution crystalcursors kde-icons-crystal Die folgenden NEUEN Pakete werden installiert: fonts-dejavu fonts-sil-gentium fonts-sil-gentium-basic libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gnome libreoffice-gtk libreoffice-impress libreoffice-java-common libreoffice-math libreoffice-pdfimport libreoffice-report-builder-bin libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-style-galaxy libreoffice-style-human libreoffice-writer python3-uno 0 aktualisiert, 25 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Inst libreoffice-style-galaxy (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Inst libreoffice-style-human (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Inst libreoffice-common (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Inst fonts-dejavu (2.34-1ubuntu1 Ubuntu:14.04/trusty [all]) Inst fonts-sil-gentium (20081126:1.02-13 Ubuntu:14.04/trusty [all]) Inst fonts-sil-gentium-basic (1.1-7 Ubuntu:14.04/trusty [all]) Inst libreoffice-core (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-base-core (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-base-drivers (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-base (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-calc (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-draw (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-impress (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-math (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-report-builder-bin (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-writer (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-avmedia-backend-gstreamer (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-java-common (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Inst python3-uno (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-gtk (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-gnome (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-sdbc-firebird (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-sdbc-hsqldb (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Inst libreoffice-pdfimport (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-style-galaxy (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Conf libreoffice-style-human (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Conf libreoffice-common (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Conf fonts-dejavu (2.34-1ubuntu1 Ubuntu:14.04/trusty [all]) Conf fonts-sil-gentium (20081126:1.02-13 Ubuntu:14.04/trusty [all]) Conf fonts-sil-gentium-basic (1.1-7 Ubuntu:14.04/trusty [all]) Conf libreoffice-core (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-base-core (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-base-drivers (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-base (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-calc (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-draw (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-impress (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-math (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-report-builder-bin (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-writer (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-avmedia-backend-gstreamer (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-java-common (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [all]) Conf python3-uno (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-gtk (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-gnome (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-sdbc-firebird (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-sdbc-hsqldb (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) Conf libreoffice-pdfimport (1:4.2.4-0ubuntu2 Ubuntu:14.04/trusty-updates [amd64]) stepfahn@Tux:~$
soll mir immer die Version 4.2.4 installiert werden.
Was mache ich falsch?