[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1040296: marked as done (debian-edu-artwork: leaves diversion dating back to squeeze: /usr/share/desktop-base/grub_background.sh)



Your message dated Wed, 10 Apr 2024 23:34:05 +0000
with message-id <E1ruhS9-007O68-U8@fasolo.debian.org>
and subject line Bug#1040296: fixed in debian-edu-artwork 2.12.4-2
has caused the Debian Bug report #1040296,
regarding debian-edu-artwork: leaves diversion dating back to squeeze: /usr/share/desktop-base/grub_background.sh
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.)


-- 
1040296: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040296
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-artwork
Version: 2.12.2-2
Severity: important
Tags: patch
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: found -1 2.11.1-1

Hi,

during a test with piuparts I noticed your package fails to remove some
diversions after upgrading from squeeze and removing the package
afterwards.

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

>From the attached log (scroll to the bottom...):

6m13.3s ERROR: FAIL: Installed diversions (dpkg-divert) not removed by purge:
  diversion of /usr/share/desktop-base/grub_background.sh to /usr/share/desktop-base/grub_background.sh.orig by debian-edu-artwork

The diversion originates in squeeze and is left over if
debian-edu-artwork was installed in squeeze and has been upgraded
release by release to bookworm.

The cleanup code existed in the prerm script before 2.11.1-1, but
instead of dropping the prerm script, the cleanup code should have been
moved to the postinst script. Doing that now.


cheers,

Andreas
>From 0bb552d5fb077e69978f8555805b3abf53b6ea4c Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <anbe@debian.org>
Date: Mon, 3 Jul 2023 17:08:53 +0200
Subject: [PATCH] remove deprecated diversion dating back to squeeze

Closes: #
---
 debian/debian-edu-artwork.postinst | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 debian/debian-edu-artwork.postinst

diff --git a/debian/debian-edu-artwork.postinst b/debian/debian-edu-artwork.postinst
new file mode 100644
index 0000000..1e3e7bc
--- /dev/null
+++ b/debian/debian-edu-artwork.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+# can be removed after the release of trixie
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "2.12.2-3~"
+then
+	# remove deprecated diversion dating back to squeeze
+	dpkg-divert --package debian-edu-artwork \
+	            --rename --remove /usr/share/desktop-base/grub_background.sh
+fi
+
+#DEBHELPER#
-- 
2.20.1

Attachment: debian-edu-artwork.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: debian-edu-artwork
Source-Version: 2.12.4-2
Done: Holger Levsen <holger@debian.org>

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

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated debian-edu-artwork 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 11 Apr 2024 01:31:20 +0200
Source: debian-edu-artwork
Architecture: source
Version: 2.12.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 1040296
Changes:
 debian-edu-artwork (2.12.4-2) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * Remove deprecated diversion dating back to squeeze. Closes: #1040296.
 .
   [ Holger Levsen ]
   * Bump standards version to 4.7.0, no changes needed.
   * d/source/lintian-overrides: override some pedantic warnings.
Checksums-Sha1:
 6e60848dbbd5974769e9ee8ab1cbed02cb37d803 2620 debian-edu-artwork_2.12.4-2.dsc
 c7849a49645c33488f56024a1ef6ffa740b89dbc 24164 debian-edu-artwork_2.12.4-2.debian.tar.xz
 4f3073882d7a0e26cc97f5db7d6fe137709b7172 15428 debian-edu-artwork_2.12.4-2_source.buildinfo
Checksums-Sha256:
 2f1d2fbd26e8edea7032dd24f45d12fba08c4805bf523413f5810b3d062508d1 2620 debian-edu-artwork_2.12.4-2.dsc
 9feeafd9d0a73a3004cd7fe35913af947e63718017fb15053449fbceb6019333 24164 debian-edu-artwork_2.12.4-2.debian.tar.xz
 76d44674ee6f197eba804cfb244edb6a12ff6b08944f2d47c0ee9aeb30ec4e15 15428 debian-edu-artwork_2.12.4-2_source.buildinfo
Files:
 4ed1a75a8d4a37ec76f71354821ab7cf 2620 graphics optional debian-edu-artwork_2.12.4-2.dsc
 a8d920a8d22bb6f0b4c08f40097591c8 24164 graphics optional debian-edu-artwork_2.12.4-2.debian.tar.xz
 4c9a2f07c6d7efb6500205cdae38c418 15428 graphics optional debian-edu-artwork_2.12.4-2_source.buildinfo

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

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmYXIZQACgkQCRq4Vgaa
qhx1ZA//VuO9sTdc7DfCMcZ6jjp9bPyUagDYevE5ZtBwmURieO9UtefzXxRS1ZDv
DLSCJQzGUAmjGNoSlqLwNavuwZpoYpEOh/XpvrGFH1RzNla9X7H0RrQkqxlAVhVK
wsYlsQdI0kRPzXUbdkNYz5Dtxcr73jbpQZ5PB33vNjRsPOL1V4TSx+UGXkHoqOl0
N6uHUSuO3qNlWlnnutSq8ib8dJr57f+87BJdPFdD6HWWbAnEBk3mWuWkshReuPWv
XPM/YF07NK8i737+rWvvEOxyO2jTHK6009vfxQyOTrW7a1vFBcb5k+LFXT1X76O9
jz1TN36xAaxeJfnNjKKm/Vv0GSkHARqGaV6qr8D3Kxv5to3D+3uaSnGyPqeBKND3
L1WzaQ724RtJFbet1Dh6MCJv5zFPpbWtOXhnxnPJ1rKEB+I8HFeBqgqgO0VLHAJT
PW55+LGQRzruAMXh7riWxKADWzZTpXQgZWLj8HKX0QElpEzZ9tsmyPrPSvjgLJb0
I6+Mll7TMnjufXfVAfk26ONNgYccG0d/pcFhKjH4ThvB3q1iZ5Spe/0HdBJp80IN
9RWvRkrCw/I9GReuVUdoqqRsId2jtUmv00y6SwHn30gSRwrvRWdaKInIvBNKny3J
EJpsoPnipEGN0TaMBcseT4EaMloaGTNyNhr1rvqUo4J+r9A+Mg4=
=QNgu
-----END PGP SIGNATURE-----

Attachment: pgphOvPQasiZ1.pgp
Description: PGP signature


--- End Message ---

Reply to: