Hi there,
I am pretty upset and frustrated while I am writing this post now. So, sorry for language mistakes and word choices in advance.
I have been using UR5 and UR5e for a couple of years, mostly using ROS. So I didn’t need a simulator for so long since I had the Gazebo. For the first time I saw that there is an offline simulator option for UR e-series for Linux, I got pretty excited and downloaded following this link: Universal Robots - Offline Simulator - e-Series - UR Sim for Linux 5.11.1
And then I followed as instructed and run the install.sh
. Then, the catastrophe started. The install shell started removing pretty much ALL of my packages and software in my PC! I immediately stop the shell and hope to save some but it was already way to late. For comparison, it removed all my ROS installations as well as a few more third party installations on my PC. I have the log file which I goes I cannot attach here but I am very much willing to share with any technical support.
Then I dig into the commands in install.sh
file and I was terrified. pkexec bash -c "apt-get -y install lib32gcc1 lib32stdc++6 libc6-i386 $commonDependencies && (echo '$packages' | xargs dpkg -i --force-overwrite)"
This command would remove EVERYTHING without asking to the user, without giving any warning! It simply accepts everything with -y
option if the installation requires sudo apt remove --purge application
. I honestly believe that if ANYTHING which needs to be removed or version changed, it should be WARNED.
Also, with --force-overwrite
is even more dangerous that even though the -y
option accepts the installation and remove automatically, by some chance some version mismatches would warn the user at some point. However, with this option, none of the other versions of any packages used by the ursim are allowed to be in your PC. That’s terrifying, honestly.
At the moment, I am looking at my removed 50+ packages and software with misty eyes. I wanted to create a new report about this issue because
- I warn other people about this catastrophic behavior of the installation script.
- Ask to developers to fix it
- Get some help if there is any chance to reverse it for my case. I have lots of packages which I am not using the latest version since I am a developer and need to keep some packages in their stable versions and I don’t have the list of every single 50+ packages versions up to date at the moment. For me to fix this wreck is more than manually installing all packages removed by looking at my log file.
A cherry on top: While trying to reproduce to error to make sure I didn’t mess up, a virtual machine is created using ubuntu 18.04 and ROS melodic installed only (no java was installed). The install.sh first installed java sdk 11 and then popped an error saying that the java version was not up to date… well… why on earth the the install script installed version 11, then? Makes no sense to me. Either don’t install any java version and throw an error in the first place or just simply install the required version.
And finally, yes, all packages were removed on the test virtual machine, too. So the problem is definitely reproducible.
Appreciated in any help,