Bug#533639: marked as done (dselect: beeps on window resize)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#533639: fixed in dpkg 1.21.2
has caused the Debian Bug report #533639,
regarding dselect: beeps on window resize
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 ow...@bugs.debian.org
immediately.)


-- 
533639: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533639
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dselect
Version: 1.15.2
Severity: minor

'dselect select' beeps when the terminal window is resized.

Please don't beep on window resize.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.29 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dselect depends on:
ii  dpkg  1.15.2 Debian package management system
ii  libc6 2.9-12 GNU C Library: Shared libraries
ii  libgcc1   1:4.4.0-5  GCC support library
ii  libncursesw5  5.7+20090523-1 shared libraries for terminal hand
ii  libstdc++64.4.0-5The GNU Standard C++ Library v3

dselect recommends no packages.

dselect suggests no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 533...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * update-alternatives: Use the target timestamp when the symlink does not
 exist. Closes: #1004557
   * dselect: Handle window resizes in help and menu screens. Closes: #382307
   * dselect: Do not beep on key press errors in method and package list
 windows. Closes: #533639
   * dselect: Add support for --instdir.
   * Perl modules:
 - Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER.
 - Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable.
 - Dpkg::Control::FieldsCore: Refactor testsuite fields into a common
   variable.
 - Dpkg::Control::FieldsCore: Accept Architecture as a debian/tests/control
   field.
 - Dpkg::Control::FieldsCore: Add missing allowed fields for (In)Release
   files.
 - Dpkg::Control::FieldsCore: Add field order for all control types.
 - Dpkg::Index: Switch key function for control tests to be a stanza index.
   Reported by Paul Gevers .
 - Dpkg::Source::Package: Only generate the patch header if needed.
   Prompted by Umut  (on IRC).
 - Dpkg::Source::Package: Use File::Spec instead of ad-hoc 

Bug#382307: marked as done (dselect: SIGWINCH ignored in help screens)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#382307: fixed in dpkg 1.21.2
has caused the Debian Bug report #382307,
regarding dselect: SIGWINCH ignored in help screens
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 ow...@bugs.debian.org
immediately.)


-- 
382307: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382307
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: dselect
Version: 1.13.22
Severity: normal

If the terminal is resized while dselect is displaying a help screen,
dselect does not update the display accordingly.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages dselect depends on:
ii  dpkg1.13.22  package maintenance system for Deb
ii  libc6   2.3.6-18 GNU C Library: Shared libraries
ii  libgcc1 1:4.1.1-10   GCC support library
ii  libncurses5 5.5-2Shared libraries for terminal hand
ii  libstdc++6  4.1.1-10 The GNU Standard C++ Library v3

dselect recommends no packages.

-- no debconf information




--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 382...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * update-alternatives: Use the target timestamp when the symlink does not
 exist. Closes: #1004557
   * dselect: Handle window resizes in help and menu screens. Closes: #382307
   * dselect: Do not beep on key press errors in method and package list
 windows. Closes: #533639
   * dselect: Add support for --instdir.
   * Perl modules:
 - Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER.
 - Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable.
 - Dpkg::Control::FieldsCore: Refactor testsuite fields into a common
   variable.
 - Dpkg::Control::FieldsCore: Accept Architecture as a debian/tests/control
   field.
 - Dpkg::Control::FieldsCore: Add missing allowed fields for (In)Release
   files.
 - Dpkg::Control::FieldsCore: Add field order for all control types.
 - Dpkg::Index: Switch key function for control tests to be a stanza index.
   Reported by Paul Gevers .
 - Dpkg::Source::Package: Only generate the patch header if needed.
   Prompted by Umut  (on IRC).
 - Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation.
   * Documentation:
   

Bug#1007116: marked as done (dpkg: po: Update Swedish translation)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1007116: fixed in dpkg 1.21.2
has caused the Debian Bug report #1007116,
regarding dpkg: po: Update Swedish translation
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 ow...@bugs.debian.org
immediately.)


-- 
1007116: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007116
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: dpkg
Severity: wishlist
Tags: l10n patch

I have now completed my update of the Swedish translation of the stable dpkg
version (bookworm branch). Both the patch from #1003799 (which I could not
see in the git.dpkg.org repository) and an update of the manual pages
translation can be downloaded from this repository:

  - git fetch https://github.com/nafmo/dpkg-l10n-sv.git bullseye
  - https://github.com/nafmo/dpkg-l10n-sv/tree/bullseye

Once this has been integrated, I can start translation of the unstable
branch, please let me know when and where to find that.

Direct download links:

  - man/po/sv.po:
https://github.com/nafmo/dpkg-l10n-sv/raw/bullseye/man/po/sv.po
  - dselect/po/sv.po:
https://github.com/nafmo/dpkg-l10n-sv/raw/bullseye/dselect/po/sv.po
  - scripts/po/sv.po:
https://github.com/nafmo/dpkg-l10n-sv/raw/bullseye/scripts/po/sv.po
  - po/sv.po:
https://github.com/nafmo/dpkg-l10n-sv/raw/bullseye/po/sv.po

--
\\// Peter - http://www.softwolves.pp.se/
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1007...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * update-alternatives: Use the target timestamp when the symlink does not
 exist. Closes: #1004557
   * dselect: Handle window resizes in help and menu screens. Closes: #382307
   * dselect: Do not beep on key press errors in method and package list
 windows. Closes: #533639
   * dselect: Add support for --instdir.
   * Perl modules:
 - Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER.
 - Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable.
 - Dpkg::Control::FieldsCore: Refactor testsuite fields into a common
   variable.
 - Dpkg::Control::FieldsCore: Accept Architecture as a debian/tests/control
   field.
 - Dpkg::Control::FieldsCore: Add missing allowed fields for (In)Release
   files.
 - Dpkg::Control::FieldsCore: Add field order for all control types.
 - Dpkg::Index: Switch key function for control tests to be a stanza index.
   Reported by Paul Gevers .
 - Dpkg::Source::Package: Only generate the patch header if needed.
   Prompted by Umut  (on IRC).
 - 

Bug#1004557: marked as done (update-alternatives: please make the mtimes reproducible if SOURCE_DATE_EPOCH is set)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1004557: fixed in dpkg 1.21.2
has caused the Debian Bug report #1004557,
regarding update-alternatives: please make the mtimes reproducible if 
SOURCE_DATE_EPOCH is set
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 ow...@bugs.debian.org
immediately.)


-- 
1004557: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004557
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: man-db
Version: 2.9.4-4
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: jo...@debian.org, reproducible-b...@lists.alioth.debian.org

Hi,

currently, the index.db files created by man-db -c are unreproducible
when creating a Debian chroot. This means that tools that attempt to
create reproducible system images delete all index.db files:

https://gitlab.tails.boum.org/tails/tails/-/blob/stable/config/chroot_local-hooks/99-zz_reproducible-builds-post-processing#L28
https://salsa.debian.org/live-team/live-build/-/blob/master/share/hooks/normal/0190-remove-temporary-files.hook.chroot#L6

This could be avoided if the index.db files after installation would be
bit-by-bit reproducible. The attached patch fixes the problem by
truncating the timestamp set in index.db to the value of
SOURCE_DATE_EPOCH if the variable is set.

This means that this patch does not change anything during normal
operation but only comes into play if a utility that sets
SOURCE_DATE_EPOCH is installing packages.

Thanks!

cheers, josch
--- a/libdb/db_store.c
+++ b/libdb/db_store.c
@@ -29,6 +29,8 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 
 #include "timespec.h"
 #include "xvasprintf.h"
@@ -134,13 +136,45 @@ static datum make_content (struct mandat
if (!in->whatis)
in->whatis = dash + 1;
 
+   struct timespec ts = { .tv_sec = in->mtime.tv_sec, .tv_nsec = 
in->mtime.tv_nsec };
+   char *source_date_epoch = getenv("SOURCE_DATE_EPOCH");
+   unsigned long long epoch;
+   char *endptr;
+   if (source_date_epoch) {
+   // if SOURCE_DATE_EPOCH is set, replace the timestamp with it if
+   // SOURCE_DATE_EPOCH is smaller than the file timestamp
+   errno = 0;
+   epoch = strtoull(source_date_epoch, , 10);
+   if ((errno == ERANGE && (epoch == ULLONG_MAX || epoch == 0))
+   || (errno != 0 && epoch == 0)) {
+   fprintf(stderr, "Environment variable 
$SOURCE_DATE_EPOCH: strtoull: %s\n", strerror(errno));
+   exit(EXIT_FAILURE);
+   }
+   if (endptr == source_date_epoch) {
+   fprintf(stderr, "Environment variable 
$SOURCE_DATE_EPOCH: No digits were found: %s\n", endptr);
+   exit(EXIT_FAILURE);
+   }
+   if (*endptr != '\0') {
+   fprintf(stderr, "Environment variable 
$SOURCE_DATE_EPOCH: Trailing garbage: %s\n", endptr);
+   exit(EXIT_FAILURE);
+   }
+   if (epoch > ULONG_MAX) {
+   fprintf(stderr, "Environment variable 
$SOURCE_DATE_EPOCH: value must be smaller than or equal to: %lu but was found 
to be: %llu \n", ULONG_MAX, epoch);
+   exit(EXIT_FAILURE);
+   }
+   if (ts.tv_sec > epoch || (ts.tv_sec == epoch && ts.tv_nsec > 
0)) {
+   ts.tv_sec = epoch;
+   ts.tv_nsec = 0;
+   }
+   }
+
MYDBM_SET (cont, xasprintf (
"%s\t%s\t%s\t%ld\t%ld\t%c\t%s\t%s\t%s\t%s",
dash_if_unset (in->name),
in->ext,
in->sec,
-   (long) in->mtime.tv_sec,
-   (long) in->mtime.tv_nsec,
+   (long) ts.tv_sec,
+   (long) ts.tv_nsec,
in->id,
in->pointer,
in->filter,
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1004...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 

Bug#1004372: marked as done (dpkg-deb: Regression in --showformat with virtual source fields)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1004372: fixed in dpkg 1.21.2
has caused the Debian Bug report #1004372,
regarding dpkg-deb: Regression in --showformat with virtual source fields
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 ow...@bugs.debian.org
immediately.)


-- 
1004372: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004372
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg
Version: 1.20.6
Severity: important
X-Debbugs-Cc: Uladzimir Bely 

[ Forwarding the report from Uladzimir, sent to the debian-dpkg list
  instead of the BTS. ]

In Debian Bullseye dpkg-deb returns nothing when asked for some 'source:*' 
field, even if .deb file provides the package that is already installed.

At the same time, dpkg-query output is OK.

Logs from Debian Bullseye chroot:

```
(chr-bullseye-amd64)ubely:~$ sudo dpkg -l | grep "ca-certificates"
ii  ca-certificates  20210119  all  Common CA certificates
(chr-bullseye-amd64)ubely:~$ dpkg-deb --show --showformat '${Package}' /var/
cache/apt/archives/ca-certificates_20210119_all.deb; echo
ca-certificates
(chr-bullseye-amd64)ubely:~$ dpkg-deb --show --showformat '${source:Package}' 
/var/cache/apt/archives/ca-certificates_20210119_all.deb; echo

(chr-bullseye-amd64)ubely:~$ dpkg-query --show --showformat='$
{source:Package}' ca-certificates; echo
ca-certificates
(chr-bullseye-amd64)ubely:~$ dpkg-deb --version
Debian 'dpkg-deb' package archive backend version 1.20.9 (amd64).
```

Under Debign Buster everything is OK:

```
(chr-buster-amd64)ubely:~$ sudo dpkg -l | grep "ca-certificates"
ii  ca-certificates  20200601~deb10u2  all  Common CA certificates
(chr-buster-amd64)ubely:~$ dpkg-deb --show --showformat '${Package}' /var/
cache/apt/archives/ca-certificates_20200601~deb10u2_all.deb; echoca-
certificates
(chr-buster-amd64)ubely:~$ dpkg-deb --show --showformat '${source:Package}' /
var/cache/apt/archives/ca-certificates_20200601~deb10u2_all.deb; echo
ca-certificates
(chr-buster-amd64)ubely:~$ dpkg-query --show --showformat='${source:Package}' 
ca-certificates; echo
ca-certificates
(chr-buster-amd64)ubely:~$ dpkg-deb --version
Debian 'dpkg-deb' package archive backend version 1.19.7 (amd64).
```

--- End forwarded bug report ---

Ref: https://lists.debian.org/debian-dpkg/2022/01/msg00015.html

As mentioned on my reply on the mailing list, this is a regression
from the fix for #972580. And I'll be queueing a fix for sid and
stable.

Thanks,
Guillem
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1004...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * 

Bug#1003672: marked as done (dpkg: [INTL:nl] Dutch translation for the dpkg package)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1003672: fixed in dpkg 1.21.2
has caused the Debian Bug report #1003672,
regarding dpkg: [INTL:nl] Dutch translation for the dpkg 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 ow...@bugs.debian.org
immediately.)


-- 
1003672: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003672
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
 
 
Package: dpkg 
Severity: wishlist 
Tags: l10n patch 
 
 
 
Dear Maintainer, 
 
 
Please find attached the updated Dutch po file for the dpkg package. 
It has been submitted for review to the debian-l10n-dutch mailing list. 
Please add it to your next package revision. 
It should be put as "po/nl.po" in your package build tree. 
 

-- 
Kind regards,
Frans Spiesschaert



nl.po.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1003...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * update-alternatives: Use the target timestamp when the symlink does not
 exist. Closes: #1004557
   * dselect: Handle window resizes in help and menu screens. Closes: #382307
   * dselect: Do not beep on key press errors in method and package list
 windows. Closes: #533639
   * dselect: Add support for --instdir.
   * Perl modules:
 - Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER.
 - Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable.
 - Dpkg::Control::FieldsCore: Refactor testsuite fields into a common
   variable.
 - Dpkg::Control::FieldsCore: Accept Architecture as a debian/tests/control
   field.
 - Dpkg::Control::FieldsCore: Add missing allowed fields for (In)Release
   files.
 - Dpkg::Control::FieldsCore: Add field order for all control types.
 - Dpkg::Index: Switch key function for control tests to be a stanza index.
   Reported by Paul Gevers .
 - Dpkg::Source::Package: Only generate the patch header if needed.
   Prompted by Umut  (on IRC).
 - Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation.
   * Documentation:
 - man: Mention on what actions triggers get processed in dpkg(1).
   Closes: #1001010
 - man: Clarify that dpkg-divert --list pattern is optional.
   Thanks to наб . Closes: #1001761
 - man: Use «main» git branch in examples.
 - man: Markup each individual element independently.
 - man: Refer to the relevant maintscript actions explicitly.
 - man: Add a missing preposition to deb-preinst(5).
 - man: Do not hardcode DPKG_ADMINDIR in 

Bug#1003164: marked as done (dpkg-dev - dpkg-buildpackage redefined terse as quiet)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1003164: fixed in dpkg 1.21.2
has caused the Debian Bug report #1003164,
regarding dpkg-dev - dpkg-buildpackage redefined terse as quiet
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 ow...@bugs.debian.org
immediately.)


-- 
1003164: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003164
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.21.1
Severity: important

Moin

dpkg-buildpackage started to feed "-s" into MAKEFLAGS if the "terse"
build option is set.  This redefines terse as quiet, as all output of
make is silenced.  I would see that in violation the policy definition
of the terse option and make it even unusable.

| terse
|   This tag means that the package build will be less verbose than
|   default. For example, debian/rules might pass options to the package’s
|   configure script that cause the compiler to produce less output.

Please revert that.

Bastian

-- Package-specific info:
System tainted due to merged-usr-via-aliased-dirs.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/12 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg-dev depends on:
ii  binutils  2.37-10.1
ii  bzip2 1.0.8-5
ii  libdpkg-perl  1.21.1
ii  make  4.3-4.1
ii  patch 2.7.6-7
ii  perl  5.32.1-6
ii  tar   1.34+dfsg-1
ii  xz-utils  5.2.5-2

Versions of packages dpkg-dev recommends:
ii  build-essential  12.9
ii  fakeroot 1.25.3-1.1
ii  gcc [c-compiler] 4:11.2.0-2
ii  gcc-10 [c-compiler]  10.3.0-13
ii  gcc-11 [c-compiler]  11.2.0-13
ii  gnupg2.2.27-2
ii  gpgv 2.2.27-2
pn  libalgorithm-merge-perl  

Versions of packages dpkg-dev suggests:
pn  debian-keyring  

-- no debconf information
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1003...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * update-alternatives: Use the target timestamp when the symlink does not
 exist. Closes: #1004557
   * dselect: Handle window resizes in help and menu screens. Closes: #382307
   * dselect: Do not beep on key press errors in method and package list
 windows. Closes: #533639
   * dselect: Add support for --instdir.
   * 

Bug#1003671: marked as done (dselect: [INTL:nl] Dutch translation for the dselect package)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1003671: fixed in dpkg 1.21.2
has caused the Debian Bug report #1003671,
regarding dselect: [INTL:nl] Dutch translation for the dselect 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 ow...@bugs.debian.org
immediately.)


-- 
1003671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003671
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
 
 
Package: dselect 
Severity: wishlist 
Tags: l10n patch 
 
 
 
Dear Maintainer, 
 
 
Please find attached the updated Dutch po file for the dselect package. 
It has been submitted for review to the debian-l10n-dutch mailing list. 
Please add it to your next package revision. 
It should be put as "dselect/po/nl.po" in the build tree of the dpkg
source package. 
 

-- 
Kind regards,
Frans Spiesschaert



nl.po.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1003...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * update-alternatives: Use the target timestamp when the symlink does not
 exist. Closes: #1004557
   * dselect: Handle window resizes in help and menu screens. Closes: #382307
   * dselect: Do not beep on key press errors in method and package list
 windows. Closes: #533639
   * dselect: Add support for --instdir.
   * Perl modules:
 - Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER.
 - Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable.
 - Dpkg::Control::FieldsCore: Refactor testsuite fields into a common
   variable.
 - Dpkg::Control::FieldsCore: Accept Architecture as a debian/tests/control
   field.
 - Dpkg::Control::FieldsCore: Add missing allowed fields for (In)Release
   files.
 - Dpkg::Control::FieldsCore: Add field order for all control types.
 - Dpkg::Index: Switch key function for control tests to be a stanza index.
   Reported by Paul Gevers .
 - Dpkg::Source::Package: Only generate the patch header if needed.
   Prompted by Umut  (on IRC).
 - Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation.
   * Documentation:
 - man: Mention on what actions triggers get processed in dpkg(1).
   Closes: #1001010
 - man: Clarify that dpkg-divert --list pattern is optional.
   Thanks to наб . Closes: #1001761
 - man: Use «main» git branch in examples.
 - man: Markup each individual element independently.
 - man: Refer to the relevant maintscript actions explicitly.
 - man: Add a missing preposition to deb-preinst(5).
 - man: Do not 

Bug#1001761: marked as done (dpkg-divert.1: --list glob optional)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1001761: fixed in dpkg 1.21.2
has caused the Debian Bug report #1001761,
regarding dpkg-divert.1: --list glob optional
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 ow...@bugs.debian.org
immediately.)


-- 
1001761: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001761
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg
Version: 1.21.1
Severity: minor
Tags: patch

Dear Maintainer,

dpkg-divert.1 says
-- >8 --
COMMANDS
   --list glob-pattern
   List diversions matching glob-pattern.
-- >8 --

But the glob is optional:
-- >8 --
$ dpkg-divert --list
diversion of /usr/share/dict/words to 
/usr/share/dict/words.pre-dictionaries-common by dictionaries-common
diversion of /usr/share/man/man1/podselect.1.gz to 
/usr/share/man/man1/podselect.bundled.1.gz by libpod-parser-perl
local diversion of 
/usr/lib/modules/5.10.0-3-amd64/kernel/drivers/hid/hid-multitouch.ko to 
/usr/lib/modules/5.10.0-3-amd64/kernel/drivers/hid/hid-multitouch.ko.distrib
diversion of /usr/share/vim/vim82/doc/help.txt to 
/usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime
diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz 
by dash
diversion of /usr/share/vim/vim82/doc/tags to 
/usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime
local diversion of /usr/lib/modules/5.10.0-3-amd64/kernel/drivers/hid/hid.ko to 
/usr/lib/modules/5.10.0-3-amd64/kernel/drivers/hid/hid.ko.distrib
diversion of /usr/bin/podselect to /usr/bin/podselect.bundled by 
libpod-parser-perl
diversion of /bin/sh to /bin/sh.distrib by dash
-- >8 --

Please consider the attached patch.

Best,
наб

-- Package-specific info:
System tainted due to merged-usr-via-aliased-dirs.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-5
ii  libc62.33-1
ii  liblzma5 5.2.5-2
ii  libselinux1  3.3-1+b1
ii  tar  1.34+dfsg-1
ii  zlib1g   1:1.2.11.dfsg-2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt2.3.13
pn  debsig-verify  

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

-- no debconf information
From 9e894d4603b0c6504ce68ebc9726bd21f8f15d90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= 
Date: Wed, 15 Dec 2021 17:16:43 +0100
Subject: [PATCH] dpkg-divert.1: --list pattern is optional
X-Mutt-PGP: OS

---
 man/dpkg-divert.pod | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/dpkg-divert.pod b/man/dpkg-divert.pod
index 383359112..24a05cdca 100644
--- a/man/dpkg-divert.pod
+++ b/man/dpkg-divert.pod
@@ -59,9 +59,9 @@ The file is currently not renamed, see B<--rename>.
 Remove a diversion for I.
 The file is currently not renamed, see B<--rename>.
 
-=item B<--list> I
+=item B<--list> [I]
 
-List diversions matching I.
+List all diversions, or ones matching I.
 
 =item B<--listpackage> I
 
-- 
2.34.1



signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1001...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 

Bug#1001695: marked as done (dpkg.postinst fails to handle /var/lib/dpkg/lost+found)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1001695: fixed in dpkg 1.21.2
has caused the Debian Bug report #1001695,
regarding dpkg.postinst fails to handle /var/lib/dpkg/lost+found
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 ow...@bugs.debian.org
immediately.)


-- 
1001695: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001695
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: dpkg
Version: 1.21.1
Severity: important

Dear Maintainer,

On my system, /var/lib/dpkg is an dedicated file system mounted there, 
so there

is an directory /var/lib/dpkg/lost+found, and fixup_misplaced_alternatives()
within dpkg.postinst will try to "fix" it up, causing upgrade from dpkg 
1.16.1

failed.

Currently I walk this problem around by adding "lost+found" to the 
"known file
list" in fixup_misplaced_alternatives(), but this function should only 
work on

files, not directories, so we had better add some check to see whether this
assumed target is a file, in the first place.



-- Package-specific info:

-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (500, 'stable')

Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.utf8 (charmap=UTF-8), LANGUAGE 
not set

Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.8-5
ii libc6 2.32-5
ii liblzma5 5.2.5-2
ii libselinux1 3.3-1+b1
ii tar 1.34+dfsg-1
ii zlib1g 1:1.2.11.dfsg-2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii apt 2.3.13
ii debsig-verify 0.25

-- debconf-show failed
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1001...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * update-alternatives: Use the target timestamp when the symlink does not
 exist. Closes: #1004557
   * dselect: Handle window resizes in help and menu screens. Closes: #382307
   * dselect: Do not beep on key press errors in method and package list
 windows. Closes: #533639
   * dselect: Add support for --instdir.
   * Perl modules:
 - Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER.
 - Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable.
 - Dpkg::Control::FieldsCore: Refactor testsuite fields into a common
   variable.
 - Dpkg::Control::FieldsCore: Accept 

Bug#1001010: marked as done (man dpkg should also mention --unpack processes triggers)

2022-03-13 Thread Debian Bug Tracking System
Your message dated Sun, 13 Mar 2022 20:49:48 +
with message-id 
and subject line Bug#1001010: fixed in dpkg 1.21.2
has caused the Debian Bug report #1001010,
regarding man dpkg should also mention --unpack processes triggers
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 ow...@bugs.debian.org
immediately.)


-- 
1001010: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001010
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg
Version: 1.20.9
Severity: minor
File: /usr/share/man/man1/dpkg.1.gz

Man page says

   --unpack package-file...
   Unpack the package, but don't configure it. If --recursive or -R
   option is specified, package-file must refer to a directory
   instead.

But wait, it should also mention --unpack processes triggers:

# dpkg --unpack /var/cache/apt/archives/grub-pc_2.06-2_amd64.deb
(Reading database ... 145018 files and directories currently installed.)
Preparing to unpack .../grub-pc_2.06-2_amd64.deb ...
Unpacking grub-pc (2.06-2) over (2.06-2) ...
Processing triggers for man-db (2.9.4-2) ...
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.2
Done: Guillem Jover 

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 1001...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover  (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 13 Mar 2022 20:17:35 +0100
Source: dpkg
Architecture: source
Version: 1.21.2
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers 
Changed-By: Guillem Jover 
Closes: 382307 533639 1001010 1001695 1001761 1003164 1003671 1003672 1003673 
1003799 1004372 1004557 1007116
Changes:
 dpkg (1.21.2) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix memory leak in remove-on-upgrade handling.
   * dpkg-deb: Fix unexpected end of file conditions on .deb extract.
   * Use anchor links for the dpkg FAQ URLs.
   * update-alternatives: Do not skip --config with a single entry.
 Reported by David Kalnischkies .
   * update-alternatives: Refactor alternative_install().
   * update-alternatives: Use intermediate variables when parsing actions.
   * update-alternatives: Clarify option parse errors by printing the wrong
 values.
   * update-alternatives: Clarify bad usage message by enclosing in angles and
 quoting arguments.
   * dpkg-buildpackage: Switch terse make from -s to --no-print-directory.
 Closes: #1003164
   * scripts: Unify deprecated command-line option warnings.
   * dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats.
 Reported by Umut  (on IRC).
   * update-alternatives: Use the target timestamp when the symlink does not
 exist. Closes: #1004557
   * dselect: Handle window resizes in help and menu screens. Closes: #382307
   * dselect: Do not beep on key press errors in method and package list
 windows. Closes: #533639
   * dselect: Add support for --instdir.
   * Perl modules:
 - Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER.
 - Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable.
 - Dpkg::Control::FieldsCore: Refactor testsuite fields into a common
   variable.
 - Dpkg::Control::FieldsCore: Accept Architecture as a debian/tests/control
   field.
 - Dpkg::Control::FieldsCore: Add missing allowed fields for (In)Release
   files.
 - Dpkg::Control::FieldsCore: Add field order for all control types.
 - Dpkg::Index: Switch key function for control tests to be a stanza index.
   Reported by Paul Gevers .
 - Dpkg::Source::Package: Only generate the patch header if needed.
   Prompted by Umut  (on IRC).
 - Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation.
   * Documentation:
 - man: Mention on what actions triggers get processed in dpkg(1).
   Closes: #1001010
 - man: Clarify that dpkg-divert --list pattern is optional.
   Thanks to наб . Closes: #1001761
 - man: Use «main» git branch in examples.
 - man: 

Bug#872381: dpkg-dev: optimize Makefile snippets for debian/rules

2022-03-13 Thread Guillem Jover
Hi!

Thanks for the updated patches! I've gone over these and merged
several of them, the others I've left out for now, as I wanted to
get the current release out, which has been dragging for too long
already while I was finalizing it.

On Sun, 2022-02-13 at 18:38:19 +0100, Nicolas Boulenguez wrote:

> >From 5852b310ea8cdd519a0f7d6e1099c3c54db026ed Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Mon, 29 Jul 2019 14:38:32 +0200
> Subject: [PATCH 01/10] scripts/mk: stop hard-coding dpkg_datadir
> 
> The Makefile snippets include each other from their common directory,
> but the path differ during tests and after installation.  Instead of
> rewriting the file with a hardcoded path, compute it within Make.

Ah, nice, I think I like the dynamically computed path, yes. Although
to avoid changing all pathname concatenation I changed dpkg_datadir to
«$(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST». But given that
I think we might still need to substitute other things I've left this
one out for now.

> >From 94c84d34ff28d81f2fceef797fa8314d7b03fb23 Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Thu, 11 Feb 2021 15:36:15 +0100
> Subject: [PATCH 02/10] scripts/t: test SOURCE_DATE_EPOCH
> 
> Set SOURCE_DATE_EPOCH either from the environment or the Debian changelog.
> Check that the value is (re)exported.

Merged. Changed from calling date(1) into hardcoding the timestamp
though.

> >From 32c2fad6ef96479afcffc38b40f8b2e82d3c46c4 Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Thu, 11 Feb 2021 15:45:03 +0100
> Subject: [PATCH 03/10] scripts/t: slightly optimize hash traversals
> 
> Iterate on key/value pairs instead of iterating on keys then search
> for each value.

Merged. Changed the tools variable names as they were originally not a
very good fit.

> >From cb0d31dc92f61144150ad2b042a01987540e0ddf Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Thu, 11 Feb 2021 16:09:48 +0100
> Subject: [PATCH 04/10] scripts/t: use loops instead of repetitions, check
>  exports and overrides
> 
> Replace copied lines with Make loops.
> 
> Add tests: architecture variable override, buildflags set and export,
> buildtool override and export.

I've left this one out for now.

> >From d27c9abc9d88a76c98597ee872adefd7c2dedd6a Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Thu, 11 Feb 2021 16:34:23 +0100
> Subject: [PATCH 05/10] scripts/buildtools.mk: remove unneeded conditionals
> 
> The ?= had no effect when the previous test was succeeding.  Make that
> explicit with an 'else'.
> 
> The 'ifdef' was always succeeding because previous stanza sets $1.

Merged.

> >From 26df5b04bb981bf9f1a23bf2341f5de1854e5daa Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Sat, 13 Feb 2021 09:58:27 +0100
> Subject: [PATCH 06/10] scripts/buildtools.mk: indent for readability

Merged.

> >From cb1a48beaa613b7f55dee0842afbd5ba51495b74 Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Mon, 1 Nov 2021 10:08:08 +0100
> Subject: [PATCH 07/10] scripts/mk/buildopts.mk: small optimisations
> 
> Assign DEB_BUILD_OPTION_PARALLEL with := so that the value is computed
> only once instead of every time the variable is used.
> The maintainer is not supposed to modify DEB_BUILD_OPTIONS.
> 
> Always define DEB_BUILD_OPTION_PARALLEL, even if empty when
> DEB_BUILD_OPTIONS does not contain parallel=%.
> The distinction between DEB_BUILD_OPTIONS= and
> DEB_BUILD_OPTIONS=parallel= does probably not deserve a test.

I've left this one out as it is kind of an API change. I think it
might perhaps make more sense to fallback to setting it to 1 if it's
missing, but I need to ponder about possible consequences/fallout, etc.

> >From 4d63491c8dc9c6df85f0472d00f34c82e91ec05e Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Thu, 11 Feb 2021 16:26:50 +0100
> Subject: [PATCH 08/10] scripts/mk: reduce the number of subprocesses
> 
> architecture.mk and buildflags.mk spawn less subshells, improving the
> overall speed (the tests run twice faster according to bash time
> builtin).
> 
> pkg-info.mk uses the same trick than buildflags.mk in order to spawn
> at most one subshell. The performance gain is visible, but minor
> because there are way less variables.

I've left this one out for now. I'm not entirely satisfied with the
sed usage here. If we keep using sed, then I think it needs to be set
via a SED variable, substituted from the value found at configure
time. But then, I've been pondering whether we can have better export
formats, that might make the sed usage not necessary. I started with a
make-eval export mode for buildflags, but perhaps it would be better a
more generic formatting mode where the caller can specify how the
output should look like, akin «dpkg-query --showformat». Will ponder
about this.

> >From c92fd3aac8703475913db041c0bea53221757b5f Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez 
> Date: Sun, 13 Feb 2022 14:17:20 +0100
> Subject: [PATCH 09/10] 

Processed: Bug#533639 in package dpkg marked as pending

2022-03-13 Thread Debian Bug Tracking System
Processing control commands:

> tag 533639 pending
Bug #533639 [dselect] dselect: beeps on window resize
Added tag(s) pending.

-- 
533639: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533639
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Bug#382307 in package dpkg marked as pending

2022-03-13 Thread Debian Bug Tracking System
Processing control commands:

> tag 382307 pending
Bug #382307 [dselect] dselect: SIGWINCH ignored in help screens
Added tag(s) pending.

-- 
382307: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382307
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Bug#1004557 in package dpkg marked as pending

2022-03-13 Thread Debian Bug Tracking System
Processing control commands:

> tag 1004557 pending
Bug #1004557 [dpkg] update-alternatives: please make the mtimes reproducible if 
SOURCE_DATE_EPOCH is set
Added tag(s) pending.

-- 
1004557: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004557
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Bug#1004372 in package dpkg marked as pending

2022-03-13 Thread Debian Bug Tracking System
Processing control commands:

> tag 1004372 pending
Bug #1004372 [dpkg] dpkg-deb: Regression in --showformat with virtual source 
fields
Added tag(s) pending.

-- 
1004372: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004372
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1007116: dpkg: po: Update Swedish translation

2022-03-13 Thread Guillem Jover
Hi!

On Fri, 2022-03-11 at 14:20:51 +0100, Peter Krefting wrote:
> Package: dpkg
> Severity: wishlist
> Tags: l10n patch

> I have now completed my update of the Swedish translation of the stable dpkg
> version (bookworm branch). Both the patch from #1003799 (which I could not
> see in the git.dpkg.org repository) and an update of the manual pages
> translation can be downloaded from this repository:
> 
>   - git fetch https://github.com/nafmo/dpkg-l10n-sv.git bullseye
>   - https://github.com/nafmo/dpkg-l10n-sv/tree/bullseye

Thanks, I've merged this into the 1.20.x (bullseye) branch. And
merged the changes also into the current main branch where the changes
for sid are cooking. I fixed a couple of markup typos that made the
build fail, so you might want to rebase on top of that. :)

> Once this has been integrated, I can start translation of the unstable
> branch, please let me know when and where to find that.

That'd be the «main» branch.

Thanks,
Guillem



Processed: Bug#1007116 in package dpkg marked as pending

2022-03-13 Thread Debian Bug Tracking System
Processing control commands:

> tag 1007116 pending
Bug #1007116 [dpkg] dpkg: po: Update Swedish translation
Ignoring request to alter tags of bug #1007116 to the same tags previously set

-- 
1007116: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007116
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Bug#1007116 in package dpkg marked as pending

2022-03-13 Thread Debian Bug Tracking System
Processing control commands:

> tag 1007116 pending
Bug #1007116 [dpkg] dpkg: po: Update Swedish translation
Added tag(s) pending.

-- 
1007116: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007116
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems