UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to uninstall/remove packages in a Libertine container?

    Scheduled Pinned Locked Moved Libertine
    4 Posts 2 Posters 1.8k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      hlbkv
      last edited by

      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?

      arubislanderA 1 Reply Last reply Reply Quote 0
      • arubislanderA Online
        arubislander @hlbkv
        last edited by

        @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 can apt remove and / or install packages to your heart's content.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        JingPad (24.04-1.x daily)
        OnePlus Nord N10 5G (24.04-2.x daily)
        PinePhone OG (20.04)
        Meizu Pro 5 (16.04 DEV)

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hlbkv @arubislander
          last edited by

          @arubislander that did it, thanks.

          Noting that, as of Feb. 2025, the methodology in the official documentation doesn't work.

          arubislanderA 1 Reply Last reply Reply Quote 0
          • arubislanderA Online
            arubislander @hlbkv
            last edited by

            @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.

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            Happily running Ubuntu Touch
            JingPad (24.04-1.x daily)
            OnePlus Nord N10 5G (24.04-2.x daily)
            PinePhone OG (20.04)
            Meizu Pro 5 (16.04 DEV)

            1 Reply Last reply Reply Quote 0

            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
            • First post
              Last post