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

    Camera app cannot be installed

    Scheduled Pinned Locked Moved Solved Support
    30 Posts 5 Posters 4.5k 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.
      • FishF Offline
        Fish @AppLee
        last edited by

        @AppLee The copying has now worked. Apparently I have to write “sudo” in front of everything. But that didn't help either.

        Well, with the bug I also meant that the camera app somehow removed itself. It was simply no longer there after the restart. And now I can no longer install it. That's kind of annoying.

        AppLeeA 1 Reply Last reply Reply Quote 0
        • AppLeeA Offline
          AppLee @Fish
          last edited by

          @Fish
          Oh, I thought you purposedly removed the camera app to try to reinstall it.
          Can you give us the exact command you typed?

          1 Reply Last reply Reply Quote 0
          • FishF Offline
            Fish
            last edited by Fish

            Im Verzeichnis /usr/share/click/preinstalled/camera.ubports
            sudo cp -f -r camera.ubports /opt/click.ubuntu.com/camera.ubports

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

              @Fish I get:

              cp: cannot stat 'camera.ubports': No such file or directory
              

              which is correct since there is no camera.ubports directory in the /usr/share/click/preinstalled/camera.ubports folder, only 4.6.0 and current, which is a symlink to 4.6.0

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

              FishF 1 Reply Last reply Reply Quote 0
              • FishF Offline
                Fish @arubislander
                last edited by Fish

                @arubislander I have the camera.ubports directory in the /usr/share/click/preinstalled/camera.ubports folder. But there was none in /opt/click.ubuntu.com/camera.ubports, where AppLee's folder ist located.

                arubislanderA 2 Replies Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @Fish
                  last edited by

                  @Fish So you have a /usr/share/click/preinstalled/camera.ubports/camera.ubports folder? That's not right, and might be at the root of this issue.

                  can you do a

                  ls -al /usr/share/click/preinstalled/camera.ubports
                  

                  and then

                  ls -al /usr/share/click/preinstalled/camera.ubports/camera.ubports
                  

                  and paste both results here?

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

                  FishF 1 Reply Last reply Reply Quote 0
                  • FishF Offline
                    Fish @arubislander
                    last edited by Fish

                    @arubislander 20240923_130310-k-k.jpg

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

                      @Fish said in Camera app cannot be installed:

                      I have the camera.ubports directory in the /usr/share/click/preinstalled/camera.ubports folder

                      So in fact you do not have a camera.ubports directory in the /usr/share/click/preinstalled/camera.ubports folder, but in the /usr/share/click/preinstalled folder.

                      Can you please go to your home folder and try:

                      sudo cp -R /usr/share/click/preinstalled/camera.ubports /opt/click.ubuntu.com/
                      

                      then if it is copied properly

                      sudo chown -R clickpkg:clickpkg /opt/click.ubuntu.com/camera.ubports
                      

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

                      FishF 1 Reply Last reply Reply Quote 0
                      • FishF Offline
                        Fish @arubislander
                        last edited by

                        @arubislander Mh... it looks like nothing is going to happen. It just appears again: phablet@ubuntu-phablet:~$

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

                          @Fish Yes, if the copying succeeds it doesn't give any feedback, but the folder should be there under /usr/share/click/preinstalled /opt/click.ubuntu.com/. Have you checked?

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

                          FishF 1 Reply Last reply Reply Quote 0
                          • FishF Offline
                            Fish @arubislander
                            last edited by

                            @arubislander Oh yes, it's there. I've just checked.

                            FishF 1 Reply Last reply Reply Quote 0
                            • FishF Offline
                              Fish @Fish
                              last edited by Fish

                              Unfortunately, this had no effect on the (non-)existence of the camera app...

                              So ... No solution in sight. Well. Maybe I'll think of something later. I'll leave the thread unsolved and if anyone else has an idea - always welcome. I'll check in from time to time. As long as there's no camera in the cell phone.

                              MoemM 1 Reply Last reply Reply Quote 0
                              • MoemM Offline
                                Moem @Fish
                                last edited by Moem

                                @Fish Sorry to be late to the party, and I haven´t read the whole thread... but I had a similar problem and these messages from @danfro fixed it for me:

                                Basically we need to get rid of everything named "camera" in /opt and /home

                                You could delete camera apps settings as well as the cache.
                                ~/.config/camera.ubports
                                Not many settings there anyway. Although I do not really expect that to change much.

                                And so I asked him, on your behalf, and he gave me this:
                                https://t.me/ut_troubleshooting/19

                                Is currently using an Op5t
                                Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                FishF 1 Reply Last reply Reply Quote 1
                                • FishF Offline
                                  Fish @Moem
                                  last edited by Fish

                                  @Moem That worked! Wonderful! I am really pleased. Problem solved. The camera app simply reappeared after restarting the phone.

                                  Steps (in the link):
                                  1 open terminal app
                                  2. Find the files:
                                  sudo find /opt -iname *camera*
                                  3. remove all files of that app that are listed
                                  sudo rm -r PATH
                                  4. reboot the device

                                  MoemM 1 Reply Last reply Reply Quote 2
                                  • FishF Fish has marked this topic as solved on
                                  • MoemM Offline
                                    Moem @Fish
                                    last edited by

                                    @Fish That's great, I'm so glad i could help!

                                    Is currently using an Op5t
                                    Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                    1 Reply Last reply Reply Quote 0
                                    • AppLeeA AppLee referenced this topic on
                                    • First post
                                      Last post