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

Bug#561971: marked as done ("apt-get source" always downloads default version)



Your message dated Mon, 11 Jan 2010 18:47:25 +0000
with message-id <E1NUPIT-0002on-Jl@ries.debian.org>
and subject line Bug#561971: fixed in apt 0.7.25.1
has caused the Debian Bug report #561971,
regarding "apt-get source" always downloads default version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
561971: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561971
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.25
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

[This is similar to #441178 but not the same IMO.]

`apt-get source $package/$release' and `apt-get source
$package=$version' (and `apt-get source -t $release $package') have
stopped working for me.

Example:

gregoa@belanna:/tmp/man-db$ rm -r *  
gregoa@belanna:/tmp/man-db$ apt-cache policy man-db
man-db:
  Installed: 2.5.6-4
  Candidate: 2.5.6-4
  Version table:
 *** 2.5.6-4 0
        500 http://ftp.at.debian.org testing/main Packages
        990 http://ftp.at.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
     2.5.2-4 0
        500 http://ftp.at.debian.org stable/main Packages
     2.4.3-6 0
        500 http://ftp.at.debian.org oldstable/main Packages
gregoa@belanna:/tmp/man-db$ apt-get source -t stable man-db
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 2163kB of source archives.
Get:1 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (dsc) [1090B]
Get:2 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (tar) [2094kB]
Get:3 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (diff) [67.3kB]
Fetched 2163kB in 0s (6007kB/s)
dpkg-source: info: extracting man-db in man-db-2.5.6
dpkg-source: info: unpacking man-db_2.5.6.orig.tar.gz
dpkg-source: info: applying man-db_2.5.6-4.diff.gz
dpkg-source: info: upstream files that have been modified: 
 man-db-2.5.6/lib/pipeline.c
 man-db-2.5.6/src/encodings.c
 man-db-2.5.6/src/encodings.h
 man-db-2.5.6/src/man.c
W: Ignore unavailable target release 'stable' of package 'man-db'
gregoa@belanna:/tmp/man-db$ apt-get source man-db/stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Skipping already downloaded file 'man-db_2.5.6-4.dsc'
Skipping already downloaded file 'man-db_2.5.6.orig.tar.gz'
Skipping already downloaded file 'man-db_2.5.6-4.diff.gz'
Need to get 0B of source archives.
Skipping unpack of already unpacked source in man-db-2.5.6
W: Ignore unavailable target release 'stable' of package 'man-db'
gregoa@belanna:/tmp/man-db$ apt-get source man-db=2.5.2-4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Skipping already downloaded file 'man-db_2.5.6-4.dsc'
Skipping already downloaded file 'man-db_2.5.6.orig.tar.gz'
Skipping already downloaded file 'man-db_2.5.6-4.diff.gz'
Need to get 0B of source archives.
Skipping unpack of already unpacked source in man-db-2.5.6
W: Ignore unavailable version '2.5.2-4' of package 'man-db'


I.e., whatever I do, I only get the version from unstable and a "W: ".


Commenting out "APT::Default-Release "unstable";" in
/etc/apt/apt.conf doesn't help either, neither does commenting out
all pinnings in /etc/apt/preferences.

Looking through apt's changelog, it might be related to the changes
in cmdline/apt-get.cc; or is something wrong on my machine?

Trying on a different machine (with testing):

