Solved How to fix installer file while installing
-
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 -
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? -
@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. -
@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 Run with root permissions. Started from my account, then installer asks for sudo password to complete installation.
-
@hfinger After I dismissed the error dialogue, the installer asked if I wanted to retry. Installation roared through without a pause!
-
@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
.