--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: /usr/bin/apt-get: "apt-get source package" doesn't fetch the most recent available version
- From: Yaroslav Halchenko <debian@onerussian.com>
- Date: Thu, 01 Mar 2007 14:21:34 -0500
- Message-id: <20070301192134.11029.99483.reportbug@belka.rutgers.edu>
Package: apt
Version: 0.6.46.4-0.1
Severity: normal
File: /usr/bin/apt-get
I've looked through a list of apt-src related bugs and there might be the one
relevant (#377424) but not exactly the same (here we fetch wrong version
instead of simply failing), so I've decided to file a new one.
I have next deb-src lines:
,----------------------------------------------------------------------------------
| deb-src http://mentors.debian.net/debian unstable main
| deb-src file:///net/itanix.localnet/share/debmirror/debian/ sid main contrib
`---
when
,--------------------------------------
| $> apt-cache policy dicomnifti
| dicomnifti:
| Installed: 2.23-1
| Candidate: 2.23-1
| Version table:
| 2.24-1~etch.apsy0 0
| 500 file: etch/main Packages
| *** 2.23-1 0
| 990 file: sid/main Packages
| 100 /var/lib/dpkg/status
`---
,--------------------------------------------------------------------------------------------------------------------
| $> apt-cache showsrc dicomnifti
| Package: dicomnifti
| Binary: dicomnifti
| Version: 2.24-1~etch.apsy0
| Maintainer: Michael Hanke <michael.hanke@gmail.com>
| Build-Depends: debhelper (>= 5), ctn-dev (>> 3.0.6-9), libniftiio-dev, dpatch, autoconf, zlib1g-dev, autotools-dev
| Architecture: any
| Standards-Version: 3.7.2
| Format: 1.0
| Directory: dists/etch/main/source/science
| Files:
| 6984eb16b21852451c51e3a1c3f98551 677 dicomnifti_2.24-1~etch.apsy0.dsc
| 9ddbe5e15fbf90d10207e23350da2213 51970 dicomnifti_2.24.orig.tar.gz
| 6428215189a85bc61836de962d30039f 21797 dicomnifti_2.24-1~etch.apsy0.diff.gz
`---
trying to fetch the most recent source available from mentors:
,----------------------------------------------------------------
| apt-get source dicomnifti
| Reading package lists... Done
| Building dependency tree... Done
| Skipping already downloaded file 'dicomnifti_2.23-1.dsc'
| Skipping already downloaded file 'dicomnifti_2.23.orig.tar.gz'
| Skipping already downloaded file 'dicomnifti_2.23-1.diff.gz'
| Need to get 0B of source archives.
| Skipping unpack of already unpacked source in dicomnifti-2.23
`---
but works fine versioned:
,---------------------------------------------------------------------------------
| $> apt-get source dicomnifti=2.24-1
| Reading package lists... Done
| Building dependency tree... Done
| Need to get 74.5kB of source archives.
| Get:1 http://mentors.debian.net unstable/main dicomnifti 2.24-1 (dsc) [655B]
| Get:2 http://mentors.debian.net unstable/main dicomnifti 2.24-1 (tar) [52.0kB]
| Get:3 http://mentors.debian.net unstable/main dicomnifti 2.24-1 (diff) [21.9kB]
| Fetched 74.5kB in 0s (97.7kB/s)
| dpkg-source: extracting dicomnifti in dicomnifti-2.24
| dpkg-source: unpacking dicomnifti_2.24.orig.tar.gz
| dpkg-source: applying ./dicomnifti_2.24-1.diff.gz
`---
My guess would be that it uses a version of available/installed binary package
which diverges from apt-get man page:
,-------------------------------------------------------------------------
| source
| source causes apt-get to fetch source packages. APT will examine the
| available packages to decide which source package to fetch. It will
| then find and download into the current directory the *newest*
| available version of that source package. Source packages are
| tracked separately from binary packages via deb-src type lines in
| the sources.list(5) file. This probably will mean that you will not
| get the same source as the package you have installed or as you
`---
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "unstable";
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";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
# See sources.list(5) for more information
deb-src http://mentors.debian.net/debian unstable main
# deb file:///net/itanix.localnet/share/rumba/dists/unstable/perspect/binary-i386/ ./
deb file:///net/itanix.localnet/share/debmirror/rumba/ sid local alianed perspect backport
#deb-src file:///net/itanix.localnet/share/debmirror/rumba/ sid local alianed perspect backport
# FSL
deb file:///net/itanix.localnet/share/debmirror/fsl/ etch main non-free contrib
#deb-src file:///net/itanix.localnet/share/debmirror/fsl/ etch main non-free
# .................... MAIN ....................
deb file:///net/itanix.localnet/share/debmirror/debian/ sid main contrib non-free
#deb ftp://ftp.debian.org/debian/ sid main contrib non-free
deb-src file:///net/itanix.localnet/share/debmirror/debian/ sid main contrib non-free
#deb file:///net/itanix.localnet/share/debmirror/debian-security/ etch/updates main contrib non-free
#deb-src file:///net/itanix.localnet/share/debmirror/debian-security/ etch/updates main contrib non-free
# we need to downgrade subversion-tools
#deb http://snapshot.debian.net/archive pool subversion
# od1n
#deb http://od1n.sourceforge.net/ ./
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=ru_RU.koi8r, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R)
Versions of packages apt depends on:
ii debian-archive-keyring 2007.02.19 GnuPG archive keys of the Debian a
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-21 GCC support library
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.23
We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:
apt-doc_0.7.23_all.deb
to pool/main/a/apt/apt-doc_0.7.23_all.deb
apt-transport-https_0.7.23_i386.deb
to pool/main/a/apt/apt-transport-https_0.7.23_i386.deb
apt-utils_0.7.23_i386.deb
to pool/main/a/apt/apt-utils_0.7.23_i386.deb
apt_0.7.23.dsc
to pool/main/a/apt/apt_0.7.23.dsc
apt_0.7.23.tar.gz
to pool/main/a/apt/apt_0.7.23.tar.gz
apt_0.7.23_i386.deb
to pool/main/a/apt/apt_0.7.23_i386.deb
libapt-pkg-dev_0.7.23_i386.deb
to pool/main/a/apt/libapt-pkg-dev_0.7.23_i386.deb
libapt-pkg-doc_0.7.23_all.deb
to pool/main/a/apt/libapt-pkg-doc_0.7.23_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 413021@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 27 Aug 2009 14:44:39 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.23
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description:
apt - Advanced front-end for dpkg
apt-doc - Documentation for APT
apt-transport-https - APT https transport
apt-utils - APT utility programs
libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - Documentation for APT development
Closes: 145916 157759 223712 320184 365880 382826 413021 414105 441178 445985 479617 504325 509313 510286 510526 511556 511557 520831 531157 537450
Changes:
apt (0.7.23) unstable; urgency=low
.
[ Eugene V. Lyubimkin ]
* methods/{http,https,ftp}, doc/apt.conf.5.xml:
- Changed and unified the code that determines which proxy to use. Now
'Acquire::{http,ftp}::Proxy[::<host>]' options have the highest priority,
and '{http,ftp}_proxy' environment variables are used only if options
mentioned above are not specified.
(Closes: #445985, #157759, #320184, #365880, #479617)
.
[ David Kalnischkies ]
* cmdline/apt-get.cc:
- add APT::Get::HideAutoRemove=small to display only a short line
instead of the full package list. (Closes: #537450)
- ShowBroken() in build-dep (by Mike O'Connor, Closes: #145916)
- check for statfs.f_type (by Robert Millan, Closes: #509313)
- correct the order of picked package binary vs source in source
- use SourceVersion instead of the BinaryVersion to get the source
Patch by Matt Kraai, thanks! (Closes: #382826)
- add pkg/archive and codename in source (Closes: #414105, #441178)
* apt-pkg/contrib/strutl.cc:
- enable thousand separator according to the current locale
(by Luca Bruno, Closes: #223712)
* doc/apt.conf.5.xml:
- mention the apt.conf.d dir (by Vincent McIntyre, Closes: #520831)
* apt-inst/contrib/arfile.cc:
- use sizeof instead strlen (by Marius Vollmer, Closes: #504325)
* doc/apt-mark.8.xml:
- improve manpage based on patch by Carl Chenet (Closes: #510286)
* apt-pkg/acquire-item.cc:
- use configsettings for dynamic compression type use and order.
Based on a patch by Jyrki Muukkonen, thanks! (LP: #71746)
* apt-pkg/aptconfiguration.cc:
- add default configuration for compression types and add lzma
support. Order is now bzip2, lzma, gzip, none (Closes: #510526)
* ftparchive/writer.cc:
- add lzma support also here, patch for this (and inspiration for
the one above) by Robert Millan, thanks!
* apt-pkg/depcache.cc:
- restore the --ignore-hold effect in the Is{Delete,Install}Ok hooks
* doc/apt-get.8.xml:
- update the source description to reflect what it actually does
and how it can be used. (Closes: #413021)
* methods/http.cc:
- allow empty Reason-Phase in Status-Line to please squid,
thanks Modestas Vainius for noticing! (Closes: #531157, LP: #411435)
.
[ George Danchev ]
* cmdline/apt-cache.cc:
- fix a memory leak in the xvcg method (Closes: #511557)
* apt-pkg/indexcopy.cc:
- fix a memory leak then the Release file not exists (Closes: #511556)
Checksums-Sha1:
fda6b78573186409db18b5da2574f8c8f23f6b73 1206 apt_0.7.23.dsc
35ad095e5cfb1e834c4458201faf773df2bed9c1 2131915 apt_0.7.23.tar.gz
81875b742d7dea81089d10d920155612fb9dc97a 103812 apt-doc_0.7.23_all.deb
2038d929dac33dbe5e3b6cbbc03b85974d16ced3 128188 libapt-pkg-doc_0.7.23_all.deb
e165ea5e91a45a88275f01f377242c898317f52b 1641344 apt_0.7.23_i386.deb
a99433f1a1a345be92ef0d6436d1e19ea4b976fc 115124 libapt-pkg-dev_0.7.23_i386.deb
fe669ea73ab75de19180bd784479ab8985b81227 192920 apt-utils_0.7.23_i386.deb
5e2ab26058030ac13640e82593ceeb2df92d22c5 62716 apt-transport-https_0.7.23_i386.deb
Checksums-Sha256:
dae19946e78e64c50808948869f0bcdf55c3cf21ac0d3ab58fa546e9a598f37b 1206 apt_0.7.23.dsc
3b2075fb701663b7cc130878826412a073fae3bb231d67cda8d099ebe2cb2e11 2131915 apt_0.7.23.tar.gz
57806188528055f92a1440404693517e0bcf96007c7244d62d87573554fe7040 103812 apt-doc_0.7.23_all.deb
6929dae3f42638faf4b9ef8793f8e3118417260e1ec5286cd78dc73b67e3369e 128188 libapt-pkg-doc_0.7.23_all.deb
0cff5082ad033563c6b0799b7ae3e90eeecaaaf89740f8c9ba7f6ee9c5419a32 1641344 apt_0.7.23_i386.deb
77d5b5e2c1069429c293a77d383e181c50ace7159d4000e3a368f188dc388317 115124 libapt-pkg-dev_0.7.23_i386.deb
6034e5e4048eccadc162fe39e964ab5f3eaa99d8c806253a7b7f06e51f42af3f 192920 apt-utils_0.7.23_i386.deb
869e2aaa3fa50431ab66506cc9a6a72ad7d6c5205c822199af08a4dd4556d83c 62716 apt-transport-https_0.7.23_i386.deb
Files:
54b3760eda4d198f41667654efad06e8 1206 admin important apt_0.7.23.dsc
0de5a8843b81051eda04183a23002f6f 2131915 admin important apt_0.7.23.tar.gz
25a911cd6d245a7cf894e6a069c10085 103812 doc optional apt-doc_0.7.23_all.deb
442c59d3e1e82725e51c1d9716658690 128188 doc optional libapt-pkg-doc_0.7.23_all.deb
70440ebeebe01ad39b8d5d10052cfc6a 1641344 admin important apt_0.7.23_i386.deb
36b2a10755e1378fb40a02555d97ae37 115124 libdevel optional libapt-pkg-dev_0.7.23_i386.deb
18dd33719c3c078827858d333af14de7 192920 admin important apt-utils_0.7.23_i386.deb
cf0830a79694e3fde590e5a0059d5172 62716 admin optional apt-transport-https_0.7.23_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkqWrQMACgkQliSD4VZixzQXdACfX5MPFfwNhplQUwWRlnwIInEE
bDIAoKKLGmnogY6kfGhzeLunvx3G6aOD
=Raty
-----END PGP SIGNATURE-----
--- End Message ---