Skip to contentSkip to conversation

preseed_base: Remove reportbug-gtk if present

PATCH New Anthony PERARD 1 participant 1 message Nov 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 preseed_base: Remove reportbug-gtk if present

The Debian installer have started to install "reportbug-gtk" which depends on "dconf-service" and "dbus-user-session" and "systemd".

And when we try to install "sysvinit-core" we are met with the following error message:

Quoted 3 lines

The following packages have unmet dependencies:
dconf-service : Depends: default-dbus-session-bus or
dbus-session-bus

So, remove that new package and its dependencies before moving on.

While here, add set -x to help debugging.

---

Notes:
I'm pushing that right away.

 Osstest/Debian.pm | 3 +++
 1 file changed, 3 insertions(+)
Osstest/Debian.pm +3 -0
index ded7cdfc..9b30a375 100644
@@ -896,6 +896,9 @@ sub preseed_base ($$$;@) {
     # breaks ts-leak-check.  Fall back to SysV init for now.
     if ( $suite !~ /squeeze|wheezy/ ) {
        preseed_hook_command($ho, 'late_command', $sfx, <<END)
+#!/bin/sh
+set -ex
+in-target apt-get remove --auto-remove -y reportbug-gtk
 in-target apt-get install -y sysvinit-core
 in-target apt-get remove -y systemd
 END
Signature · 1 line
Anthony PERARD