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

    How to uninstall a Libertine package

    Scheduled Pinned Locked Moved Support
    13 Posts 7 Posters 1.8k Views 3 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.
      • J Offline
        JuanGRodeja
        last edited by

        In 16.04 OTA5, running on a BQ M10 FHD, please...

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • LakotaubpL Offline
          Lakotaubp @JuanGRodeja
          last edited by

          @juangrodeja system setting Libertine, tap on container, swipe right on app you need to remove tap red bin

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            JuanGRodeja @Lakotaubp
            last edited by

            @lakotaubp Thanks. That didn't work, probably because the package is half-installed β€”the installation longed about 24 hours, the latter ones without any log output, so I tried to restart. Now the previous log output is not visible anymore ( in the container's info page β€”"Operation details"). I cannot reinstall the package until I have removed it. By the way, the package is "chromium-browser"

            LakotaubpL 1 Reply Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp @JuanGRodeja
              last edited by Lakotaubp

              @juangrodeja If you have nothing else vital in the container, delete the whole container by swiping right on it as above and start again. Also not sure that chromium browser works in libertine. But I may have misread that.
              One tip is to put the lock when idle option in battery settings to never when working with libertine.
              Oh nearly forgot in the terminal
              libertine-container-manager remove-package -p Package-Name

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                JuanGRodeja @Lakotaubp
                last edited by

                @lakotaubp Thanks again. The tip on the battery settings allowed me to have chromium installed on a different container. But it crashes after a bit without leaving any message. Nearly the same happened with Firefox, what did shock me. Arora runs successfully, but it is giving me problems with forms (when I start writing in the second field, it returns to the first one). And has problems with geogebra web applications.
                The tip on deleting packages through the command line failed (it says that chromium-browser is not installed).

                LakotaubpL 1 Reply Last reply Reply Quote 0
                • LakotaubpL Offline
                  Lakotaubp @JuanGRodeja
                  last edited by

                  @juangrodeja Libertine is very hit and miss. There are plenty of items on the forum about it. Have look around. If you can't delete the app or container via system setting, then probably best to access,your devices via a PC or laptop and use the terminal.commands way.

                  1 Reply Last reply Reply Quote 0
                  • 1 Offline
                    1896er
                    last edited by 1896er

                    I would like to delete the default libertine container. I tried via terminal, then "Libertine.py:125: ERROR: _delete_rootfs(): [Errno 13] Permission denied: 'dev'" appears. I tried this also via adb shell on pc - the same... Via swipe right in system settings (Libertine) and tap on red trash symbol nothing happens. No spinning wheel...

                    I'm on bq m10 hd xenial 16.04 stable.

                    Thanks!

                    LakotaubpL D 2 Replies Last reply Reply Quote 0
                    • LakotaubpL Offline
                      Lakotaubp @1896er
                      last edited by

                      @1896er Have a look here https://docs.ubports.com/en/latest/userguide/dailyuse/libertine.html

                      1 1 Reply Last reply Reply Quote 1
                      • 1 Offline
                        1896er @Lakotaubp
                        last edited by

                        @Lakotaubp I looked to that and followed the instructions. Above are the results...

                        M 1 Reply Last reply Reply Quote 0
                        • D Offline
                          doniks @1896er
                          last edited by

                          @1896er said in How to uninstall a Libertine package:

                          I would like to delete the default libertine container. I tried via terminal, then "Libertine.py:125: ERROR: _delete_rootfs(): [Errno 13] Permission denied: 'dev'" appears. I tried this also via adb shell on pc - the same... Via swipe right in system settings (Libertine) and tap on red trash symbol nothing happens. No spinning wheel...

                          I'm on bq m10 hd xenial 16.04 stable.

                          Thanks!

                          Weird. Maybe try to reboot, then try again to delete first thing after the reboot.

                          Ps: your question would be better served in it's own thread. It's a different problem.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            MarkG_108 @1896er
                            last edited by

                            @1896er Perhaps use sudo. So,

                            sudo libertine-container-manager remove-package -p PACKAGE-NAME
                            
                            1 Reply Last reply Reply Quote 0
                            • arubislanderA Offline
                              arubislander
                              last edited by

                              libertine-container-manager works without sudo.

                              What has probably happened is that some entry has been left in the .json configuration file. I am away from my UT device at the moment, so I cannot check on the correct name or path. But it should be floating around in the forums somewhere..

                              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                              Happily running Ubuntu Touch
                              Google Pixel 3a (20.04 DEV)
                              JingPad (24.04 preview)
                              Meizu Pro 5 (16.04 DEV)

                              1 Reply Last reply Reply Quote 0
                              • dobeyD Offline
                                dobey
                                last edited by

                                It looks like the problem is that some directories are still bind mounted in the container, and aren't being unmounted for some reason. If you reboot into recovery, you can delete the libertine container's root filesystem directory by hand, and nothing will be mounted at that point.

                                You can also check mount -l | grep libertine to see what is still mounted, and try to forcefully unmount, and then re-run the libertine-container-manager command to destroy the container once no mounts are left for it.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post