How to uninstall/remove packages in a Libertine container?
-
I am unable to remove/uninstall any package installed in a Libertine container, getting
libertine-container-manager:219: ERROR: remove_package(): Package <package> is not installed.
even when using the full 'focal_<package>_0.0' name listed in 'libertiner-container-manager list-apps'.
Is there any inconvenience to calling 'apt remove <package>' directly with 'libertine-container-manager exec' or using a libertine shell e.g. lish?
-
@hlbkv said in How to uninstall/remove packages in a Libertine container?:
Is there any inconvenience to calling 'apt remove <package>' directly with 'libertine-container-manager exec' or using a libertine shell e.g. lish?
Don't remember what lish does exactly, but you can achieve a command line that looks like a root shell with
libertine-container-manager exec -c fakeroot
. Then you canapt remove
and / orinstall
packages to your heart's content. -
@arubislander that did it, thanks.
Noting that, as of Feb. 2025, the methodology in the official documentation doesn't work.
-
@hlbkv said in How to uninstall/remove packages in a Libertine container?:
as of Feb. 2025, the methodology in the official documentation doesn't work.
I think it hasn't worked since the move to focal. But there is no one yet who has taken it upon themselves to update the documentation on that point.