Merge pull request #13 from anarcat/patch-1
authorAlexander Wirt <formorer@formorer.de>
Wed, 14 Feb 2018 18:34:01 +0000 (19:34 +0100)
committerGitHub <noreply@github.com>
Wed, 14 Feb 2018 18:34:01 +0000 (19:34 +0100)
debian repository instructions improvements

files/index.html.tt2

index 9451319..4e3f02f 100644 (file)
 #  deb     http://deb.grml.org/ grml-testing main
 #  deb-src http://deb.grml.org/ grml-testing main</pre>
 
+       <p>If you are running Debian stretch or later, you may want to use the following <code>.sources</code> file, which will enforce the suite name and signing keys:</p>
+
+       <pre class="rahmen">
+Types: deb deb-src
+URIs: http://deb.grml.org/
+Suites: grml-stable grml-testing
+Architectures: i386 amd64
+Components: main
+Signed-By: 05483D2F0A254E5BC12AC73021E0CA38EA2EA4AB</pre>
+
+       <p>Then the following <a href="https://manpages.debian.org/apt_preferences">preferences file</a> will keep packages from GRML to replace normal Debian packages, in <code>/etc/apt/preferences.d/grml.pref</code>:</p>
+       
+       <pre class="rahmen">
+Package: *
+Pin: release a=grml-stable
+Pin-Priority: 100
+
+Package: *
+Pin: release a=grml-testing
+Pin-Priority: 100</pre>
+
+       <p>Also  note that you may have trouble installing the <code>grml-debian-keyring</code> package as APT will complain about the missing key. A workaround is to download it directly:</p>
+       
+       <pre class="rahmen">
+sudo wget -O /etc/apt/trusted.gpg.d/grml.gpg http://deb.grml.org/repo-key.gpg
+sudo apt-get update
+sudo apt-get install grml-debian-keyring
+</pre>
+
         <h2><a name="wallpapers"></a>Wallpapers and other media files provided by Grml</h2>
 
        <p>Wallpapers, CD covers and similar media files are available in the