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

Bug#405262: marked as done (apt: pinning broken *again* (?))



Your message dated Tue, 21 Aug 2012 17:46:21 +0200
with message-id <CAAZ6_fCxQdpoan5JPUqTYEbNZoA9fVQN_yGQ0K=kPyDAayDxpA@mail.gmail.com>
and subject line Close: apt: pinning broken *again* (?)
has caused the Debian Bug report #405262,
regarding apt: pinning broken *again* (?)
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.)


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


Long story short: in spite of the preferences attached below, I get

noether:~# apt-cache policy
Package files:
--cut something--
 990 http://debian-multimedia.org sid/main Packages
     release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages,c=main
     origin debian-multimedia.org
--cut something--


-Juha


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "16777216";
APT::Get "";
APT::Get::Show-Upgraded "true";
APT::ExtractTemplates "";
APT::ExtractTemplates::TempDir "/root/.tmp/";
APT::Default-Release "unstable";
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/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
Aptitude "";
Aptitude::Recommends-Important "false";

-- /etc/apt/preferences --

Package: *
Pin: release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages,c=main
Pin-Priority: 600

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 101

Package: *
Pin: origin people.debian.org
Pin-Priority: 550

Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 999

Package: *
Pin: release a=stable
Pin-Priority: 997

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

# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# Debian GNU/Linux version 3.0 a.k.a. Woody installation addresses
#deb http://ftp.fi.debian.org/debian sarge main contrib non-free
#deb-src http://ftp.fi.debian.org/debian woody main contrib non-free
#deb http://ftp.fi.debian.org/debian-non-US woody/non-US main contrib non-free
#deb-src http://ftp.fi.debian.org/debian-non-US woody/non-US main contrib non-free

# Debian GNU/Linux unstable distribution installation addresses
deb http://ftp.fi.debian.org/debian unstable main contrib non-free
deb-src http://ftp.fi.debian.org/debian unstable main contrib non-free

# Debian GNU/Liunx EXPERIMENTAL archive
deb http://ftp.fi.debian.org/debian experimental main contrib non-free
deb-src http://ftp.fi.debian.org/debian experimental main contrib non-free

# Debian GNU/Linux testing distribution installation addresses
#deb http://ftp.fi.debian.org/debian testing main contrib non-free
#deb-src http://ftp.fi.debian.org/debian testing main contrib non-free
#deb http://ftp.fi.debian.org/debian-non-US testing/non-US main contrib non-free
#deb-src http://ftp.fi.debian.org/debian-non-US testing/non-US main contrib non-free

# security updates from the following sources (need three?)
#deb http://security.debian.org woody/updates main contrib non-free
#deb http://security.debian.org/debian-security stable/updates main contrib non-free
#deb http://security.debian.org/debian-non-US stable/non-US main contrib non-free

# Java for Mozilla is here
#deb ftp://sunsite.dk/mirrors/java-linux//debian unstable main non-free
#deb ftp://ftp.funet.fi/pub/Linux/java/jdk/blackdown.org/debian unstable main non-free
#deb-src ftp://ftp.funet.fi/pub/Linux/java/jdk/blackdown.org/debian unstable main non-free
#deb ftp://ftp.funet.fi/pub/Linux/java/jdk/blackdown.org/debian woody main non-free

# acroread is here
deb http://debian-multimedia.org/ sid main 
deb-src http://debian-multimedia.org/ sid main

# and coda is here
deb http://www.coda.cs.cmu.edu/debian unstable/

# and apt-build is here!
deb file:/var/cache/apt-build/repository apt-build main

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17+juhaj+v1.0
Locale: LANG=en_GB.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

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-9      GNU C Library: Shared libraries
ii  libgcc1                 1:4.2-20060709-1 GCC support library
ii  libstdc++6              4.2-20060709-1   The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information


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

the bugreport is about mixing APT::Default-Release and preference settings
applying to the same release. The bugreporter claims that it is unintuitive
this way and that it is not documented.

The later can be disproved by looking into apt_preferences manpage saying:
"Note that this [APT::Default-Release] has precedence over any general
 priority you set in the /etc/apt/preferences file described later,
 but not over specifically pinned packages."

And rightly so as I want to pin experimental to 100 to get updates for
packages I installed from here, but sometimes I want the Default (or Target)-
Release be experimental to install packages from here. aka:
apt-get install awesome -t experimental

I therefore concur even with the intuitive suggestion, but as it is
documented this is already enough to close the bugreport as non-bug.

As an aside as it is mentioned in the bugreport:
The default release can't be limited to "Debian" vs other repositories as
a) Debian is by far not the only distribution using APT
b) people are used to it after 13 years of usage, so you can't change that
c) third-parties use the same names as they want the same behavior


Best regards

David Kalnischkies

--- End Message ---

Reply to: