UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    Container destruction

    已排程 已置頂 已鎖定 已移動 Solved Libertine
    15 貼文 5 Posters 939 瀏覽 3 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • C 離線
        cliffcoggin
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • KenedaK 離線
          Keneda @cliffcoggin
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • C 離線
            cliffcoggin @Keneda
            最後由 編輯

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

            arubislanderA 1 條回覆 最後回覆 回覆 引用 0
            • arubislanderA 離線
              arubislander @cliffcoggin
              最後由 編輯

              @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 條回覆 最後回覆 回覆 引用 0
              • C 離線
                cliffcoggin @arubislander
                最後由 編輯

                @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 條回覆 最後回覆 回覆 引用 0
                • C 離線
                  cliffcoggin @cliffcoggin
                  最後由 編輯

                  @cliffcoggin screenshot20220717_211256361.png

                  1 條回覆 最後回覆 回覆 引用 0
                  • Pulsar33P 離線
                    Pulsar33
                    最後由 編輯

                    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 條回覆 最後回覆 回覆 引用 0
                    • C 離線
                      cliffcoggin @Pulsar33
                      最後由 編輯

                      @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 條回覆 最後回覆 回覆 引用 0
                      • Pulsar33P 離線
                        Pulsar33 @cliffcoggin
                        最後由 編輯

                        @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 條回覆 最後回覆 回覆 引用 0
                        • ? 離線
                          舊使用者 @cliffcoggin
                          最後由 舊使用者 編輯

                          @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 條回覆 最後回覆 回覆 引用 0
                          • C 離線
                            cliffcoggin @訪客
                            最後由 編輯

                            @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 條回覆 最後回覆 回覆 引用 0
                            • KenedaK 離線
                              Keneda @cliffcoggin
                              最後由 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 條回覆 最後回覆 回覆 引用 0
                              • C 離線
                                cliffcoggin @Keneda
                                最後由 編輯

                                @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 條回覆 最後回覆 回覆 引用 0
                                • arubislanderA 離線
                                  arubislander @cliffcoggin
                                  最後由 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 條回覆 最後回覆 回覆 引用 1
                                  • C 離線
                                    cliffcoggin @arubislander
                                    最後由 編輯

                                    @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 條回覆 最後回覆 回覆 引用 0
                                    • C cliffcoggin marked this topic as a question on
                                    • C cliffcoggin has marked this topic as solved on
                                    • 第一個貼文
                                      最後的貼文