[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Hi Michal Zimen,

2010/5/29 Michal Zimen <michal.zimen@gmail.com>:
> 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



Reply to: