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

    Container destruction

    Scheduled Pinned Locked Moved Solved Libertine
    15 Posts 5 Posters 912 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.
      • C Offline
        cliffcoggin
        last edited by

        Good day folks.

        To experiment with Libertine I installed a container titled Lubuntu in my Nexus5 on Stable OTA-23, then added various LibreOffice applications. None of them would open so I decided to go no further and successfully removed them from the container by swiping right. I then tried to remove the container the same way, but nothing happened. I also tried to remove or destroy it using the terminal following these instructions

        https://docs.ubports.com/en/latest/userguide/dailyuse/libertine.html

        which resulted in the message "container id Lubuntu does not exist" yet it still shows as a valid container in Settings>Libertine.

        So how do I find out if it exists or not? If it does exist how do I get rid of it, or is it so small as to be negligible?

        KenedaK 1 Reply Last reply Reply Quote 0
        • KenedaK Offline
          Keneda @cliffcoggin
          last edited by

          @cliffcoggin
          Did you reboot after dumping contener ?

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            cliffcoggin @Keneda
            last edited by

            @keneda Indeed I did. I restarted and rebooted three times but the container still supposedly exists.

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @cliffcoggin
              last edited by

              @cliffcoggin the id is probably 'xenial' and not Lubuntu. Lubuntu is the title, which is different than the id.

              🇦🇼 🇳🇱 🇺🇸 🇪🇸
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                cliffcoggin @arubislander
                last edited by

                @arubislander Xenial was recognised but I do not have permission to delete it seems. I had a screenshot but lost it into the aether.

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  cliffcoggin @cliffcoggin
                  last edited by

                  @cliffcoggin screenshot20220717_211256361.png

                  1 Reply Last reply Reply Quote 0
                  • Pulsar33P Offline
                    Pulsar33
                    last edited by

                    Hello,
                    Why do you use Terminal to manage Libertine ?

                    @pulsar33 said in Gently setup a Libertine container and some applications:

                    My best suggest is to use the Preferences/Libertine GUI as many as possible. In order to succeed, my second suggest is to always look at the messages scrolling during the installation. The spinning wheel only says that it is not ended but can let think that something was wrong. Often, it is just not ended and we are too impatient.
                    [...] if you have a container in the GUI, remove it to (try to) avoid any residual problem. Swipe the name of the container to the right and hit the "trashcan". When you see "Get started" [...]

                    BR
                    Pulsar33

                    Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                    Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                    Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      cliffcoggin @Pulsar33
                      last edited by

                      @pulsar33 said in Container destruction:

                      Hello,
                      Why do you use Terminal to manage Libertine ?

                      Why? Because, as I wrote earlier, swiping right to the rubbish bin, failed to do anything. No spinning wheel, no messages, no code, no visible activity of any sort for 90 minutes.

                      I would welcome any suggestions you have.

                      Pulsar33P ? 2 Replies Last reply Reply Quote 0
                      • Pulsar33P Offline
                        Pulsar33 @cliffcoggin
                        last edited by

                        @cliffcoggin I have destroyed the container several times and never had this problem, sorry
                        BR
                        Pulsar33

                        Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                        Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                        Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                        1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User @cliffcoggin
                          last edited by A Former User

                          @cliffcoggin
                          I don't know whether this might give you the permission you need to get rid of the offending item:

                          https://ubports.com/blog/ubports-news-1/post/terminal-chapter-3-3073

                          $ sudo mount -o remount,rw /
                          followed by the destroy command
                          followed by a reboot to go back to read only

                          Please read the article in full before you listen to me, I've used '$ sudo mount -o remount,rw /' before with no adverse effects to perform other commands, but in my case firmly under the mantra of 'a little knowledge is a dangerous thing'.

                          C 1 Reply Last reply Reply Quote 0
                          • C Offline
                            cliffcoggin @Guest
                            last edited by

                            @moncon That appears to be a risky procedure. Before deciding to attempt it I wonder what the consequences would be of leaving the container intact. Does the container use significant storage space? Will it interfere in any way with updates or other use of the phone?

                            KenedaK 1 Reply Last reply Reply Quote 0
                            • KenedaK Offline
                              Keneda @cliffcoggin
                              last edited by Keneda

                              @cliffcoggin
                              You can see in settings app how many space is used by any component like apps or system or libertine... Etc...

                              Go to settings, then "about", and "storage".

                              See there : https://forums.ubports.com/topic/5070/improve-system-settings-disk-usage-analyzer?_=1658186035127

                              2015-2023 : Meizu MX4 ☠️⚰️✝️
                              2023-2024 : Nexus 5 ☠️⚰️✝️
                              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                              🇲🇫🇬🇧

                              C 1 Reply Last reply Reply Quote 0
                              • C Offline
                                cliffcoggin @Keneda
                                last edited by

                                @keneda I'd forgotten about that display which shows Libertine taking up 1.4 GB. That's 4.4% of total space, and 7.4% of free space, so not a problem in regard to storage. For the sake of tidiness I would prefer to get rid of it if there was a relatively fool-proof way to do so.

                                arubislanderA 1 Reply Last reply Reply Quote 0
                                • arubislanderA Offline
                                  arubislander @cliffcoggin
                                  last edited by arubislander

                                  @cliffcoggin there is.

                                  Open the FileManager app, tap the Unlock button and authenticate with your unlock code.

                                  Navigate to .local/share/ in your home folder and delete the folders libertine and libertine-container.

                                  Navigate to.cache also in your home folder and delete the folder libertine-container.

                                  🇦🇼 🇳🇱 🇺🇸 🇪🇸
                                  Happily running Ubuntu Touch
                                  Google Pixel 3a (20.04 DEV)
                                  JingPad (24.04 preview)
                                  Meizu Pro 5 (16.04 DEV)

                                  C 1 Reply Last reply Reply Quote 1
                                  • C Offline
                                    cliffcoggin @arubislander
                                    last edited by

                                    @arubislander Well that was remarkably easy as it avoided the need to type accurately in the terminal, though I suppose anything is easy if you know how. It only took two minutes, and as a bonus it removed the LibreOffice icons that had remained after deleting the applications yesterday, and which I had not previously mentioned.

                                    Thank you so much.

                                    1 Reply Last reply Reply Quote 0
                                    • C cliffcoggin marked this topic as a question on
                                    • C cliffcoggin has marked this topic as solved on
                                    • First post
                                      Last post