You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please confirm there isn't an existing open bug report
I have searched open bugs for this issue
Summary
The installation does not complete on really slow computers because of a too short timeout on the add-repo command.
Steps to reproduce
Use a slow computer
Boot 4.6 RC ISO
Try installing the OS
Expected result
The installation should complete sucessfully.
Actual result
At the post-install phase, the installation is aborted with this error message:
2024-10-13 - 17:18:54 [1]: ERROR: Installation failed: "External command failed to finish."
2024-10-13 - 17:18:54 [6]: .. - message: "External command failed to finish."
2024-10-13 - 17:18:54 [6]: .. - details: Command <i>/usr/bin/eopkg ar Solus https://cdn.getsol.us/repo/shannon/eopkg-index.xml.xz</i> failed to finish in 30 seconds.
There was no output from the command.
I fixed it by increasing the timeout for the add-repo command in /usr/share/calamares/modules/shellprocess_postinstall.conf:
# Reference: https://github.com/calamares/calamares/blob/3.2.x-stable/src/modules/shellprocess/shellprocess.conf
# To be ran post installation
---
dontChroot: false
script:
- command: "/usr/sbin/usysconf run"
timeout: 300
# Add a comment to the vconsole conf about how to change the font in the future
- "echo \"## The default console font on Solus is ter-v32b, if you would like to change that uncomment this and set it to your selection\" >> /etc/vconsole.conf"
- "echo \"# FONT=ter-v32b\" >> /etc/vconsole.conf"
# If the ISO was generated from unstable then remove the local repo and switch back to shannon
# TODO: We could make a UI to configure this. Perhaps an advanced option to make the installed system run from unstable?
- "/usr/bin/eopkg rr Local || true"
- command: "/usr/bin/eopkg ar Solus https://cdn.getsol.us/repo/shannon/eopkg-index.xml.xz"
timeout: 60
i18n:
name: "Running post install triggers"
You probably want to set it to 300 seconds to match the other timeout values.
Edit:
After editing that file, the installation was completed successfully. Here you can see that the command took 37 seconds on this computer.
The text was updated successfully, but these errors were encountered:
Please confirm there isn't an existing open bug report
Summary
The installation does not complete on really slow computers because of a too short timeout on the add-repo command.
Steps to reproduce
Expected result
The installation should complete sucessfully.
Actual result
At the post-install phase, the installation is aborted with this error message:
Full log
Environment
Repo
Shannon (stable)
Desktop Environment
Xfce
System details
Other comments
I fixed it by increasing the timeout for the add-repo command in
/usr/share/calamares/modules/shellprocess_postinstall.conf
:You probably want to set it to 300 seconds to match the other timeout values.
Edit:
After editing that file, the installation was completed successfully. Here you can see that the command took 37 seconds on this computer.
The text was updated successfully, but these errors were encountered: