tag 632254 + patch thanks Le Tue, Jun 05, 2012 at 11:17:12AM +0800, Paul Wise a écrit : > On Tue, Jun 5, 2012 at 11:00 AM, Yaroslav Halchenko wrote: > > > ho ho -- smart ;)  not sure even which version to assign if someone > > would decide to close this bug report ;) > > I have retitled the bug asking for this to be documented. I think both > the manual page and the --help output need to mention the possiblity > to use "source" as an architecture.
Hello everybody, how about the attached patch ? (Apparently, the trick does not work wiht rapt-file). Cheers -- Charles Plessy Illkirch-Graffenstaden, France
Index: apt-file =================================================================== --- apt-file (révision 23427) +++ apt-file (copie de travail) @@ -542,7 +542,7 @@ apt-file [options] -D action <debfile> Configuration options: - --architecture -a <arch> Use specific architecture + --architecture -a <arch> Select architecture, or source packages --cache -c <dir> Cache directory --cdrom-mount -d <cdrom> Use specific cdrom mountpoint --dummy -y run in dummy mode (no action) Index: apt-file.1.sgml =================================================================== --- apt-file.1.sgml (révision 23427) +++ apt-file.1.sgml (copie de travail) @@ -143,7 +143,8 @@ architecture from the one installed on your system. It determines how the <literal>$ARCH</literal> variable in sources.list is expanded (but it does not influence - the search in any other way). + the search in any other way). When set to <literal>source</literal>, + searches the contents of the source packages. </para> </listitem> </varlistentry> Index: apt-file.fr.1.sgml =================================================================== --- apt-file.fr.1.sgml (révision 23427) +++ apt-file.fr.1.sgml (copie de travail) @@ -146,7 +146,9 @@ <para> Positionne l'architecture à <literal>architecture</literal>. Cette option est utile si vous cherchez un paquet pour une architecture - différente de celle sur laquelle votre système est installé. + différente de celle sur laquelle votre système est installé. Avec + <literal>source</literal> comme valeur, cherche dans les paquets + source. </para> </listitem> </varlistentry>