Bug#502393: /etc/apt/preferences not read?
Package: apt
Version: 0.7.14+b1
Severity: normal
Sorry, I am not sure if this is a bug or a PEBKAC. I do not want to use
gpsdrive from the repository at gpsdrive.de but I want to use opensteetmap-josm
from there.
[10:16:12][niehaus@crystalline:~]$ apt-cache policy gpsdrive
gpsdrive:
Installiert: 2.10svn19638140
Kandidat: 2.10svn20159263
Versions-Tabelle:
2.10svn20159263 0
500 http://www.gpsdrive.de testing/main Packages
2.10svn20159216 0
500 http://www.gpsdrive.de testing/main Packages
*** 2.10svn19638140 0
100 /var/lib/dpkg/status
2.10pre6 0
500 http://www.gpsdrive.de testing/main Packages
2.10pre5 0
500 http://www.gpsdrive.de testing/main Packages
2.10pre4 0
500 http://www.gpsdrive.de testing/main Packages
2.10~pre4-6.dfsg-1 0
500 http://ftp2.de.debian.org lenny/main Packages
[10:16:22][niehaus@crystalline:~]$
For some reason the priority is not set according to what I intended. What
is wrong? apt or me?
Thanks :-)
Sebastian
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
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";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
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";
-- /etc/apt/preferences --
###############################################
##
## gpsdrive, see http://www.gpsdrive.de/development/debian.shtml
##
Package: gpsdrive*
Pin: origin "http://www.gpsdrive.de"
Pin-Priority: 100
Package: gpsdrive*
Pin: release a=lenny
Pin-Priority: 700
-- /etc/apt/sources.list --
deb http://ftp2.de.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp2.de.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main
#deb http://www.backports.org/debian etch-backports main contrib non-free
#deb http://ftp.de.debian.org/debian/ etch-backports main contrib non-free non-free
#deb http://www.backports.org/debian/ sarge-backports main contrib non-free
#deb http://www.debian-multimedia.org etch main
deb http://www.debian-multimedia.org lenny main
## Google Picasa for Linux repository
##
#deb http://dl.google.com/linux/deb/ stable non-free
## http://wiki.noreply.org/noreply/TheOnionRouter/TorOnDebian
## Tor
#deb http://mirror.noreply.org/pub/tor etch main
###############################################################
##
## GPSdrive et al (josm)
##
deb http://www.gpsdrive.de/debian testing main
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii libc6 2.7-14 GNU C Library: Shared libraries
ii libgcc1 1:4.3.2-1 GCC support library
ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.4.11.10-1lenny1 terminal-based package manager
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii dpkg-dev 1.14.22 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
-- debconf-show failed
Reply to: