Your message dated Mon, 05 Jan 2009 19:32:04 +0000 with message-id <E1LJvBE-0007Vc-5o@ries.debian.org> and subject line Bug#500988: fixed in apt 0.7.20 has caused the Debian Bug report #500988, regarding "not a valid DEB package" error while it is a valid package 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.) -- 500988: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500988 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org, nijel@debian.org
- Subject: "not a valid DEB package" error while it is a valid package
- From: Michal Čihař <michal@cihar.com>
- Date: Fri, 3 Oct 2008 10:14:48 +0200
- Message-id: <20081003101448.57695363@dhcp22.suse.cz>
Package: apt-utils Version: 0.7.14+b1 Severity: normal File: /usr/bin/apt-extracttemplates Tags: patch Hi apt-extracttemplates complains that deb is "not a valid DEB package" while dpkg has no problem handling this particullar package. The problem is caused by fact, that the package was manually created by GNU Ar, which adds trailing / to file names (to allow spaces in names). This situation is correctly handled by dpkg, but apt does not seem to handle this. Attached patch should fix this issue (it works with my test package). -- Michal Čihař | http://cihar.com | http://blog.cihar.comdiff -Nru apt-0.7.15~exp3/apt-inst/contrib/arfile.cc apt-0.7.15~exp3+nmu1/apt-inst/contrib/arfile.cc --- apt-0.7.15~exp3/apt-inst/contrib/arfile.cc 2008-06-09 23:10:08.000000000 +0200 +++ apt-0.7.15~exp3+nmu1/apt-inst/contrib/arfile.cc 2008-10-03 09:59:50.000000000 +0200 @@ -111,7 +111,7 @@ else { unsigned int I = sizeof(Head.Name) - 1; - for (; Head.Name[I] == ' '; I--); + for (; Head.Name[I] == ' ' || Head.Name[I] == '/'; I--); Memb->Name = string(Head.Name,I+1); }Attachment: signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 500988-close@bugs.debian.org
- Subject: Bug#500988: fixed in apt 0.7.20
- From: Michael Vogt <mvo@debian.org>
- Date: Mon, 05 Jan 2009 19:32:04 +0000
- Message-id: <E1LJvBE-0007Vc-5o@ries.debian.org>
Source: apt Source-Version: 0.7.20 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.20_all.deb to pool/main/a/apt/apt-doc_0.7.20_all.deb apt-transport-https_0.7.20_i386.deb to pool/main/a/apt/apt-transport-https_0.7.20_i386.deb apt-utils_0.7.20_i386.deb to pool/main/a/apt/apt-utils_0.7.20_i386.deb apt_0.7.20.dsc to pool/main/a/apt/apt_0.7.20.dsc apt_0.7.20.tar.gz to pool/main/a/apt/apt_0.7.20.tar.gz apt_0.7.20_i386.deb to pool/main/a/apt/apt_0.7.20_i386.deb libapt-pkg-dev_0.7.20_i386.deb to pool/main/a/apt/libapt-pkg-dev_0.7.20_i386.deb libapt-pkg-doc_0.7.20_all.deb to pool/main/a/apt/libapt-pkg-doc_0.7.20_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 500988@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: Mon, 05 Jan 2009 08:59:20 +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.20 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: 385674 411298 436028 438559 439866 440049 448743 457265 500988 507398 507601 508449 509151 509337 509375 509422 510664 Changes: apt (0.7.20) unstable; urgency=low . [ Eugene V. Lyubimkin ] * debian/changelog: - Fixed place of 'merged install-recommends and install-task branches' from 0.6.46.1 to 0.7.0. (Closes: #439866) * buildlib/config.{sub,guess}: - Renewed. This fixes lintian errors. * doc/apt.conf.5.xml, debian/apt-transport-https: - Documented briefly 'APT::https' group of options. (Closes: #507398) - Applied patch from Daniel Burrows to document 'Debug' group of options. (Closes: #457265) - Mentioned 'APT::Periodic' and 'APT::Archives' groups of options. (Closes: #438559) - Mentioned '/* ... */' comments. (Closes: #507601) * doc/examples/sources.list: - Removed obsolete commented non-us deb-src entry, replaced it with 'deb-src security.debian.org' one. (Closes: #411298) * apt-pkg/contrib/mmap.cc: - Added instruction how to work around MMap error in MMap error message. (Closes: #385674, 436028) * COPYING: - Actualized. Removed obsolete Qt section, added GPLv2 clause. (Closes: #440049, #509337) . [ Michael Vogt ] * add option to "apt-get build-dep" to mark the needed build-dep packages as automatic installed. This is controlled via the value of APT::Get::Build-Dep-Automatic and is set "false" by default. Thanks to Aaron Haviland, closes: #448743 * apt-inst/contrib/arfile.cc: - support members ending with '/' as well (thanks to Michal Cihr, closes: #500988) . [ Christian Perrier ] * Translations: - Finnish updated. Closes: #508449 - Galician updated. Closes: #509151 - Catalan updated. Closes: #509375 - Vietnamese updated. Closes: #509422 - Traditional Chinese added. Closes: #510664 - French corrected (remove awful use of first person) Checksums-Sha1: 199747f46a10a9cb6301142f51886ffba652dccb 1212 apt_0.7.20.dsc ab4be3d817f555891d44d969f8fc2b23bff770ac 2044463 apt_0.7.20.tar.gz daff7e6e677e5e9f3abc6add25a0468d29b41731 100222 apt-doc_0.7.20_all.deb dc264da6411f41034dc22c24b0dc892c6ba452a3 124204 libapt-pkg-doc_0.7.20_all.deb b14dc4cd6f8be9bfe46e59f9f892f9c952585850 1642406 apt_0.7.20_i386.deb e7b9345af7d33a10d9ea00167a6dac8ac50af260 108952 libapt-pkg-dev_0.7.20_i386.deb 3e246d87f3496a3f4c51a23b109d7912c637a923 188020 apt-utils_0.7.20_i386.deb caee3a6410fecf7ff518ea040ec2658396a255b5 58438 apt-transport-https_0.7.20_i386.deb Checksums-Sha256: c86efc6408e1fedbe1a90e8dafbfcfd95100a1abd1bff6cdef53b293e27ef8a4 1212 apt_0.7.20.dsc da71612cf4f40cc08a0842d38acd0fad42de20a95f82557b985a343ba0b46053 2044463 apt_0.7.20.tar.gz 99e042e1c6ff3ce1932f5335ecff87d5dee0d8bd364738133b7c23e9280c7dda 100222 apt-doc_0.7.20_all.deb d1662de2b84afb13b5be7a25781d3067f59507fd0e0e135001fdf1e7f5b09123 124204 libapt-pkg-doc_0.7.20_all.deb 2765ed8448310eedc16673f06348a1853e8c120dff5d6fa64112ad874cce8340 1642406 apt_0.7.20_i386.deb 17e21166ff8e421c01a2ee0301052cfd328f8f6147f8351c18d8c9476d193b76 108952 libapt-pkg-dev_0.7.20_i386.deb 96b57ba5aaf05e10c3dea28b68e8d18a03825dccb8214fada68ab08d1fc57dde 188020 apt-utils_0.7.20_i386.deb ee6afe482ea52a05cb7b893da0189380740dfba9781ee4bdfe0332e078762b2e 58438 apt-transport-https_0.7.20_i386.deb Files: dff750771d0ac72d7671a9b879eb1760 1212 admin important apt_0.7.20.dsc 3773593585c11d30adcd0e65b06e4e0f 2044463 admin important apt_0.7.20.tar.gz ab99779d2a552dd6f4f11a76f1c29018 100222 doc optional apt-doc_0.7.20_all.deb 266f17f6f9adb3ff7b7b59d5db823537 124204 doc optional libapt-pkg-doc_0.7.20_all.deb c0b4e3574484ab22f496df6ca29b0415 1642406 admin important apt_0.7.20_i386.deb 096051c8f56fd8fbb25ed04183eebfa4 108952 libdevel optional libapt-pkg-dev_0.7.20_i386.deb 92ce89ff0d51b0305afc176647ea1c06 188020 admin important apt-utils_0.7.20_i386.deb d684527827adf6e1ab30264b22eb2e78 58438 admin optional apt-transport-https_0.7.20_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkliV8IACgkQliSD4VZixzRyMwCfW7VnF9miih6MQAskD/mYlnut 6igAn3/z3IVwr4Af8Jj4FybF7sMqCPQh =7p66 -----END PGP SIGNATURE-----
--- End Message ---