]> xenbits.xensource.com Git - osstest.git/commitdiff
preseed_base: Remove reportbug-gtk if present
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 27 Nov 2023 16:11:11 +0000 (16:11 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 27 Nov 2023 16:11:11 +0000 (16:11 +0000)
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>
Osstest/Debian.pm

index ded7cdfca8db4b90493a8e04fb40a2f4ecbd8c88..9b30a37583a1b3c4b6a13d232d4acd8c6bf4fd5b 100644 (file)
@@ -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