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
Forum Updated to NodeBB v4.3 + New Features

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.9k Views 2 Watching
  • 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 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
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on 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
      1
      • H hfinger

        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 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
        • sierdzioS sierdzio

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

          sierdzioS 1 Reply Last reply
          0
          • sierdzioS sierdzio

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

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

                sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on 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

                • Login

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