Update doesn't work, is uninstall and reinstall too risky?
Ältere Kommentare anzeigen
Hello. I noticed a bell in the upper right corner of my academic license R2022a MatLab which told that update 3 is available. Update does not work, "I have no rights to write" to the drive/directory. MatLab directs me to this question: https://se.mathworks.com/matlabcentral/answers/460588-why-does-the-matlab-r2018b-update-2-installer-fail-on-linux-and-macos
Using sudo /usr/local/MATLAB/R2022a/bin/glnxa64/update_installer seems to be the solution, but also that doesn't work for me. Terminal is processing and processing, it's taking far too long. I quit trying after more than one hour had passed.
I got curious about re-installing MatLab so that I would have the rights to update, too. But I see the forum full of problems related to uninstall/reinstall process and now I'm asking for people to share their experience, if they have reinstalled MatLab for this reason. And how to actually do it? I'm using Ubuntu-based Linux (Pop!_OS). My intuition tells me to continue using the old version, because it works. Reinstalling seems to be a risky business, I don't want to waste days for doing it.
EDIT: I installed MatLab to my own computer myself. So it is not about IT-personnel restricting the rigths.
8 Kommentare
Bruno Luong
am 25 Jul. 2022
If you think it is too risky why not just stay in update 2, if it works for you?
Jan
am 25 Jul. 2022
I had rarely problems with installing, updating or uninstalling with Matlab. If installed Matlab on about 50 or 70 devices in the last 20 years and had only one failure. Then the uninstalling did not work, but a re-installing: installing the same version over the only partioally installation. Afterwards I've uninstalled completely and re-installed, because this might be a little bit more secure (or voodoo...).
But my experiences concers just 2 installations uner Linux, while the rest was Windows.
You can ask MathWorks, if the observed behavior is a known problem of the update installer. The installation support is included.
Jonne Klockars
am 25 Jul. 2022
Jan
am 25 Jul. 2022
@Jonne Klockars: Are you sure, that the update was still running? What does the log file tell you? See: /tmp/mathworks_<username>.log .
Jonne Klockars
am 26 Jul. 2022
Bearbeitet: Jonne Klockars
am 26 Jul. 2022
Bruno Luong
am 26 Jul. 2022
Bearbeitet: Bruno Luong
am 26 Jul. 2022
May be the safest is to download the full installation (with update 3) locally, then install it if you are willing to take the risk.
On widows you don't have to uninstall the existing installation.
Jonne Klockars
am 26 Jul. 2022
Jonne Klockars
am 27 Jul. 2022
Akzeptierte Antwort
Weitere Antworten (1)
Steven Lord
am 25 Jul. 2022
0 Stimmen
Update does not work, "I have no rights to write" to the drive/directory.
Did you install MATLAB originally or did someone in your IT department? It is entirely possible that the IT staff installed it and disallowed normal users from having write permission in that directory (to avoid users accidentally overwriting some of the files in the installation, which if it's shared among multiple users could break their sessions as well.) In that case you'd probably want to ask your IT staff for help installing the upgrade.
1 Kommentar
Jonne Klockars
am 25 Jul. 2022
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!