diff mbox series

[OSSTEST] preseed_base: Remove reportbug-gtk if present

Message ID 20231127162856.35391-1-anthony.perard@citrix.com (mailing list archive)
State New, archived
Headers show
Series [OSSTEST] preseed_base: Remove reportbug-gtk if present | expand

Commit Message

Anthony PERARD Nov. 27, 2023, 4:28 p.m. UTC
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:
>    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.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---

Notes:
    I'm pushing that right away.

 Osstest/Debian.pm | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index ded7cdfc..9b30a375 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -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