#985119 debian-installer: shared-mime-info installed for no apparent reason

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Witold Baryluk
Date:
2021-03-15 05:00:03 UTC
Severity:
normal
#985119#5
Date:
2021-03-13 00:36:59 UTC
From:
To:

I just used the daily netinst for testing on arm64 in qemu.

I used the non-expert install (default).

In the selection of tasks, I only added "SSH server". No standard utils,
laptop tools or desktop, printer or web.

After the install i uninstalled i{american,british,spell} and wamerican,
emacsen-common and dictionary-common.

I also removed debconf-i18n.

Then as I was looking at other packages, and the disk usage, I noticed
libicudata.so.67 consuming a lot of space (~30MB in the .so file!)

Removing libicu67 also removes: libxml2 and shared-mime-info.
shared-mime-info depends on libicu67, but what dependss on
shared-mime-info that it was installed in the first place?

(As a side note, the debconf-i18n, dictionary-common, and other removed
packages doesn't depend on libicu67, so the only reason libicu67 was
installed is due to shared-mime-info. That grows the default install by about 10%!).

So I removed it anyway. Everything is fine, as these packages are optional.

So I am not sure why shared-mime-info was installed by debian-installer.

Sure it is useful if you have a web browser / client, or a desktop
installed, but I don't, and I didn't ask for it during install.

I am attaching the output of dpkg -l.

#985119#10
Date:
2021-03-13 11:07:57 UTC
From:
To:
Hello,

Witold Baryluk, le sam. 13 mars 2021 00:36:59 +0000, a ecrit:

On qemu, the hwdetect package installs qemu-guest-agent, which depends
on libglib2.0-0, which recommends shared-mime-info.

Possibly libglib2.0-0's shared-mime-info could be downgraded to
Suggests, Cc-ing glib2.0 maintainers about it.

Samuel

#985119#15
Date:
2021-03-15 04:56:18 UTC
From:
To:
Hi Samuel.

Oh. I see, I didn't consider the "Recommends". That makes now sense.

Whatever it should be "Suggests", I don't know. Would be interesting to
know the input from glib people.


Regards,
Witold