Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved How to fix installer file while installing

    General and Desktop
    qt5.13.0 .run gui installation pe permissions error
    2
    7
    669
    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.
    • H
      hfinger last edited by

      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 Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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 Reply Quote 1
        • H
          hfinger @hfinger last edited by

          @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 Reply Quote 0
          • H
            hfinger @sierdzio last edited by

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

            sierdzio 1 Reply Last reply Reply Quote 0
            • H
              hfinger @sierdzio last edited by

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

              1 Reply Last reply Reply Quote 0
              • H
                hfinger last edited by

                @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 Reply Quote 0
                • sierdzio
                  sierdzio Moderators @hfinger last edited by

                  @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 Reply Quote 0
                  • First post
                    Last post