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

Bug#413044: marked as done (apt-get source does not respect pinning)



Your message dated Thu, 13 Aug 2015 16:04:34 +0200
with message-id <20150813140433.GA31450@crossbow>
and subject line Re: apt-get source is meant to get the most recent sources
has caused the Debian Bug report #413044,
regarding apt-get source does not respect pinning
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
413044: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413044
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.6.46.4
Severity: normal

apt-get source does not seem to respect pinning.  I have experimental in
my sources.list and pinned to -1 (so experimental packages won't be
installed unless explicitly requested).  If I run apt-get source,
however, the experimental source package is downloaded.  I would expect
that the source package which corresponds to the binary which is
installed by apt-get install would instead be obtained.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "33554432";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

-- /etc/apt/preferences --

Package: *
Pin: release a=sarge
Pin-Priority: 500

Package: *
Pin: release a=testing
Pin-Priority: 600

Package: *
Pin: release a=unstable
Pin-Priority: 400

Package: *
Pin: release a=experimental
Pin-Priority: -1

-- /etc/apt/sources.list --

# Sarge fallback
deb http://amd64.debian.net/debian sarge main contrib non-free
deb-src http://amd64.debian.net/debian sarge main contrib non-free
deb http://security.debian.org sarge/updates main contrib non-free

# Mainline testing
deb http://http.us.debian.org/debian testing main contrib non-free
deb-src http://http.us.debian.org/debian testing main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free

# Mainline unstable
deb http://http.us.debian.org/debian unstable main contrib non-free
deb-src http://http.us.debian.org/debian unstable main contrib non-free

# Mainline experimental (pinned to -1)
deb http://http.us.debian.org/debian experimental main contrib non-free
deb-src http://http.us.debian.org/debian experimental main contrib non-free

# Debian multimedia
deb http://www.debian-multimedia.org/ testing main
deb http://www.debian-multimedia.org/ unstable main

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apt depends on:
ii  debian-archive-keyring       2006.11.22  GnuPG archive keys of the Debian a
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-13  GCC support library
ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi,

On Tue, Oct 16, 2007 at 11:37:33PM +0200, dAniel hAhler wrote:
> apt-get source is meant to get the most recent sources.
> 
> From the man page:
>        source
>            source causes apt-get to fetch source packages. APT will examine
>            the available packages to decide which source package to fetch. It
>            will then find and download into the current directory the newest
>            available version of that source package. Source packages are
> 
> It may however make sense to skip negative priorities maybe.
> The bug should probably get retitled in this case.

Pinning is for binary packages, it doesn't feel right to overload its
meaning now for source packages, too, especially as source is documented
to download the newest available version by default, so that would need
to be special cased complicating the manpage further…

So, not a bug & closing.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: