Your message dated Fri, 01 Jul 2022 10:05:01 +0000
with message-id <e1o7dwh-0001rf...@fasolo.debian.org>
and subject line Bug#1008780: fixed in dpkg 1.21.9
has caused the Debian Bug report #1008780,
regarding dpkg: protection shouldn't apply to foreign-arch packages
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.)


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

Dear Maintainer,

Protection is applied to foreign-arch packages (e.g. libgcc-s1:i386 on
amd64) even though they aren't relevant to the scenarios that
protection is designed to prevent (as I understand it):

> Protected packages contain mostly important system boot
> infrastructure. Removing them might cause the whole system to be
> unable to boot, so use with caution.

Would it be possible for removal of such packages not to require
--force-remove-protected, at least if the corresponding native arch
package is installed? The latter check isn't useful with libraries
(where, if nothing depends on them, we can be certain that they are
not needed for the system to boot), but would catch situations where
e.g. the system's init is not the native package. (I imagine there's a
better approach to this.)

Regards,

Stephen


-- Package-specific info:

-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable'), (100, 'unstable-debug'), (100, 
'testing-debug'), (100, 'unstable'), (100, 'testing'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 5.10.0-12-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (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-4
ii  libc6        2.31-13+deb11u3
ii  liblzma5     5.2.5-2
ii  libselinux1  3.1-3
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.2.4
ii  debsig-verify  0.23+b2

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.21.9
Done: Guillem Jover <guil...@debian.org>

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 1008...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (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: Fri, 01 Jul 2022 11:25:58 +0200
Source: dpkg
Architecture: source
Version: 1.21.9
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Closes: 1008780 1011510 1012195
Changes:
 dpkg (1.21.9) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg-deb: Add support for --threads-max and DPKG_DEB_THREADS_MAX.
     Prompted by vv221 on IRC.
   * Perl modules:
     - Dpkg::Source::Package::V2: Always fix the permissions for upstream
       tarballs. Closes: #1012195
     - Dpkg::BuildFlags: Document optimize feature area.
   * Documentation:
     - man: Clarify that statoverrides do not need to be known to dpkg.
       Closes: #1011510
     - man: Expand Protected and Essential field use cases. Closes: #1008780
     - doc: Rename frontend.txt to frontend-api.txt.
     - doc: Move specifications under doc/spec.
     - man: Add references to rootless-builds.txt spec.
   * Code internals:
     - libdpkg: Refactor command actions for compression.
   * Build system:
     - Split the test-runner into its own script.
 .
   [ Helge Kreutzmann ]
   * Localization:
     - Update German man pages translation.
     - Update German scripts translation.
Checksums-Sha1:
 1db8f983845fafe1ba6042a60535f6a4e81c7b5e 2120 dpkg_1.21.9.dsc
 eb585b54cbadbe20af148425bd023d3954567ae2 5084044 dpkg_1.21.9.tar.xz
 d748d8dc644612cfe8b4bfa3c3d32fb8dc7354e3 7892 dpkg_1.21.9_amd64.buildinfo
Checksums-Sha256:
 065ee6146fecf372c587fd6f2083cda8704f9b3e20d1816f0972307cdee0c0ac 2120 
dpkg_1.21.9.dsc
 a0aba375625459260cbc89933a12b3188a713c840e3aaefc14bf2d9adee19642 5084044 
dpkg_1.21.9.tar.xz
 92e31c720f98fc277dd49fff2d5c7216cc217453bf95b699cd6e382135ea8cb7 7892 
dpkg_1.21.9_amd64.buildinfo
Files:
 4b652dc6d6548075ea3c511e6ca6c96e 2120 admin required dpkg_1.21.9.dsc
 15bc7cc25cc5afd546d3d06755248878 5084044 admin required dpkg_1.21.9.tar.xz
 e32381a2416d0e2e4f6eaa80be797a8d 7892 admin required 
dpkg_1.21.9_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAmK+wCYACgkQuXK/PqSu
V6NLzhAAoB6uS3XqUibxg/b++OypG5NVXN72xtB6Zw1kWmklu2voLtsdbbz7yLJ0
H/1DwYWi5lEntl1P+8FAY4IJfMxayJjbJuqwsEQaZ0RwmtZIiafhgdKFpIy+CRtT
Gwj1KO3R05WiACtW8E5Hzp1gDJIkoVoaVKRKz1wiF7CAJW+Sl1WSsRtKXFz6W0l3
sV+HRn9Vn6L8BNv1aU5eZFzJoZYGTtlQhG5m7VVzKPyim7abwdrNx0m97tkPACAl
m5cZaDdmhE9meDNmRQ1pJidQf/OZIa7HzdrY9kss++nbZ/Wms9LfIV8PILS0x5A9
jsmSWVkeuUWmcZST2ydDtwxFnvXtUQgkH3J5y7qyyA3KeQ28QUZxH2+gW1HlzJzS
q2cuM98uszVo/w2Ri4OZco9qtVGP8z6v3yUkwicTMjk0kg/xG/tiVBoLLzX8lgL0
4PvXCTG3bQ8rVv5AHfg5JvEfmqUMpTABOsvx1GIkuav9dtSwLSi6xevhyqe06RrK
IHKxszEoW0qWwEi5+jvwtD0HdvOG7Gj//j5q/hzVhCI4xLO+ipok+Uc1gHyvnuhC
lyrLT3g8pc2v4plNS7inTCxyUWZnKZf/s4tPBy1qpS8vDJtUCMMMkrJ41KixlCHP
IY3xMFEFWpLlU/mATeLW+iTwxpWpDl+WCVU6C+JgJJ452eYbaBs=
=iHOG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to