Chmod: cannot access '/opt/unityhub/chrome-sandbox

I just installed Unity Hub v3 and during the installation process I got

Setting up unityhub (3.0.0) ... 
chmod: cannot access '/opt/unityhub/chrome-sandbox': No such file or directory 
/var/lib/dpkg/info/unityhub.postinst: line 10: update-desktop-database: command not found```

Can I just ignore those errors or...

Thanks in advance

Debian Testing BookWorm 64Bit
KDE Plasma: 5.23.4
KDE Frameworks: 5.88.0
Kernel Version: 5.15.0-2-amd64 (64-bit)
Graphics Platform: X11
2 Likes

I HAVE THE SAME PROBLEM.

Same, any way to resolve this issue?

on Fedora 35, same problem here :frowning:

It seems like installer is having trouble locating a package named update-desktop-database. Have you tried manually installing that package first before starting the unity hub ?

Check out this link: command-not-found.com – update-desktop-database

I don’t think the chrome-sandbox is the problem. I think it’s the missing ‘update-desktop-database’ executable.

We currently test on our supported distros, which are Ubuntu 18.04, 20.04 and CentOS 7 with the GNOME window manager and X11 window server. This executable is standard on those distros given a normal desktop install.

It worked for me when I was on fedora 35. Maybe I just had the right packages by coincidence. Now I’m on fedora 36
I’ve recorded a short video to show the problem: Can't use Unity3d (bug)

This is how i fixed the “chrome-sandbox” error n Fedora 36 Workstation GNOME 42.1 , Wayland

In Browser:
Sign In to Unity Account

#In Terminal:
sudo yum check-update
yum install openssl
sudo yum install openssl-libs
sudo yum check-update
sudo yum install unityhub

#Run UnityHub in Terminal
sudo unityhub


#Extra:
#If you are going to use JetBrains Rider as your C# IDE

and get “Assembly-CSharp.dll” could not be found

#In Terminal
sudo dnf install dotnet-sdk-6.0
sudo dnf install aspnetcore-runtime-6.0

#Then restart Unity and Rider

I also have this problem on popOS while having openssl and update-desktop-database.

1 Like

u should install libssl also

On Ubuntu:
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb