Sudo apt-get remove command it's suddenly failing

Hi, we have been executing the command below for several months until now and since today the command is failing

sudo apt-get remove aria2 ansible azure-cli shellcheck rpm xorriso zsync \
    clang-6.0 lldb-6.0 lld-6.0 clang-format-6.0 clang-8 lldb-8 lld-8 clang-format-8 \
    clang-9 lldb-9 lld-9 clangd-9 clang-format-9 dotnet-sdk-3.0 dotnet-sdk-3.1=3.1.101-1 \
    esl-erlang firefox g++-8 g++-9 gfortran-8 gfortran-9 google-chrome-stable \
    google-cloud-sdk ghc-8.0.2 ghc-8.2.2 ghc-8.4.4 ghc-8.6.2 ghc-8.6.3 ghc-8.6.4 \
    ghc-8.6.5 ghc-8.8.1 ghc-8.8.2 ghc-8.8.3 ghc-8.10.1 ...

it fails like Error: Process completed with exit code 100.. Any clue/reason for that?
You can check job error here

Red Hat related ticket https://issues.redhat.com/browse/BXMSPROD-1123

In your workflow the output of the apt-get commands is redirected to /dev/null, so it’s impossible to see what’s going on. I suggest you remove the redirection to see error messages that will hopefully tell you what’s wrong.

@airtower-luna please check https://github.com/kiegroup/droolsjbpm-integration/pull/2331/files
it seems libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev where causing the problem. The question is why now? thanks.

The linked pull request has the packages removed already. Can you link a build where the error still occurred, but with logging?

@airtower-luna sure!! here you have it

The following packages have unmet dependencies:
 libmono-system-web4.0-cil : Depends: libmono-system-drawing4.0-cil (>= 3.0.6) but it is not going to be installed
                             Depends: libmono-system-web-services4.0-cil (>= 1.0) but it is not going to be installed
                             Depends: libgdiplus but it is not going to be installed
 mono-xsp4 : Depends: mono-xsp4-base (= 4.7.1-0xamarin3+ubuntu1804b1) but it is not going to be installed

but why today?

I’m not familiar with Mono so I can’t give a detailed answer, but most likely some update changed the list of dependencies. Those things happen, though rarely.

@airtower-luna thanks!! is there a way to follow up runner/configuration/dependencies updating? cheers

There is a public repository for the virtual environments:

The Updates to virtual environments section there describes options to get information on updates, but I don’t think they mention every package update.