[LOSTWAGES] Add .deb package install preference instructions

Andreas Mohr andi at rhlx01.fht-esslingen.de
Wed Jun 15 13:50:42 CDT 2005


I've been fighting with Debian vs. WineHQ wine package install order
several times already, so I got around to creating an apt_preferences rule
which I document thusly.

Andreas Mohr
-------------- next part --------------
Index: templates/en/download-deb.template
RCS file: /home/wine/lostwages/templates/en/download-deb.template,v
retrieving revision 1.5
diff -u -r1.5 download-deb.template
--- templates/en/download-deb.template	7 Mar 2005 21:17:11 -0000	1.5
+++ templates/en/download-deb.template	15 Jun 2005 18:46:29 -0000
@@ -53,6 +53,17 @@
 <p>Then, you can run '<b>apt-get update</b>' to update APT's package information. 
 Finally, to install Wine, do '<b>apt-get install wine</b>'.</p>
+<p>If you want to make sure that apt-get will install the WineHQ wine package
+instead of the Debian wine package (which usually has the same version),
+then add something like the following entry to /etc/apt/preferences:</p>
+<i><p>Package: wine<br>
+Pin: release l=WineHQ APT Repository<br>
+Pin-Priority: 1000</p></i>
+<p>Or alternatively use a modified rule to adjust the installation relationship
+between WineHQ and Debian packages in a different way.</p>
 <h2>Building the Wine Package from Source using APT:</h2>
 <p>APT also allows easy compilation from source of a package.  This is useful if

More information about the wine-patches mailing list