gregoa@guinan:/tmp/man-db$ dpkg -l apt
[...]
ii  apt                   0.7.23.1              Advanced front-end for dpkg
gregoa@guinan:/tmp/man-db$ rm -r *
rm: cannot remove `*': No such file or directory
gregoa@guinan:/tmp/man-db$ apt-cache policy man-db
man-db:
  Installed: 2.5.6-4
  Candidate: 2.5.6-4
  Version table:
 *** 2.5.6-4 0
        990 http://ftp.at.debian.org testing/main Packages
         10 http://ftp.at.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
     2.5.2-4 0
        500 http://ftp.at.debian.org stable/main Packages
gregoa@guinan:/tmp/man-db$ apt-get source -t stable man-db
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 1838kB of source archives.
Get:1 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (dsc) [1048B]
Get:2 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (tar) [1773kB]
Get:3 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (diff) [64.3kB]
Fetched 1838kB in 5s (344kB/s)
dpkg-source: info: extracting man-db in man-db-2.5.2
dpkg-source: info: unpacking man-db_2.5.2.orig.tar.gz
dpkg-source: info: applying man-db_2.5.2-4.diff.gz
dpkg-source: info: upstream files that have been modified: 
 man-db-2.5.2/include/manconfig.h.in
 man-db-2.5.2/lib/cleanup.c
 man-db-2.5.2/manual/files.me
 man-db-2.5.2/src/encodings.c
 man-db-2.5.2/src/manconv.c
 man-db-2.5.2/src/manp.c
gregoa@guinan:/tmp/man-db$ rm -r *
gregoa@guinan:/tmp/man-db$ apt-get source man-db/stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 1838kB of source archives.
Get:1 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (dsc) [1048B]
Get:2 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (tar) [1773kB]
Get:3 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (diff) [64.3kB]
Fetched 1838kB in 0s (4816kB/s)
dpkg-source: info: extracting man-db in man-db-2.5.2
dpkg-source: info: unpacking man-db_2.5.2.orig.tar.gz
dpkg-source: info: applying man-db_2.5.2-4.diff.gz
dpkg-source: info: upstream files that have been modified: 
 man-db-2.5.2/include/manconfig.h.in
 man-db-2.5.2/lib/cleanup.c
 man-db-2.5.2/manual/files.me
 man-db-2.5.2/src/encodings.c
 man-db-2.5.2/src/manconv.c
 man-db-2.5.2/src/manp.c
gregoa@guinan:/tmp/man-db$ rm -r *
gregoa@guinan:/tmp/man-db$ apt-get source man-db=2.5.2-4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 1838kB of source archives.
Get:1 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (dsc) [1048B]
Get:2 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (tar) [1773kB]
Get:3 http://ftp.at.debian.org stable/main man-db 2.5.2-4 (diff) [64.3kB]
Fetched 1838kB in 0s (5602kB/s)
dpkg-source: info: extracting man-db in man-db-2.5.2
dpkg-source: info: unpacking man-db_2.5.2.orig.tar.gz
dpkg-source: info: applying man-db_2.5.2-4.diff.gz
dpkg-source: info: upstream files that have been modified: 
 man-db-2.5.2/include/manconfig.h.in
 man-db-2.5.2/lib/cleanup.c
 man-db-2.5.2/manual/files.me
 man-db-2.5.2/src/encodings.c
 man-db-2.5.2/src/manconv.c
 man-db-2.5.2/src/manp.c

Seems to work as expected with apt 0.7.23.1 from testing. Let's
upgrade and try again:

gregoa@guinan:/tmp/man-db$ dpkg -l apt
[..]
ii  apt                   0.7.25                Advanced front-end for dpkg
gregoa@guinan:/tmp/man-db$ rm -r *
gregoa@guinan:/tmp/man-db$ apt-get source -t stable man-db
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 2163kB of source archives.
Get:1 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (dsc) [1090B]
Get:2 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (tar) [2094kB]
Get:3 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (diff) [67.3kB]
Fetched 2163kB in 1s (1551kB/s)
dpkg-source: info: extracting man-db in man-db-2.5.6
dpkg-source: info: unpacking man-db_2.5.6.orig.tar.gz
dpkg-source: info: applying man-db_2.5.6-4.diff.gz
dpkg-source: info: upstream files that have been modified: 
 man-db-2.5.6/lib/pipeline.c
 man-db-2.5.6/src/encodings.c
 man-db-2.5.6/src/encodings.h
 man-db-2.5.6/src/man.c
W: Ignore unavailable target release 'stable' of package 'man-db'
gregoa@guinan:/tmp/man-db$ rm -r *
gregoa@guinan:/tmp/man-db$ apt-get source man-db/stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 2163kB of source archives.
Get:1 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (dsc) [1090B]
Get:2 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (tar) [2094kB]
Get:3 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (diff) [67.3kB]
Fetched 2163kB in 0s (7473kB/s)
dpkg-source: info: extracting man-db in man-db-2.5.6
dpkg-source: info: unpacking man-db_2.5.6.orig.tar.gz
dpkg-source: info: applying man-db_2.5.6-4.diff.gz
dpkg-source: info: upstream files that have been modified: 
 man-db-2.5.6/lib/pipeline.c
 man-db-2.5.6/src/encodings.c
 man-db-2.5.6/src/encodings.h
 man-db-2.5.6/src/man.c
W: Ignore unavailable target release 'stable' of package 'man-db'
gregoa@guinan:/tmp/man-db$ rm -r *
gregoa@guinan:/tmp/man-db$ apt-get source man-db=2.5.2-4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 2163kB of source archives.
Get:1 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (dsc) [1090B]
Get:2 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (tar) [2094kB]
Get:3 http://ftp.at.debian.org testing/main man-db 2.5.6-4 (diff) [67.3kB]
Fetched 2163kB in 0s (7429kB/s)
dpkg-source: info: extracting man-db in man-db-2.5.6
dpkg-source: info: unpacking man-db_2.5.6.orig.tar.gz
dpkg-source: info: applying man-db_2.5.6-4.diff.gz
dpkg-source: info: upstream files that have been modified: 
 man-db-2.5.6/lib/pipeline.c
 man-db-2.5.6/src/encodings.c
 man-db-2.5.6/src/encodings.h
 man-db-2.5.6/src/man.c
W: Ignore unavailable version '2.5.2-4' of package 'man-db'

Ok, on this machine (with default release set to testing) I get the
same results.

Commenting out APT::Default-Release and removing pinnings doesn't
help either.


It seems there's something broken between apt 0.7.23.1 and 0.7.25 :)


Cheers,
gregor

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.200912080105
Locale: LANG=C, LC_CTYPE=de_AT@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.2-6  GCC support library
ii  libstdc++6                    4.4.2-6    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.6.1.3-3  terminal-based package manager (te
ii  bzip2                         1.0.5-3    high-quality block-sorting file co
ii  dpkg-dev                      1.15.5.4   Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.13.4   Python interface to libapt-pkg

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJLL6jJAAoJELs6aAGGSaoGjCsP/jqsfUmc6Lq6Y+4VAtePxalR
gj367Dz7D1eVtosXKrw1p1ogPvt2EqpbIbljYaYy+Pk36SoMeUk2+Sx7p+xVgeff
md9kb25t7REjINHqHo25fdEOPWUGBx4SsPz1jgsP3eqR2h7obo/DIat4F9GPRcQz
oE7+z3T9ayIOM71NpEieJW6MFcSVIhJrheBrSE7Jikxi1TN8+qRhpQCewwz9dSKR
M3HlgtrLK1ZXsiZwNA0PBucOB9NfsoEJ4Y4refpoibWKEHizHeB06qiOGUkuPsoL
uM21q86tCQT2XMgWwfB3XSD7RpMqPrhQxiV6w/q9CxRgaUpD/L7GZMiB1PagfQ+4
NhV9/o0pse6TBZWY7sUhGYv+QSFN9LsgtIc8+J/1bETOdj5QoEXfeTEuLR0h0gQT
Xt1s5C+TwoVB3AazGFp19gFWG3wucXspKV9hPNY++ttU75amEfI/xr0ssxcXb7dX
MH3N8m5dE1tt+xR+fwKBNWSfb/44R1dT3VubTRcWehEA0ozon9MA9i0H2ZrpMXuH
N686qMGL7KuzqFBLdobX4EJde2qmG7qMYDKmgrzw8qZNMNuICk/sxaMrbs86Cbd4
9/CnQOQyXDpHvRMWkhnvVzgKDyI6Yh4/T1iynyYY018B2qffQPnvyXC9+AxzPNz+
SNY6/gQW9GZRMCFBbbvj
=BOxP
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.25.1

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.25.1_all.deb
  to main/a/apt/apt-doc_0.7.25.1_all.deb
apt-transport-https_0.7.25.1_i386.deb
  to main/a/apt/apt-transport-https_0.7.25.1_i386.deb
apt-utils_0.7.25.1_i386.deb
  to main/a/apt/apt-utils_0.7.25.1_i386.deb
apt_0.7.25.1.dsc
  to main/a/apt/apt_0.7.25.1.dsc
apt_0.7.25.1.tar.gz
  to main/a/apt/apt_0.7.25.1.tar.gz
apt_0.7.25.1_i386.deb
  to main/a/apt/apt_0.7.25.1_i386.deb
libapt-pkg-dev_0.7.25.1_i386.deb
  to main/a/apt/libapt-pkg-dev_0.7.25.1_i386.deb
libapt-pkg-doc_0.7.25.1_all.deb
  to main/a/apt/libapt-pkg-doc_0.7.25.1_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 561971@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: Sat, 09 Jan 2010 21:52:36 +0100
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.25.1
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: 304846 485963 545754 554349 561971 564171
Changes: 
 apt (0.7.25.1) unstable; urgency=low
 .
   [ Christian Perrier ]
   * French manpage translation update
   * Russian translation update by Yuri Kozlov
     Closes: #564171
 .
   [Chris Leick]
   * spot & fix various typos in all manpages
   * German manpage translation update
 .
   [ David Kalnischkies ]
   * cmdline/apt-cache.cc:
     - remove translatable marker from the "%4i %s\n" string
   * buildlib/po4a_manpage.mak:
     - instruct debiandoc to build files with utf-8 encoding
   * buildlib/tools.m4:
     - fix some warning from the buildtools
   * apt-pkg/acquire-item.cc:
     - add configuration PDiffs::Limit-options to not download
       too many or too big patches (Closes: #554349)
   * debian/control:
     - let all packages depend on ${misc:Depends}
   * share/*-archive.gpg:
     - remove the horrible outdated files. We already depend on
       the keyring so we don't need to ship our own version
   * cmdline/apt-key:
     - errors out if wget is not installed (Closes: #545754)
     - add --keyring option as we have now possibly many
   * methods/gpgv.cc:
     - pass all keyrings (TrustedParts) to gpgv instead of
       using only one trusted.gpg keyring (Closes: #304846)
   * methods/https.cc:
     - finally merge the rest of the patchset from Arnaud Ebalard
       with the CRL and Issuers options, thanks! (Closes: #485963)
   * apt-pkg/deb/debindexfile.cc, apt-pkg/pkgcachegen.cc:
     - add debug option Debug::pkgCacheGen
 .
   [ Michael Vogt ]
   * cmdline/apt-get.cc:
     - merge fix for apt-get source pkg=version regression
       (closes: #561971)
   * po/ru.po:
     - merged updated ru.po, thanks to Yuri Kozlov (closes: #564171)
Checksums-Sha1: 
 37dc14463afdbf16bc26e41290f6f2a585406b32 1212 apt_0.7.25.1.dsc
 9425bfcf583139d8adeed8fc4e7a89182f9cbc5a 2628291 apt_0.7.25.1.tar.gz
 fdacf5f91a2b21d8bcdf6e94e5552c1b6b7c6c7c 132336 apt-doc_0.7.25.1_all.deb
 a2a019bddcbd2308ef3bb4d4930a72693579aa4d 132486 libapt-pkg-doc_0.7.25.1_all.deb
 f7de503e8668aa069b9bc31bb523b3587469e7e0 1738504 apt_0.7.25.1_i386.deb
 e075b7406a7199821c452a8e48fa6c02bb3aa59c 120670 libapt-pkg-dev_0.7.25.1_i386.deb
 9db2939d9a58b5d5de8780265ee14c3d483b6949 222532 apt-utils_0.7.25.1_i386.deb
 2e1f6fd444dcbdb688ab6d6830422c43915f82b2 68830 apt-transport-https_0.7.25.1_i386.deb
Checksums-Sha256: 
 13fe8274944abb907232e621418d2c9a429c8cbc4daf46be08f5e8f4406b6cb8 1212 apt_0.7.25.1.dsc
 8e3fac8d0567ce0a297e8292115355e8b119bb3e228e20e99ffe114920b10d67 2628291 apt_0.7.25.1.tar.gz
 50861ca31fdc429f3de1657bc31da696f0e2c1aebb2c30bb833e251cc8663359 132336 apt-doc_0.7.25.1_all.deb
 05c24429d6290a24075575911ef31ec38fcdb8dd3a893807c7720c19395d3ffd 132486 libapt-pkg-doc_0.7.25.1_all.deb
 5f1ce12e343b77dd4eccecf2212a73aec49d1a1328772412e2050c37b58acaa3 1738504 apt_0.7.25.1_i386.deb
 03996018bf4f28197639644f4c683d673963fe26a0220b67cd5a7e45c563c4d9 120670 libapt-pkg-dev_0.7.25.1_i386.deb
 3ee4705964a9ac9b4c6742e7eb0fbbd0999948b6417a5101353191ab9c4a5291 222532 apt-utils_0.7.25.1_i386.deb
 17d6406138cb8d65f661fbafd84c1931b5fda5982286374bb7c018caf3542515 68830 apt-transport-https_0.7.25.1_i386.deb
Files: 
 8aaf1652b1bfcc14c8cb0d28f1f538d9 1212 admin important apt_0.7.25.1.dsc
 451118002b7e4f5fc3476a2f5e23d865 2628291 admin important apt_0.7.25.1.tar.gz
 772f9fec27c0dc54ed917e5d4a29d6ae 132336 doc optional apt-doc_0.7.25.1_all.deb
 1d7874b5d00813a0e72ae2992d9b0e70 132486 doc optional libapt-pkg-doc_0.7.25.1_all.deb
 40fb9bc525331f8310804644e10555b6 1738504 admin important apt_0.7.25.1_i386.deb
 46f34f643d3c3f1eb2234b2315a5894d 120670 libdevel optional libapt-pkg-dev_0.7.25.1_i386.deb
 8bf1a60c54a265d9f7e053d82964f7e8 222532 admin important apt-utils_0.7.25.1_i386.deb
 64fabf49b8593c6b7b28820708f1e80c 68830 admin optional apt-transport-https_0.7.25.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAktLcYcACgkQliSD4VZixzRi4QCgjfNGoXq7mIi9w3Wy4+dyL3p9
wIMAn2iOKuBU3KYs9fUlt76Q4wuHesGc
=30u4
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: