Search Issue Tracker
Won't Fix
Votes
1
Found in
Issue ID
1220817
Regression
No
[Linux Hub] Installing modules to Editors via Hub fails if cpio is not present in the system
How to reproduce:
1. If you have 'cpio installed' at /bin/cpio, remove it by typing `sudo apt-get remove cpio` into your Terminal
2. Reinstall Unity Hub
3. Navigate to the Installs tab and try to add a module to any version
Expected result: Unity Hub installs 'cpio' as it is a dependency
Actual result: Unity Hub doesn't install 'cpio' resulting in modules quietly failing to install
Reproducible with: Hub 2.3.0
Full error in info-log.json after failing to install a module:
{"moduleName":"UnityInstallerLinux","level":"warn","message":"[ 'Error while installing module Mac Build Support (Mono)',\n { Error: Command failed: cd /home/lukasd/Unity/Hub/Editor/2019.3.0f6; gzip -dc \"/home/lukasd/Unity/Hub/Editor/2019.3.0f6/tmp/TargetSupport.pkg.tmp/Payload\" | cpio -iu\n /bin/sh: 1: cpio: not found\n \n at ChildProcess.exithandler (child_process.js:312:12)\n at ChildProcess.emit (events.js:194:13)\n at maybeClose (internal/child_process.js:998:16)\n at Socket.<anonymous> (internal/child_process.js:403:11)\n at Socket.emit (events.js:194:13)\n at Pipe.<anonymous> (net.js:593:12)\n killed: false,\n code: 127,\n signal: null,\n cmd:\n 'cd /home/lukasd/Unity/Hub/Editor/2019.3.0f6; gzip -dc \"/home/lukasd/Unity/Hub/Editor/2019.3.0f6/tmp/TargetSupport.pkg.tmp/Payload\" | cpio -iu' } ]","timestamp":"2020-02-21T15:31:58.071Z"}
Notes:
- You can check if you have 'cpio' installed by typing `whereis cpio` in your Terminal
- Workaround is to install 'cpio' by typing `sudo apt-get install cpio`
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
All Linux fixes are scheduled for Unity 2021.2 as the Linux support feature.