[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Uninstalling a package removes other essential packages: What is the best course of action?



On Sun, 13 Feb 2022 at 08:33, Stella Ashburne <rewefie@gmx.com> wrote:

> > 3. Remove it some sneaky that only removes libthai but leaves everything
> > else the same, and have things break and or apt/dpkg complain.
> >
> Could you show me how to do it please? Thanks.

Hi Stella,

With a small effort, you can try something like this:
   https://wiki.debian.org/Packaging/HackingDependencies

But, why do you care? There may be many packages installed
that you will never notice that you will never use.
Why pick on this one?

libthai appears to not occupy much disk space:

$ for n in $(dpkg -L libthai-data libthai0) ; do if [[ -f "$n" ]] &&
[[ ! -h "$n" ]] ; then ls -l "$n" ; fi ; done
-rw-r--r-- 1 root root 9314 2019-08-27 10:56
/usr/share/doc/libthai-data/changelog.Debian.gz
-rw-r--r-- 1 root root 28215 2018-08-01 15:08
/usr/share/doc/libthai-data/changelog.gz
-rw-r--r-- 1 root root 2450 2019-08-27 10:56
/usr/share/doc/libthai-data/copyright
-rw-r--r-- 1 root root 579256 2019-08-27 10:56 /usr/share/libthai/thbrk.tri
-rw-r--r-- 1 root root 41000 2019-08-27 10:56
/usr/lib/x86_64-linux-gnu/libthai.so.0.3.1
-rw-r--r-- 1 root root 9314 2019-08-27 10:56
/usr/share/doc/libthai0/changelog.Debian.gz
-rw-r--r-- 1 root root 28215 2018-08-01 15:08
/usr/share/doc/libthai0/changelog.gz

So there's hardly any win for the effort.

Alternatively, don't install lxqt-core. Only install what you want.
Some ideas here:
  https://wiki.debian.org/ReduceDebian

Naturally this kind of thing takes time and effort which you may
or may not find is worthwhile depending on your goals, and
what you choose to spend productive time doing.


Reply to: