Bug#115520: --target-release (-t) for apt-cache [show?]

2010-06-05 Thread David Kalnischkies
Hi Michal Zimen,

2010/5/29 Michal Zimen :
> It would be helpful, for example, to get directly source version of
> package per given default release (and sorted by Pin's priority?)

That is a  completely different feature request.
It would be good if you could report it as new wishlist
with a bit more details if possible, as i intend to close/fix
this one here in a while, if the refactoring works out. :)


> I was doing some installations with apt-build, which uses AptPkg library
> and so, there is currently no way, how to force apt-cache to use src
> packages based on Default-Release or Pin Priority. (Or I couldn't find
> the easy way, how to do it)

Pinning effects only binary packages, not source packages
(these can be completely different names - we have even binary
packages which have the same name as a source package but
come from a completely different source package itself.
So, which package would you mean in the preferences file then?
(e.g. automake vs. automake1.4)

You can get the source files with
apt-get source package -t release
this assumes that "package" is a binary package name -
therefore you will need deb and deb-src entries for the archives.
(with --only-source this assumption can be disabled).
package=version works for both, source as well as binary…


Best regards,

David Kalnischkies



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#115520: --target-release (-t) for apt-cache [show?]

2010-05-28 Thread Michal Zimen
Hi,

  Has anything changed regarding with this issue ?

It would be helpful, for example, to get directly source version of
package per given default release (and sorted by Pin's priority?)

apt-cache showsrc -t unstable PACKAGE


I was doing some installations with apt-build, which uses AptPkg library
and so, there is currently no way, how to force apt-cache to use src
packages based on Default-Release or Pin Priority. (Or I couldn't find
the easy way, how to do it)

Thanks.

-- 
S pozdravom || Best regards

  Michal Zimen

   
 ``And you will know the truth, and the truth will set you free.''
  -- John 8,32


signature.asc
Description: This is a digitally signed message part