Thank you for your reply !

I'll forward this to the original reporter and try to give you
feedback as soon as possible.

Jérôme

On Feb 12, 2008 9:18 PM, Andreas Hoenen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> (Luckily your report can be reproduced in Debian, which eases handling
> for me ;-) )
>
> I'm not sure whether you describe a bug or a feature, let me cite from the
> manual page (with emphasis added):
>
> "for the installed and available package *versions* ...
> upgrade options ... of the selected *package*"
>
> IMHO this talks about available versions, not about available packages.
> The regex option is something like an add-on with its own semantics.  If
> you ask for a specific package, you will get information even if it is
> not installed.  But if you ask for packages matching a regular
> expression, the output is restricted to the available versions of the
> installed packages.  An example why I prefer it this way (executed with
> SVN head):
>
> Current behaviour:
>
> $ ./apt-show-versions -r ^texlive
> texlive/testing uptodate 2007-13
> texlive-base/testing uptodate 2007-13
> texlive-base-bin/testing uptodate 2007.dfsg.1-2
> texlive-common/testing uptodate 2007-13
> texlive-doc-base/testing uptodate 2007-3
> texlive-extra-utils/testing uptodate 2007.dfsg.1-2
> texlive-fonts-recommended/testing uptodate 2007-13
> texlive-lang-cyrillic/testing uptodate 2007.dfsg.3-1
> texlive-latex-base/testing uptodate 2007-13
> texlive-latex-extra/testing uptodate 2007.dfsg.1-1
> texlive-latex-recommended/testing uptodate 2007-13
> texlive-math-extra/testing uptodate 2007.dfsg.1-1
> texlive-pictures/testing uptodate 2007-13
>
> Your suggested behaviour:
>
> $ ./apt-show-versions -r ^texlive
> texlive/testing uptodate 2007-13
> texlive-base/testing uptodate 2007-13
> texlive-base-bin/testing uptodate 2007.dfsg.1-2
> texlive-base-bin-doc not installed
> texlive-bibtex-extra not installed
> texlive-chemistry not installed
> texlive-common/testing uptodate 2007-13
> texlive-context not installed
> texlive-doc-base/testing uptodate 2007-3
> texlive-doc-bg not installed
> texlive-doc-cs+sk not installed
> texlive-doc-de not installed
> texlive-doc-el not installed
> texlive-doc-en not installed
> texlive-doc-es not installed
> texlive-doc-fi not installed
> texlive-doc-fr not installed
> texlive-doc-it not installed
> texlive-doc-ja not installed
> texlive-doc-ko not installed
> texlive-doc-mn not installed
> texlive-doc-nl not installed
> texlive-doc-pl not installed
> texlive-doc-pt not installed
> texlive-doc-ru not installed
> texlive-doc-th not installed
> texlive-doc-tr not installed
> texlive-doc-uk not installed
> texlive-doc-vi not installed
> texlive-doc-zh not installed
> texlive-extra-utils/testing uptodate 2007.dfsg.1-2
> texlive-font-utils not installed
> texlive-fonts-extra not installed
> texlive-fonts-extra-doc not installed
> texlive-fonts-recommended/testing uptodate 2007-13
> texlive-fonts-recommended-doc not installed
> texlive-formats-extra not installed
> texlive-full not installed
> texlive-games not installed
> texlive-generic-extra not installed
> texlive-generic-recommended not installed
> texlive-humanities not installed
> texlive-humanities-doc not installed
> texlive-lang-african not installed
> texlive-lang-all not installed
> texlive-lang-arab not installed
> texlive-lang-armenian not installed
> texlive-lang-croatian not installed
> texlive-lang-cyrillic/testing uptodate 2007.dfsg.3-1
> texlive-lang-czechslovak not installed
> texlive-lang-danish not installed
> texlive-lang-dutch not installed
> texlive-lang-finnish not installed
> texlive-lang-french not installed
> texlive-lang-german not installed
> texlive-lang-greek not installed
> texlive-lang-hebrew not installed
> texlive-lang-hungarian not installed
> texlive-lang-indic not installed
> texlive-lang-italian not installed
> texlive-lang-latin not installed
> texlive-lang-manju not installed
> texlive-lang-mongolian not installed
> texlive-lang-norwegian not installed
> texlive-lang-other not installed
> texlive-lang-polish not installed
> texlive-lang-portuguese not installed
> texlive-lang-spanish not installed
> texlive-lang-swedish not installed
> texlive-lang-tibetan not installed
> texlive-lang-ukenglish not installed
> texlive-lang-vietnamese not installed
> texlive-latex-base/testing uptodate 2007-13
> texlive-latex-base-doc not installed
> texlive-latex-extra/testing uptodate 2007.dfsg.1-1
> texlive-latex-extra-doc not installed
> texlive-latex-recommended/testing uptodate 2007-13
> texlive-latex-recommended-doc not installed
> texlive-latex3 not installed
> texlive-math-extra/testing uptodate 2007.dfsg.1-1
> texlive-metapost not installed
> texlive-metapost-doc not installed
> texlive-music not installed
> texlive-omega not installed
> texlive-pdfetex not installed
> texlive-pictures/testing uptodate 2007-13
> texlive-pictures-doc not installed
> texlive-plain-extra not installed
> texlive-pstricks not installed
> texlive-pstricks-doc not installed
> texlive-publishers not installed
> texlive-publishers-doc not installed
> texlive-science not installed
> texlive-science-doc not installed
> texlive-xetex not installed
>
> The first output exactly tells me what I want to know: my texlive
> installation is uptodate.  The second output is just cluttered.  Thus I
> hesistate to change the current behaviour.  On the other hand your use
> case seems reasonable to me, thus I could imagine to provide a modified
> regex option (-R) that works in the way you suggest (under the
> precondition that the package owner does not have any objections - I'm
> only co-maintainer, a-s-v stays his child).
>
> What do you think?
>
> Regards, Andreas
> --
> Andreas Hoenen <[EMAIL PROTECTED]>
>
> GPG: 1024D/B888D2CE
>      A4A6 E8B5 593A E89B 496B
>      82F0 728D 8B7E B888 D2CE
>


Reply via email to