Your message dated Thu, 16 Jan 2025 13:07:32 +0100 with message-id <[email protected]> and subject line Re: Bug#161593: Should support both BSD and SysV ar formats has caused the Debian Bug report #161593, regarding apt-utils: apt-extracttemplates fails to parse debs created/modified by ar 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 [email protected] immediately.) -- 161593: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=161593 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt-utils Version: 0.5.14.1 Severity: normal Tags: patch The specification for the deb format ("man deb" is the best I could find) say "The file is an ar archive with a magic number of !<arch>". dpkg-deb uses "filename " as the filename string in the deb while ar will use "filename/ ". While dpkg happily accepts both formats apt-extracttemplates fails to strip the trailing '/' from the filename. Since dpkg is the authorative implementation apt-extracttemplates should follow its lead and also support both. As a sidenote, the reason why this is important is that debsigs modifies deb archives through ar and ar will add the trailing '/' to all filenames. The same problem arises when deb files are build manually with ar. Attached is a one line patch to support trailing '/'. Please add this as soon as possible. Until then signed debs and pre-configuring packages with debconf will conflict. MfG Goswin -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux dual 2.4.21-ac4 #1 SMP Sat Jul 5 17:53:13 CEST 2003 i686 Locale: LANG=C, LC_CTYPE=de_DE Versions of packages apt-utils depends on: ii apt [libapt-pkg-libc6.3-5-3 0.5.14 Advanced front-end for dpkg ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an ii libdb2 2:2.7.7.0-8 The Berkeley database routines (ru ii libgcc1 1:3.3.2-4 GCC support library ii libstdc++5 1:3.3.2-4 The GNU Standard C++ Library v3 -- no debconf information
--- End Message ---
--- Begin Message ---Version: 0.7.21 On Wed, 2025-01-15 at 11:54:24 +0100, Chris Hofstaedtler wrote: > # seems like this is stalled on specification work > tags 161593 -1 patch > thanks This has all been specified in the dpkg deb(5) man page for a very long time. apt started to support ar members ended with a / in 0.7.21, as part of bug report #500988, and apt has been marked as being compliant for a long time in <https://wiki.debian.org/Teams/Dpkg/DebSupport>. Closing this report. Thanks, Guillem
--- End Message ---

