Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to fix installer file while installing
QtWS25 Last Chance

How to fix installer file while installing

Scheduled Pinned Locked Moved Solved General and Desktop
qt5.13.0 .runguiinstallation pepermissionserror
7 Posts 2 Posters 1.6k Views
  • 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.
  • H Offline
    H Offline
    hfinger
    wrote on 5 Sept 2019, 05:22 last edited by
    #1

    Ubuntu 18 .404.3 LTS Bionic Beaver

    I am installing Qt5.13.0 with the *.run file. During installation it threw this error:

    "Error while extracting archive "installer://qt.tools.qtcreator/4.9.1-0qtcreator.7z": Cannot open file "/usr/share/qt5/Qt5.13.0/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/commands/statepreviewimagechangedcommand.h" for writing: Permission denied"
    

    As far as I can see the problem file is within the *.run archive. Has anybody else had this error and what solution did you find?

    Regards,
    Hedley

    H 1 Reply Last reply 5 Sept 2019, 07:54
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 5 Sept 2019, 05:51 last edited by
      #2

      Don't install to /usr, install locally ($HOME) for your local users. This way you won't have permission troubles and won't pollute your OS with many Qt installations.

      If you still want to install to /usr, then - are you running the installer with root permissions?

      (Z(:^

      H 2 Replies Last reply 5 Sept 2019, 22:08
      1
      • H hfinger
        5 Sept 2019, 05:22

        Ubuntu 18 .404.3 LTS Bionic Beaver

        I am installing Qt5.13.0 with the *.run file. During installation it threw this error:

        "Error while extracting archive "installer://qt.tools.qtcreator/4.9.1-0qtcreator.7z": Cannot open file "/usr/share/qt5/Qt5.13.0/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/commands/statepreviewimagechangedcommand.h" for writing: Permission denied"
        

        As far as I can see the problem file is within the *.run archive. Has anybody else had this error and what solution did you find?

        Regards,
        Hedley

        H Offline
        H Offline
        hfinger
        wrote on 5 Sept 2019, 07:54 last edited by
        #3

        @hfinger I checked the .../commands directory but the file was not copied into it. The other files in this directory were successfully copied, so I can't understand why this file could not be copied.

        1 Reply Last reply
        0
        • S sierdzio
          5 Sept 2019, 05:51

          Don't install to /usr, install locally ($HOME) for your local users. This way you won't have permission troubles and won't pollute your OS with many Qt installations.

          If you still want to install to /usr, then - are you running the installer with root permissions?

          H Offline
          H Offline
          hfinger
          wrote on 5 Sept 2019, 22:08 last edited by
          #4

          @sierdzio Do you mean something like /home/.qt5/? (This is Ubuntu.) Or something like /home/myhome/.qt5/? Note sure what you mean by local directory. I am a newbie.

          S 1 Reply Last reply 6 Sept 2019, 05:21
          0
          • S sierdzio
            5 Sept 2019, 05:51

            Don't install to /usr, install locally ($HOME) for your local users. This way you won't have permission troubles and won't pollute your OS with many Qt installations.

            If you still want to install to /usr, then - are you running the installer with root permissions?

            H Offline
            H Offline
            hfinger
            wrote on 5 Sept 2019, 22:43 last edited by
            #5

            @sierdzio Run with root permissions. Started from my account, then installer asks for sudo password to complete installation.

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hfinger
              wrote on 5 Sept 2019, 22:56 last edited by
              #6

              @hfinger After I dismissed the error dialogue, the installer asked if I wanted to retry. Installation roared through without a pause!

              1 Reply Last reply
              0
              • H hfinger
                5 Sept 2019, 22:08

                @sierdzio Do you mean something like /home/.qt5/? (This is Ubuntu.) Or something like /home/myhome/.qt5/? Note sure what you mean by local directory. I am a newbie.

                S Offline
                S Offline
                sierdzio
                Moderators
                wrote on 6 Sept 2019, 05:21 last edited by
                #7

                @hfinger said in How to fix installer file while installing:

                @sierdzio Do you mean something like /home/.qt5/? (This is Ubuntu.) Or something like /home/myhome/.qt5/? Note sure what you mean by local directory. I am a newbie.

                I usually install to /home/username/qt.

                (Z(:^

                1 Reply Last reply
                0

                2/7

                5 Sept 2019, 05:51

                5 unread
                • Login

                • Login or register to search.
                2 out of 7
                • First post
                  2/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved