Bug#321799: apt: pkgPolicy::Pin is access private: while vector<Pin> variable is access protected:
Package: apt
Version: 0.5.28.6
Severity: normal
Hello, in policy.h the class pkgPolicy has nested struct Pin, which
is private: and a member variable std::vector<Pin>, which is however
protected:. I suppose it's protected to allow subclasses to access it,
but since the Pin struct is private:, this isn't really possible. At
least since g++ 4.0... Same goes for struct PkgPin.
Yours,
Peter.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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::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:: "cat";
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::Tools::Options::cat "";
DPkg::Tools::Options::cat::Version "2";
DPkg::Pre-Invoke "";
DPkg::Pre-Invoke:: "echo 'trying out...'";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
-- /etc/apt/preferences --
-- /etc/apt/sources.list --
deb ftp://ftp.cz.debian.org/debian/ unstable main non-free contrib
deb ftp://ftp.cz.debian.org/debian/ testing main non-free contrib
deb-src ftp://ftp.cz.debian.org/debian/ unstable main non-free contrib
deb ftp://ftp.cz.debian.org/debian/ ../project/experimental main
deb-src ftp://ftp.cz.debian.org/debian/ ../project/experimental main
deb ftp://ftp.ekhis.org/ekhis/ staging main
deb-src ftp://ftp.ekhis.org/ekhis/ staging main
deb ftp://ftp.ekhis.org/ekhis/ experimental main
deb-src ftp://ftp.ekhis.org/ekhis/ experimental main
deb ftp://ftp.ekhis.org/ekhis/ backports main
deb-src ftp://ftp.ekhis.org/ekhis/ backports main
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.1-2 GCC support library
ii libstdc++5 1:3.3.6-7 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: