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

Bug#681660: apt: ds



Package: apt
Version: 0.8.10.3+squeeze1
Severity: normal


Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Faheem Mitha <faheem@bulldog.duhs.duke.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: If source for target specified to apt-get install does not exist,
 then apt installs stable version
Bcc: Faheem Mitha <faheem@bulldog.duhs.duke.edu>
Message-ID: <20120715084714.10526.26716.reportbug@bulldog.duhs.duke.edu>
X-Mailer: reportbug 4.12.6
Date: Sun, 15 Jul 2012 04:47:14 -0400

Package: apt
Version: 0.8.10.3+squeeze1
Severity: normal


It seems to me that in this situation, apt should exit with an error,
since the squeeze-backports version requested is not available, but
instead the stable version is installed.

faheem@bulldog[default branch:rev 1]:/usr/local/src/ccl-1.8$ sudo
apt-get install dh-lisp -t squeeze-backports
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  dh-lisp
  0 upgraded, 1 newly installed, 0 to remove and 121 not upgraded.
  Need to get 10.1 kB of archives.
  After this operation, 102 kB of additional disk space will be used.
  Get:1 http://debian.lcs.mit.edu/debian/ squeeze/main dh-lisp all
0.6.6 [10.1 kB]
Fetched 10.1 kB in 0s (22.2 kB/s)
Selecting previously deselected package dh-lisp.
(Reading database ... 161556 files and directories currently installed.)
Unpacking dh-lisp (from .../archives/dh-lisp_0.6.6_all.deb) ...
Processing triggers for man-db ...
Setting up dh-lisp (0.6.6) ...

faheem@bulldog[default branch:rev 1]:/usr/local/src/ccl-1.8$ apt-cache
policy dh-lisp
dh-lisp:
  Installed: 0.6.6
  Candidate: 0.6.6
  Version table:
     0.7.1 0
         50 http://debian.lcs.mit.edu/debian/ unstable/main amd64 Packages
 *** 0.6.6 0
        500 http://debian.lcs.mit.edu/debian/ squeeze/main amd64 Packages
        100 /var/lib/dpkg/status
	
-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Cache-Limit "156777216";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
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::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
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";
Unattended-Upgrade "";
Unattended-Upgrade::Allowed-Origins "";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} stable";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} ${distro_codename}-security";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- /etc/apt/preferences --


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

Package: *
Pin: release a=wheezy
Pin-Priority: 50

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

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

Package: *
Pin: release a=snapshot.debian.net
Pin-Priority: 1

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

# 
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official amd64 NETINST Binary-1 20080218-14:10]/ etch contrib main

#deb http://debian.lcs.mit.edu/debian/ etch main non-free contrib
#deb-src http://debian.lcs.mit.edu/debian/ etch main non-free contrib

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

#deb http://debian.lcs.mit.edu/debian/ lenny main non-free contrib
#deb-src http://debian.lcs.mit.edu/debian/ lenny main non-free contrib

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

#deb http://debian.lcs.mit.edu/debian/ squeeze main non-free contrib
#deb-src http://debian.lcs.mit.edu/debian/ squeeze main non-free contrib

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

deb http://debian.lcs.mit.edu/debian/ unstable main non-free contrib
deb-src http://debian.lcs.mit.edu/debian/ unstable main non-free contrib

#deb-src http://www.backports.org/debian/ lenny-backports main contrib non-free
#deb http://www.backports.org/debian/ lenny-backports main contrib non-free

#deb http://cran.r-project.org/bin/linux/debian lenny-cran/
#deb-src http://cran.r-project.org/bin/linux/debian lenny-cran/

deb http://debian.lcs.mit.edu/debian/ squeeze main contrib non-free
deb-src http://debian.lcs.mit.edu/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

deb http://cran.stat.ucla.edu/bin/linux/debian squeeze-cran/
deb-src http://cran.stat.ucla.edu/bin/linux/debian squeeze-cran/

deb http://www.backports.org/debian/ squeeze-backports main contrib non-free

deb http://debian.csail.mit.edu/debian/ experimental main non-free contrib
deb-src http://debian.csail.mit.edu/debian/ experimental main non-free contrib

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28       GnuPG archive keys of the Debian a
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.11.3-3         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.7.0-1        GCC support library
ii  libstdc++6              4.7.0-1          GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc               <none>             (no description available)
ii  aptitude              0.6.3-3.2+squeeze1 terminal-based package manager (te
ii  bzip2                 1.0.5-6+squeeze1   high-quality block-sorting file co
ii  dpkg-dev              1.16.1.2~bpo60+1   Debian package development tools
ii  lzma                  4.43-14            Compression method of 7z format in
ii  python-apt            0.7.100.1+squeeze1 Python interface to libapt-pkg
ii  synaptic              0.70~pre1+b1       Graphical package manager

-- no debconf information

-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (50, 'unstable'), (50, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-vserver-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28       GnuPG archive keys of the Debian a
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.11.3-3         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.7-20111231-1 GCC support library
ii  libstdc++6              4.7-20111231-1   GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc               <none>             (no description available)
ii  aptitude              0.6.3-3.2+squeeze1 terminal-based package manager (te
ii  bzip2                 1.0.5-6+squeeze1   high-quality block-sorting file co
ii  dpkg-dev              1.16.1.1~bpo60+2   Debian package development tools
ii  lzma                  4.43-14            Compression method of 7z format in
ii  python-apt            0.7.100.1+squeeze1 Python interface to libapt-pkg
ii  wajig                 2.0.47             simplified Debian package manageme

-- no debconf information


Reply to: