Arduino use and install

Hi everyone!
I have two problems with arduino IDE: one in updating and one in trying to run it.

I can’t install the latest version of arduino-hardware and I’m getting the following error:

Installation of arduino-hardware-1.8.5-8.1.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/share/arduino/hardware: cpio: lstat failed - Too many levels of symbolic links
error: arduino-hardware-1.8.5-8.1.x86_64: install failed
error: arduino-hardware-1.8.5-7.55.x86_64: erase skipped

And when I run it the other error is:

arduino                                                   
Picked up JAVA_TOOL_OPTIONS: 
java.lang.NullPointerException
    at cc.arduino.contributions.packages.ContributionsIndexer.syncBuiltInHardware(ContributionsIndexer.java:220)
    at cc.arduino.contributions.packages.ContributionsIndexer.syncWithFilesystem(ContributionsIndexer.java:211)
    at processing.app.BaseNoGui.initPackages(BaseNoGui.java:495)
    at processing.app.Base.<init>(Base.java:261)
    at processing.app.Base.main(Base.java:144)
                                                       

Can anyone help me?
Thanks!

How did you upgrade your Tumbleweed? If not through ‘zypper dup’, then use that first.

From what it looks like, you already have a package installed, can you remove that package, then reinstall ?

Yes, it’s updated.
I was trying to get Arduino package updated because is not loading (as posted), but if I try to uninstall/reinstall I get the same error about too many symlinks

Update: downloaded arduino tar from the official website: works like a charm!

to the @OP,
Request that you submit your experience with details to https://bugzilla.opensuse.org

TSU