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

Bug#776435: apt: Package install with apt preferences won't follow dependencies for release



Control: tag -1 wontfix

On Tue, Jan 27, 2015 at 03:29:47PM -0700, Dan Urist wrote:
> Package: apt
> Version: 0.9.7.9+deb7u6
> Severity: wishlist
> 
> Dear Maintainer,
> 
> With "apt-get install -t", a package and all its dependencies are
> installed from the given release. There seems to be no way to achieve
> the same behavior with apt preferences. While it's possible to specify
> a glob or regexp for package names in apt preferences, any dependent
> packages that don't match won't be installed from the given
> release. The use case for this functionality is in systems managed by
> configuration management software (e.g. puppet), where it's much more
> straightforward to specify behavior in a configuration file than via
> flags to a specific command.

The -t option set's default release, which is equivalent to

Package: *
Pin: release a=<VALUE PASSED TO -t>
Pin-Priority: 990

it does not do anything special for dependencies.

Marking as wontfix.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.


Reply to: