On 04/07/2025 5:32 pm, David Wright wrote:
On Fri 04 Jul 2025 at 07:04:32 (+0200), Federico Kircheis wrote:
Excluding two or three packages is much easier, and the suggested
approach of appending a - works perfectly if the package was not
installed.
In which case, I think you should install the equivs package (it's
in every suite) and use it to build your own packages called
libreoffice, etc.
But wouldn't it break if I want to install libreoffice at a later point?
You still need to use one of -s, --simulate, --just-print, --dry-run,
--recon, --no-act, in order to see just which package equivalents you
need to build.
Then, in future, you install all your equivalents before you install
the DE itself, and APT/dpkg will see that those _recommendations_ are
already installed. But repeat the -s run after installing your first
set of equivalents in case there are any second-order recommendations.
Cheers,
David.