Your message dated Tue, 28 Nov 2023 03:12:32 +0000
with message-id <e1r7oww-00brbp...@fasolo.debian.org>
and subject line Bug#929165: fixed in ubuntu-keyring 2023.11.28.1-0.1
has caused the Debian Bug report #929165,
regarding ubuntu-keyring removes configuration files without checking
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.)


-- 
929165: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929165
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

 Please unblock package ubuntu-keyring

 * This update fixes file removal at maintainer script, and also deals with 
symlink
   removal that the package in testing doesn't create properly as below

>>      # force remove garbage that was created by previous version, oh moron...
>>      rm -f /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cloud-archive\,\ 
>> ubuntu-cloud-removed-keys.gpg

 * ubuntu-keyring is leaf package, no package will be affected with this
   change if there would be a regression ;)

>> $ apt-rdepends -r ubuntu-keyring
>> ubuntu-keyring
>>  Reverse Depends: ubuntu-archive-keyring (2018.09.18.1-5)

 ubuntu-archive-keyring is just a transitional package.


 Here's a debdiff.

diff -Nru ubuntu-keyring-2018.09.18.1/debian/changelog 
ubuntu-keyring-2018.09.18.1/debian/changelog
--- ubuntu-keyring-2018.09.18.1/debian/changelog        2019-02-07 
00:26:23.000000000 +0900
+++ ubuntu-keyring-2018.09.18.1/debian/changelog        2019-03-12 
01:40:45.000000000 +0900
@@ -1,3 +1,16 @@
+ubuntu-keyring (2018.09.18.1-5) unstable; urgency=medium
+
+  * debian/*.post{inst,rm}
+    - use apt-config(8)'s Dir::Etc::trustedparts and fix keyring removal error.
+      Thanks to Linda Lapinlampi <li...@lindalap.fi> and
+      Hiroyuki YAMAMORI <h-yam...@db3.so-net.ne.jp> (Closes: #922176, #922177)
+  * debian/ubuntu-dbgsym-keyring.templates
+    - add ubuntu-dbgsym-keyring.gpg (See #922348)
+  * debian/control
+    - add Rules-Requires-Root: no
+
+ -- Hideki Yamane <henr...@debian.org>  Tue, 12 Mar 2019 01:40:45 +0900
+
 ubuntu-keyring (2018.09.18.1-4) unstable; urgency=medium
 
   * debian/control
diff -Nru ubuntu-keyring-2018.09.18.1/debian/control 
ubuntu-keyring-2018.09.18.1/debian/control
--- ubuntu-keyring-2018.09.18.1/debian/control  2019-02-07 00:26:23.000000000 
+0900
+++ ubuntu-keyring-2018.09.18.1/debian/control  2019-03-12 01:40:45.000000000 
+0900
@@ -8,6 +8,7 @@
 Homepage: https://launchpad.net/ubuntu/+source/ubuntu-keyring
 Vcs-Git: https://salsa.debian.org/debian/ubuntu-keyring.git
 Vcs-Browser: https://salsa.debian.org/debian/ubuntu-keyring
+Rules-Requires-Root: no
 
 Package: ubuntu-archive-keyring
 Architecture: all
diff -Nru ubuntu-keyring-2018.09.18.1/debian/ubuntu-cloud-keyring.postinst 
ubuntu-keyring-2018.09.18.1/debian/ubuntu-cloud-keyring.postinst
--- ubuntu-keyring-2018.09.18.1/debian/ubuntu-cloud-keyring.postinst    
2019-02-07 00:26:23.000000000 +0900
+++ ubuntu-keyring-2018.09.18.1/debian/ubuntu-cloud-keyring.postinst    
2019-03-12 01:40:45.000000000 +0900
@@ -5,15 +5,26 @@
 case "$1" in
     install|configure)
 
+      # force remove garbage that was created by previous version, oh moron...
+      rm -f /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cloud-archive\,\ 
ubuntu-cloud-removed-keys.gpg
+
+
+      TRUSTEDPARTS="/etc/apt/trusted.gpg.d/"
+      eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::trustedparts/d)"
+
+      # once clean up keyrings
+      rm -f "${TRUSTEDPARTS}ubuntu-keyring-2012-cloud-archive.gpg" \
+            "${TRUSTEDPARTS}ubuntu-keyring-2012-removed-keys.gpg"
+
       . /usr/share/debconf/confmodule
       db_version 2.0
       db_get ubuntu-cloud-keyring/keyring
 
       if [ -n "$RET" ]; then
-        for keyring in "$RET"
+        selected=$(echo "$RET" | sed -e 's/, /\n/g')
+        echo "$selected" | while read keyring
         do
-          rm -f /etc/apt/trusted.gpg.d/"$keyring".gpg
-          ln -sf /usr/share/keyrings/"$keyring".gpg /etc/apt/trusted.gpg.d/
+          ln -sf "/usr/share/keyrings/${keyring}.gpg" "$TRUSTEDPARTS"
         done
       fi
 
diff -Nru ubuntu-keyring-2018.09.18.1/debian/ubuntu-cloud-keyring.postrm 
ubuntu-keyring-2018.09.18.1/debian/ubuntu-cloud-keyring.postrm
--- ubuntu-keyring-2018.09.18.1/debian/ubuntu-cloud-keyring.postrm      
2019-02-07 00:26:23.000000000 +0900
+++ ubuntu-keyring-2018.09.18.1/debian/ubuntu-cloud-keyring.postrm      
2019-03-12 01:40:45.000000000 +0900
@@ -5,9 +5,12 @@
 case "$1" in
     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
-        rm -f /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cloud-archive.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-cloud-removed-keys.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-cloud-keyring.gpg
+        TRUSTEDPARTS="/etc/apt/trusted.gpg.d/"
+        eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::trustedparts/d)"
+
+        rm -f "${TRUSTEDPARTS}ubuntu-keyring-2012-cloud-archive.gpg" \
+              "${TRUSTEDPARTS}ubuntu-cloud-removed-keys.gpg" \
+              "${TRUSTEDPARTS}ubuntu-cloud-keyring.gpg"
 
     ;;
     *)
diff -Nru ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.postinst 
ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.postinst
--- ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.postinst   
2019-02-07 00:26:23.000000000 +0900
+++ ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.postinst   
2019-03-12 01:40:45.000000000 +0900
@@ -5,15 +5,28 @@
 case "$1" in
     install|configure)
 
+      # remove garbage that was created by previous version, oh moron...
+      rm -f /etc/apt/trusted.gpg.d/ubuntu-keyring-2016-dbgsym.gpg\,\ *
+      rm -f /etc/apt/trusted.gpg.d/ubuntu-dbgsym-removed-keys.gpg\,\ *
+
+
+      TRUSTEDPARTS="/etc/apt/trusted.gpg.d/"
+      eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::trustedparts/d)"
+
+      # once clean up keyrings
+      rm -f "${TRUSTEDPARTS}ubuntu-keyring-2016-dbgsym.gpg" \
+            "${TRUSTEDPARTS}ubuntu-dbgsym-removed-keys.gpg" \
+            "${TRUSTEDPARTS}ubuntu-dbgsym-keyring.gpg"
+
       . /usr/share/debconf/confmodule
       db_version 2.0
       db_get ubuntu-dbgsym-keyring/keyring
 
       if [ -n "$RET" ]; then
-        for keyring in "$RET"
+        selected=$(echo "$RET" | sed -e 's/, /\n/g')
+        echo "$selected" | while read keyring
         do
-          rm -f /etc/apt/trusted.gpg.d/"$keyring".gpg
-          ln -sf /usr/share/keyrings/"$keyring".gpg /etc/apt/trusted.gpg.d/
+          ln -sf "/usr/share/keyrings/${keyring}.gpg" "$TRUSTEDPARTS"
         done
       fi
 
diff -Nru ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.postrm 
ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.postrm
--- ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.postrm     
2019-02-07 00:26:23.000000000 +0900
+++ ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.postrm     
2019-03-12 01:40:45.000000000 +0900
@@ -5,9 +5,12 @@
 case "$1" in
     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
-        rm -f /etc/apt/trusted.gpg.d/ubuntu-keyring-2016-dbgsym.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-dbgsym-removed-keys.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-dbgsym-keyring.gpg
+        TRUSTEDPARTS="/etc/apt/trusted.gpg.d/"
+        eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::trustedparts/d)"
+
+        rm -f "${TRUSTEDPARTS}ubuntu-keyring-2016-dbgsym.gpg" \
+              "${TRUSTEDPARTS}ubuntu-dbgsym-removed-keys.gpg" \
+              "${TRUSTEDPARTS}ubuntu-dbgsym-keyring.gpg"
 
     ;;
     *)
diff -Nru ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.templates 
ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.templates
--- ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.templates  
2019-02-07 00:26:23.000000000 +0900
+++ ubuntu-keyring-2018.09.18.1/debian/ubuntu-dbgsym-keyring.templates  
2019-03-12 01:40:45.000000000 +0900
@@ -1,6 +1,6 @@
 Template: ubuntu-dbgsym-keyring/keyring
 Type: multiselect
-Choices: ubuntu-keyring-2016-dbgsym, ubuntu-dbgsym-removed-keys
+Choices: ubuntu-dbgsym-keyring, ubuntu-keyring-2016-dbgsym, 
ubuntu-dbgsym-removed-keys
 Default:
 _Description: Trusted GPG keyring for package authentication
  If you want to use the Ubuntu dbgsym archive in place of the Debian archive in
diff -Nru ubuntu-keyring-2018.09.18.1/debian/ubuntu-keyring.postinst 
ubuntu-keyring-2018.09.18.1/debian/ubuntu-keyring.postinst
--- ubuntu-keyring-2018.09.18.1/debian/ubuntu-keyring.postinst  2019-02-07 
00:26:23.000000000 +0900
+++ ubuntu-keyring-2018.09.18.1/debian/ubuntu-keyring.postinst  2019-03-12 
01:40:45.000000000 +0900
@@ -12,15 +12,27 @@
               /etc/apt/trusted.gpg.d/ubuntu-archive-removed-keys.gpg
       fi
 
+      # and also remove garbage that was created by previous version.
+      # oh moron...
+      rm -f /etc/apt/trusted.gpg.d/ubuntu-keyring-201[28]-archive\,\ *
+
+      TRUSTEDPARTS="/etc/apt/trusted.gpg.d/"
+      eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::trustedparts/d)"
+
+      # once clean up keyrings
+      rm -f "${TRUSTEDPARTS}ubuntu-keyring-2018-archive.gpg" \
+            "${TRUSTEDPARTS}ubuntu-keyring-2012-archive.gpg" \
+            "${TRUSTEDPARTS}ubuntu-archive-removed-keys.gpg"
+
       . /usr/share/debconf/confmodule
       db_version 2.0
       db_get ubuntu-keyring/keyring
 
       if [ -n "$RET" ]; then
-        for keyring in "$RET"
+        selected=$(echo "$RET" | sed -e 's/, /\n/g')
+        echo "$selected" | while read keyring
         do
-          rm -f /etc/apt/trusted.gpg.d/"$keyring".gpg
-          ln -sf /usr/share/keyrings/"$keyring".gpg /etc/apt/trusted.gpg.d/
+          ln -sf "/usr/share/keyrings/${keyring}.gpg" "$TRUSTEDPARTS"
         done
       fi
 
diff -Nru ubuntu-keyring-2018.09.18.1/debian/ubuntu-keyring.postrm 
ubuntu-keyring-2018.09.18.1/debian/ubuntu-keyring.postrm
--- ubuntu-keyring-2018.09.18.1/debian/ubuntu-keyring.postrm    2019-02-07 
00:26:23.000000000 +0900
+++ ubuntu-keyring-2018.09.18.1/debian/ubuntu-keyring.postrm    2019-03-12 
01:40:45.000000000 +0900
@@ -5,14 +5,17 @@
 case "$1" in
     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
-        rm -f /etc/apt/trusted.gpg.d/ubuntu-archive-keyring.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-archive-removed-keys.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-cloudimage-keyring.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-cloudimage-removed-keys.gpg \
-              /etc/apt/trusted.gpg.d/ubuntu-master-keyring.gpg
+      TRUSTEDPARTS="/etc/apt/trusted.gpg.d/"
+      eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::trustedparts/d)"
+
+      rm -f "${TRUSTEDPARTS}ubuntu-archive-keyring.gpg" \
+            "${TRUSTEDPARTS}ubuntu-archive-removed-keys.gpg" \
+            "${TRUSTEDPARTS}ubuntu-keyring-2012-archive.gpg" \
+            "${TRUSTEDPARTS}ubuntu-keyring-2018-archive.gpg" \
+            "${TRUSTEDPARTS}ubuntu-keyring-2012-cdimage.gpg" \
+            "${TRUSTEDPARTS}ubuntu-cloudimage-keyring.gpg" \
+            "${TRUSTEDPARTS}ubuntu-cloudimage-removed-keys.gpg" \
+            "${TRUSTEDPARTS}ubuntu-master-keyring.gpg"
 
     ;;
     *)

unblock ubuntu-keyring/2018.09.18.1-5

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

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), 
LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: ubuntu-keyring
Source-Version: 2023.11.28.1-0.1
Done: Dimitri John Ledkov <dimitri.led...@canonical.com>

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

Debian distribution maintenance software
pp.
Dimitri John Ledkov <dimitri.led...@canonical.com> (supplier of updated 
ubuntu-keyring 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: Tue, 28 Nov 2023 01:51:00 +0000
Source: ubuntu-keyring
Built-For-Profiles: noudeb
Architecture: source
Version: 2023.11.28.1-0.1
Distribution: unstable
Urgency: medium
Maintainer: Hideki Yamane <henr...@debian.org>
Changed-By: Dimitri John Ledkov <dimitri.led...@canonical.com>
Closes: 922348 929165 987393 1019165 1033746
Changes:
 ubuntu-keyring (2023.11.28.1-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * New upstream release. Closes: #922348
   * Drop support to configure keyring as trusted, on non-Ubuntu systems
     this keyrings only make sense for debootstrap purposed and image
     validation. Also obsolete (removed-keys) should never have been
     offered to be treated as trusted, as they are for EOL
     products. Closes: #987393, #1019165, #1033746
   * Cleanup broken filenames using correct maintainer scripts. Closes:
     #929165
   * Remove autopkgtest, doesn't test keyrings themselves.
Checksums-Sha1:
 6d6c775151c09f40236594f8c9fd66b25899bb79 2222 
ubuntu-keyring_2023.11.28.1-0.1.dsc
 a9030566ddcc24c250763def9c3f274d72e39bea 20236 
ubuntu-keyring_2023.11.28.1.orig.tar.xz
 634b1eade1bd43cb765694aff8aaca5c077f94dc 5564 
ubuntu-keyring_2023.11.28.1-0.1.debian.tar.xz
 e66eebfee017a8e523e99e9ae0c2bd16aff79a06 11426 
ubuntu-keyring_2023.11.28.1-0.1_source.buildinfo
Checksums-Sha256:
 f0b16662d2e3163ee710032da2ef3cbf15160919c944d673f86359bf2cd7ea33 2222 
ubuntu-keyring_2023.11.28.1-0.1.dsc
 aecd455ae15561371d6e454f121f079f0641d5e1b579a5563a2bc363fc74aa2e 20236 
ubuntu-keyring_2023.11.28.1.orig.tar.xz
 18737a91a6fb9ac21d99c199915146092530748b37d74e697a2852e13fe9dad2 5564 
ubuntu-keyring_2023.11.28.1-0.1.debian.tar.xz
 75a93f7c22a4bba39c81f73d9f5a409d2d26137a82e7b0cb26ae478194d9f75e 11426 
ubuntu-keyring_2023.11.28.1-0.1_source.buildinfo
Files:
 e048d64386e6122164eb566d19b5a9d6 2222 misc optional 
ubuntu-keyring_2023.11.28.1-0.1.dsc
 3f72b4b9b2b6afa763deeec54c5c571c 20236 misc optional 
ubuntu-keyring_2023.11.28.1.orig.tar.xz
 40add945ebd72d2e07861adf89d325c4 5564 misc optional 
ubuntu-keyring_2023.11.28.1-0.1.debian.tar.xz
 f2ceae4fa186a89f08f0ffbdbb2d421d 11426 misc optional 
ubuntu-keyring_2023.11.28.1-0.1_source.buildinfo

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

iQIzBAEBCgAdFiEE7iQKBSojGtiSWEHXm47ISdXvcO0FAmVlUV8ACgkQm47ISdXv
cO3tCg/+LFLEg7ZXT6JB7gncZnCDGcgps9rmckRklWSvk0mOLn6h8Lw6rlubUdxE
8Jamlrw/hXMYVEmm6+pK1xjabjmZnPXCHKA8q5UpS4gYt+vWWprtJwG2poLyqGzc
1ZCobYiwfFkclgUYUGD/eHw4T40ZDrsWTXHO9EmzAQbQAQD/4IpMzxwDUqRFt9G1
ZIP1Da/X1pmIIx3IhGvQel9sYUx4ZeGoZT5VNFZdIN4gTfOBUXIQrPsXKSlhPqOJ
okG9ImcR5ikfQlsFeGijwc1sLac4eL36yZYFXAZDSY2fXX6WXljICWrohqvpR5lM
H9zxO+nMxKphCxvX/Lrwki0NvhK7PDH75T7J8ASCxzJGtZMvPh5DUGWTC/gXL3BX
F62vPU2Pq4ek1v7+nf86qNhETiXMjk9fl9wk9Lg/Lr33mgzo8VvGIPLpptgAayYz
VmbI+ZC+Rt/451BA4xRBGfJdFmJLYECYujXap+p+k2kTGp8/14JlQ3mfhkcp4Jvm
7+TyVXPtPZ+cfcEXOhqM27OPOchPj85X+godnQO/vZlvphG2mWd3/u+LCWh9HUSm
GPK3Ic4kiM9PGsuTtX6G9KAahD68eKM5HTQjMsvJz30dvcbe5bw7RVit3RbPjDs5
nc4673IVmnJUwYynr5i/mGwMcwz7WPQROrjaogKjSKVP8BHZj2E=
=g51X
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to