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

Bug#811072: marked as done (regression in apt-get source to get source when binary has extra debian version)



Your message dated Tue, 16 Feb 2016 16:56:50 +0100
with message-id <20160216155650.GA7319@crossbow>
and subject line Re: Bug#811072: regression in apt-get source to get source when binary has extra debian version
has caused the Debian Bug report #811072,
regarding regression in apt-get source to get source when binary has extra debian 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.)


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

The apt versions since stable have a bug in which apt-get source fails
to find the source package when the binary package has additional
version information. E.g. the current gdb version in testing 7.10-1+b1.

Here are some reproducible steps for a clean version of debian showing that
stable (1.0.9) works and testing (1.1.10) does not. The bug report version
1.1.3 also has the error, so the regression happened anywhere between 1.0.9 and
1.1.3.

docker -ti --rm debian:{stable,testing}

Steps in both containers:
  echo "deb-src http://httpredir.debian.org/debian testing main" >> /etc/apt/sources.list
  apt-get update
  apt-get source gdb/testing

stable:
  root@fd4bd6bde15f:/# apt-cache show apt
  Package: apt
  Status: install ok installed
  Version: 1.0.9.8.1
  [...]

  root@ec1b1e2b13c9:/# apt-get source gdb/testing
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Selected version '7.10-1' (testing) for gdb
  NOTICE: 'gdb' packaging is maintained in the 'Git' version control system at:
  git://anonscm.debian.org/pkg-gdb/gdb.git
  Need to get 19.2 MB of source archives.
  Get:1 http://httpredir.debian.org/debian/ testing/main gdb 7.10-1 (dsc) [2756 B]
  Get:2 http://httpredir.debian.org/debian/ testing/main gdb 7.10-1 (tar) [19.1 MB]
  Get:3 http://httpredir.debian.org/debian/ testing/main gdb 7.10-1 (diff) [52.5 kB]
  Fetched 19.2 MB in 1s (13.8 MB/s)

testing:
  root@8d2234fed551:/# apt-cache show apt
  Package: apt
  Status: install ok installed
  Architecture: amd64
  Version: 1.1.10
  [...]

  root@84f326c749e0:/# apt-get source gdb/testing
  Reading package lists... Done
  Building dependency tree... Done
  E: Can not find version '7.10-1+b1' of package 'gdb'
  E: Unable to find a source package for gdb

Using the option --only-source works on testing.


-- Package-specific info:

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


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


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (550, 'testing'), (500, 'stable'), (210, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.17.8-64+ (SMP w/32 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages apt depends on:
ii  adduser                 3.113+nmu3
ii  debian-archive-keyring  2014.3
ii  gnupg                   1.4.20-1
ii  gnupg2                  2.0.28-3
ii  gpgv                    1.4.20-1
ii  libapt-pkg5.0           1.1.3
ii  libc6                   2.19-22bfw1
ii  libgcc1                 1:5.3.1-5bfw1
ii  libstdc++6              5.3.1-5bfw1

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.7.4-1bfw1
ii  dpkg-dev    1.18.4
ii  python-apt  1.1.0~beta1

-- Configuration Files:
/etc/logrotate.d/apt changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.2.2

Hi,

On Fri, Jan 15, 2016 at 01:08:13PM +0100, Lennart Weller wrote:
> The apt versions since stable have a bug in which apt-get source fails
> to find the source package when the binary package has additional
> version information. E.g. the current gdb version in testing 7.10-1+b1.

Indeed – that was a problem in the parsing of the Source field letting apt
believe that the source version is "7.10-1+b1". More details in the duplicate
which was closed with in 1.2.2. Closing this one in the meantime.

No idea why I missed this report the first time around – but thanks a lot for
the report!

apt (1.2.2) unstable; urgency=medium
[…]
  * parse version correctly from binary Source field (Closes: 812492)
[…]
 -- Julian Andres Klode <jak@debian.org>  Thu, 04 Feb 2016 22:50:43 +0100


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: