• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 3.7k 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.
    • F Offline
      Fish
      last edited by 22 Sept 2024, 05:44

      That does not work. Nothing is copied. Not even via the terminal. The error message -r not specified appears. However, the path to the destination is correct.

      A 1 Reply Last reply 23 Sept 2024, 08:18 Reply Quote 0
      • B Offline
        Bolly @Fish
        last edited by 22 Sept 2024, 09:41

        @Fish said in Camera app cannot be installed:

        @AppLee I have tried changing the channels. Unfortunately, the camera app is still missing ... and cannot be installed. It almost looks like there are no more photos for me now... 😖

        I suppose that apart from changing them, you installed the downloaded image, right?

        2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
        2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

        2020-Now : PinePhone Braveheart & CE UBports
        2020-Now (Family/Daily use): Vollaphone Xenial
        2022-Now (Family/Daily use): Vollaphone 22 Focal

        F 1 Reply Last reply 22 Sept 2024, 09:59 Reply Quote 0
        • F Offline
          Fish @Bolly
          last edited by 22 Sept 2024, 09:59

          @Bolly Naturally. Otherwise there would be no point. 🙂

          1 Reply Last reply Reply Quote 0
          • F Offline
            Fish
            last edited by 23 Sept 2024, 05:50

            This morning I tried to see if a new installation (without ticking the ‘wipe userdata’ box) would be successful. Unfortunately, the camera app is still gone and can no longer be installed... I don't understand this anymore. What is the reason for this? Surely it must be possible to reinstall this app somehow? There must be some very strange bug behind it!

            A 1 Reply Last reply 23 Sept 2024, 08:16 Reply Quote 0
            • A Offline
              AppLee @Fish
              last edited by 23 Sept 2024, 08:16

              @Fish said in Camera app cannot be installed:

              There must be some very strange bug behind it!

              Not necessarily a bug.
              What one cannot comprehend is not an anomaly.

              To understand better, you have to consider that core preinstalled apps have a particularity, they used to ship with the system image and could only be updated via a full system update.
              Now they can also be updated through the open-store which is great but lead to some unexpected behavior with unplanned scenarios like removal of these apps.

              The error message -r not specified appears. However, the path to the destination is correct.

              That's a weird error message.
              And I guess it should be possible to copy the files, I would dig in this direction if I were you.

              F 1 Reply Last reply 23 Sept 2024, 10:08 Reply Quote 0
              • A Offline
                arubislander @Fish
                last edited by 23 Sept 2024, 08:18

                @Fish said in Camera app cannot be installed:

                The error message -r not specified appears. However, the path to the destination is correct.

                What is the exact command that produces this error?

                🇦🇼 🇳🇱 🇺🇸 🇪🇸
                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
                • F Offline
                  Fish @AppLee
                  last edited by 23 Sept 2024, 10:08

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

                  A 1 Reply Last reply 23 Sept 2024, 10:10 Reply Quote 0
                  • A Offline
                    AppLee @Fish
                    last edited by 23 Sept 2024, 10:10

                    @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
                    • F Offline
                      Fish
                      last edited by Fish 23 Sept 2024, 10:16

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

                      A 1 Reply Last reply 23 Sept 2024, 10:38 Reply Quote 0
                      • A Offline
                        arubislander @Fish
                        last edited by 23 Sept 2024, 10:38

                        @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 (20.04 DEV)
                        JingPad (24.04 preview)
                        Meizu Pro 5 (16.04 DEV)

                        F 1 Reply Last reply 23 Sept 2024, 10:44 Reply Quote 0
                        • F Offline
                          Fish @arubislander
                          last edited by Fish 23 Sept 2024, 10:44

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

                          A 2 Replies Last reply 23 Sept 2024, 10:51 Reply Quote 0
                          • A Offline
                            arubislander @Fish
                            last edited by 23 Sept 2024, 10:51

                            @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 (20.04 DEV)
                            JingPad (24.04 preview)
                            Meizu Pro 5 (16.04 DEV)

                            F 1 Reply Last reply 23 Sept 2024, 11:07 Reply Quote 0
                            • F Offline
                              Fish @arubislander
                              last edited by Fish 23 Sept 2024, 11:07

                              @arubislander 20240923_130310-k-k.jpg

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                arubislander @Fish
                                last edited by 23 Sept 2024, 11:25

                                @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 (20.04 DEV)
                                JingPad (24.04 preview)
                                Meizu Pro 5 (16.04 DEV)

                                F 1 Reply Last reply 23 Sept 2024, 11:41 Reply Quote 0
                                • F Offline
                                  Fish @arubislander
                                  last edited by 23 Sept 2024, 11:41

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

                                  A 1 Reply Last reply 23 Sept 2024, 11:42 Reply Quote 0
                                  • A Offline
                                    arubislander @Fish
                                    last edited by arubislander 23 Sept 2024, 11:42

                                    @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 (20.04 DEV)
                                    JingPad (24.04 preview)
                                    Meizu Pro 5 (16.04 DEV)

                                    F 1 Reply Last reply 23 Sept 2024, 11:47 Reply Quote 0
                                    • F Offline
                                      Fish @arubislander
                                      last edited by 23 Sept 2024, 11:47

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

                                      F 1 Reply Last reply 24 Sept 2024, 09:42 Reply Quote 0
                                      • F Offline
                                        Fish @Fish
                                        last edited by Fish 24 Sept 2024, 09:42

                                        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.

                                        M 1 Reply Last reply 24 Sept 2024, 10:22 Reply Quote 0
                                        • M Offline
                                          Moem @Fish
                                          last edited by Moem 24 Sept 2024, 10:22

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

                                          F 1 Reply Last reply 25 Sept 2024, 06:12 Reply Quote 1
                                          • F Offline
                                            Fish @Moem
                                            last edited by Fish 25 Sept 2024, 06:12

                                            @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

                                            M 1 Reply Last reply 25 Sept 2024, 07:30 Reply Quote 2
                                            • F Fish has marked this topic as solved on 25 Sept 2024, 06:12
                                            19 out of 30
                                            • First post
                                              19/30
                                              Last post