Debian Bug report logs -
#676642
apt-file -a source does not search root level file
Reported by: Mathieu Malaterre <malat@debian.org>
Date: Fri, 8 Jun 2012 13:33:02 UTC
Severity: important
Found in version apt-file/2.5.1
Fixed in version apt-file/3.1.2
Done: Niels Thykier <niels@thykier.net>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Stefan Fritsch <sf@debian.org>:
Bug#676642; Package apt-file.
(Fri, 08 Jun 2012 13:33:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Mathieu Malaterre <malat@debian.org>:
New Bug report received and forwarded. Copy sent to Stefan Fritsch <sf@debian.org>.
(Fri, 08 Jun 2012 13:33:14 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: apt-file
Version: 2.5.1
Severity: important
For some reason apt-file -a source search does not search for file at the root level of package. Eg:
$ sudo apt-file -a source search tlmstr.f
minpack: /ex/tlmstr.f
However:
$ sudo apt-file -a source search qform.f
python-scipy: /scipy/optimize/minpack/qform.f
scilab: /modules/optimization/src/fortran/minpack/qform.f
While clearly:
$ apt-get source minpack
$ cd minpack-19961126+dfsg1/
$ find . -name qform.f
./qform.f
-- System Information:
Debian Release: 6.0.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-file depends on:
ii curl 7.21.0-2.1+squeeze2 Get a file from an HTTP, HTTPS or
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libconfig-file-perl 1.50-2 Parses simple configuration files
ii liblist-moreutils-pe 0.25~02-1 Perl module with additional list f
ii libregexp-assemble-p 0.34-3 Assemble multiple Regular Expressi
ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii perl-modules [libfil 5.10.1-17squeeze3 Core Perl modules
Versions of packages apt-file recommends:
ii python 2.6.6-3+squeeze7 interactive high-level object-orie
Versions of packages apt-file suggests:
ii openssh-client 1:5.5p1-6+squeeze2 secure shell (SSH) client, for sec
ii sudo 1.7.4p4-2.squeeze.3 Provide limited super user privile
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#676642; Package apt-file.
(Tue, 25 Oct 2016 06:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Paul Wise <pabs@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(Tue, 25 Oct 2016 06:39:03 GMT) (full text, mbox, link).
Message #10 received at 676642@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Fri, 08 Jun 2012 14:22:24 +0200 Mathieu Malaterre wrote:
> For some reason apt-file -a source search does not search for file at
> the root level of package.
According to Neils Thykier:
This is because some but not all Contents files have a header that
apt-file needs to throw away. The method used to remove the header in
apt-file is that there should be no spaces before the first / (as all
known root folders don't have spaces). This fails horribly for files in
the top-level of source packages.
An alternative and maybe more reliable method of stripping the header
in apt-file might be to simply hard-code the known headers:
sed '/^This file maps each file available/,/^FILE *LOCATION$/d'
This matches the header used in both Debian and Ubuntu.
The reprepro tool appears to not generate any header.
I've proposed to remove the header from the Debian repo in #841997 but .
--
bye,
pabs
https://wiki.debian.org/PaulWise
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Niels Thykier <niels@thykier.net>
to control@bugs.debian.org.
(Tue, 25 Oct 2016 16:54:04 GMT) (full text, mbox, link).
Reply sent
to Niels Thykier <niels@thykier.net>:
You have taken responsibility.
(Sat, 05 Nov 2016 16:06:03 GMT) (full text, mbox, link).
Notification sent
to Mathieu Malaterre <malat@debian.org>:
Bug acknowledged by developer.
(Sat, 05 Nov 2016 16:06:03 GMT) (full text, mbox, link).
Message #17 received at 676642-close@bugs.debian.org (full text, mbox, reply):
Source: apt-file
Source-Version: 3.1.2
We believe that the bug you reported is fixed in the latest version of
apt-file, which is due to be installed in the Debian FTP archive.
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 676642@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated apt-file 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@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 05 Nov 2016 15:54:12 +0000
Source: apt-file
Binary: apt-file
Architecture: source
Version: 3.1.2
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description:
apt-file - search for files within Debian packages (command-line interface)
Closes: 676642 843122
Changes:
apt-file (3.1.2) unstable; urgency=medium
.
[ Niels Thykier ]
* apt-file: Strip Contents header without discarding results (Closes: #676642)
* apt-file: Restructure --help output.
* apt-file: Support --filter-suites and --filter-origins options. These
make it possible to only search in (e.g.) Debian/unstable even if
other origins or/and suites are downloaded.
* apt-file.1: Clarify that --config-file and --option can be used to
overwrite other command line parameters.
.
[ Paul Wise ]
* Make the package filter regex match the sectionless Contents-source format
* Strip the Contents header from the sid cache in the tests
.
[ Time Potter ]
* Fix typo in apt-file manpage. (Closes: #843122)
Checksums-Sha1:
14e2099404c5cb931e5991fa4a05b220ced9b2e4 1738 apt-file_3.1.2.dsc
141c62719fdd6c06246f2d45a870ea6c39025e5c 43284 apt-file_3.1.2.tar.xz
Checksums-Sha256:
d35de0b99cea16a1665517c823b0e9493a53b7df611df09034932bc5fd18ed47 1738 apt-file_3.1.2.dsc
fad72d1906fe05c6479470edc5a726999754a8e91744ba98aeebb1e964d78078 43284 apt-file_3.1.2.tar.xz
Files:
02ddc778777abe862898275cf57cc450 1738 admin optional apt-file_3.1.2.dsc
c98354c97aed9ed645ef8e289285099e 43284 admin optional apt-file_3.1.2.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJYHgDlAAoJEAVLu599gGRCA0AP/3wsIT6UhfTMyDfiBQy9pzHB
94dCCKSakWp3eRlhzuA+QaqW4RXXVPoyPHbNXFx3kSNGbKIXMtL/jRgXc2A1B7CI
UT/GV2VFa3U9xDp9LEveGWRRIM0flSlC7NptIuqr2Un6x/yahpE5AFylKPfhWWqD
wnyeLH0aKb7un9CSY/txGj2olq6IgxvDauzLxXDp4nV4mrr5ukNjtTGIhg0Ahbj1
3SZt2QUrEuuzusuliTGrV/6WLuY/PgDxG7mvgqSglZX48YJo1uYfyHhnY0c9JwEL
j/fM9IELoCrvhcGhyq1c63MelCapE6ZmOUYWeV/o1CblO3u/lnXWI4kuqXh8GqdV
qV9HcjedMUN34m/QWQlRl0jUQTuCU0DRxPzm4kfcyy4Y48h2sv6zih60aTz7zIix
Wwz7w9fzETK06Tiv6wL1lqVxQSNEhCA7DYRx0BlrlvKCKuUERvlrnJjfn5C+g0pU
OiaP0pKyqjodO4u7H5ualoRsv+HY/pjtNk7hZ5IQNHQqMz8riXxmZdhKXFwmIivs
pxNzRLlFM46ttIFAv1YRY9KJoWVVB1k6UMXukxuupvza+LCzl3+sjEXWJ3/kiM5T
s5jekeLswws7gQQKOdJ5yGnVA3ckRYWuWjHEbBg4gHPDYZBIcQfjvBswDANQpfLR
WLjm58bHzaIkViELHUsF
=qfbt
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 05 Dec 2016 09:14:11 GMT) (full text, mbox, link).
Bug unarchived.
Request was from Don Armstrong <don@debian.org>
to control@bugs.debian.org.
(Wed, 07 Dec 2016 01:35:33 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 27 Jan 2017 09:23:28 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Nov 19 12:43:48 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.