Bug#245250: apt-get source --tar-only should work with upstream version only
Package: apt
Version: 0.5.24
Severity: wishlist
I would like to use apt-get source --tar-only to retrieve the upstream
tarball by providing the upstream version number but not the debian
release number. Currently this is not possible :
apt-get source --tar-only <package>=<upstream-version>
fails, I currently have to say
apt-get source --tar-only <package>=<upstream-version>-<debian-release>
-Ralf.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Get "";
APT::Get::Show-Upgraded "true";
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:: "/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";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb ftp://ftp.ens-cachan.fr/debian/ unstable main non-free contrib
deb-src ftp://ftp.ens-cachan.fr/debian/ unstable main non-free contrib
deb ftp://ftp.ens-cachan.fr/debian-non-US unstable/non-US main contrib non-free
deb-src ftp://ftp.ens-cachan.fr/debian-non-US unstable/non-US main contrib non-free
deb ftp://ftp.ens-cachan.fr/debian-marillat/ unstable main
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.20
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to en_US)
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-6 GCC support library
ii libstdc++5 1:3.3.3-6 The GNU Standard C++ Library v3
-- no debconf information
Reply to: