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

Bug#236916: /usr/bin/apt-get: apt-get install package=version does not work



Package: apt
Version: 0.5.23
Severity: normal
File: /usr/bin/apt-get

apt-get(1) says

  A specific version of a package can be selected for installation
  by  following the package name with an equals and the version of
  the package to select. This will cause that version to be locat-
  ed  and selected for install. Alternatively a specific distribu-
  tion can be selected by following the package name with a  slash
  and the version of the distribution or the Archive name (stable,
  testing, unstable).

However, doing an "apt-get install glade-common-2=2.0.1-3" yields

  # apt-get install glade-common-2=2.0.1-3
  Reading Package Lists... Done
  Building Dependency Tree... Done
  E: Version '2.0.1-3' for 'glade-common-2' was not found

even though version 2.0.1-3 exists in the mirrors.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "arm";
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/sbin/dpkg-preconfigure --apt || true";
Acquire "";
Acquire::http "";
Acquire::http::Proxy "http://192.168.0.1:3128";;

-- (no /etc/apt/preferences present) --


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


#deb file:/cdrom/debian stable main  

#deb http://ftp3.nrc.ca/debian unstable main non-free contrib
#deb-src http://ftp3.nrc.ca/debian unstable main non-free contrib
#deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

deb http://mirrors.kernel.org/debian unstable main non-free contrib
deb-src http://mirrors.kernel.org/debian unstable main non-free contrib
deb http://ftp.debian.org/debian unstable main non-free contrib
deb-src http://ftp.debian.org/debian unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free
#deb http://security.debian.org/ unstable/updates main contrib non-free

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv4l)
Kernel: Linux 2.4.16
Locale: LANG=zh_TW, LC_CTYPE=zh_TW

Versions of packages apt depends on:
ii  libc6                      2.3.2.ds1-11  GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.3-1.0.1 GCC support library
ii  libstdc++5                 1:3.3.3-1.0.1 The GNU Standard C++ Library v3

-- no debconf information



Reply to: