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 removeand / orinstallpackages 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login