Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solus 4.6 XFCE RC ISO: External command (eopkg ar) failed to finish #4050

Open
2 tasks done
endumiuz opened this issue Oct 14, 2024 · 1 comment
Open
2 tasks done
Labels
4.6 ISO Testing Bug Something isn't working

Comments

@endumiuz
Copy link

endumiuz commented Oct 14, 2024

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

  1. Use a slow computer
  2. Boot 4.6 RC ISO
  3. 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.

Full log

Environment

  • Is system up to date?

Repo

Shannon (stable)

Desktop Environment

Xfce

System details

System:
  Host: janerik-solus Kernel: 6.10.13-304.current arch: x86_64 bits: 64
  Desktop: Xfce v: 4.18.1 Distro: Solus 4.6 convergence
Machine:
  Type: Laptop System: Hewlett-Packard product: HP Pavilion TS 11 Notebook PC
    v: 0890100000305900000320100 serial: <superuser required>
  Mobo: Hewlett-Packard model: 2178 v: 33.0C serial: <superuser required>
    UEFI: Insyde v: F.03 date: 06/21/2013
CPU:
  Info: dual core AMD A4-1250 APU with Radeon HD Graphics [MCP] speed (MHz):
    avg: 799 min/max: 800/1000
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Kabini [Radeon HD 8210]
    driver: amdgpu v: kernel
  Device-2: Realtek HP Truevision HD driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.3 driver:
    gpu: amdgpu resolution: 1366x768~60Hz
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.3 renderer: AMD
    Radeon HD 8210 (radeonsi kabini LLVM 18.1.8 DRM 3.57 6.10.13-304.current)
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169
  Device-2: Ralink RT3290 Wireless 802.11n 1T/1R PCIe driver: rt2800pci
Drives:
  Local Storage: total: 465.76 GiB used: 5.99 GiB (1.3%)
Info:
  Memory: total: 4 GiB note: est. available: 3.3 GiB used: 935.1 MiB (27.7%)
  Processes: 165 Uptime: 4m Shell: Bash inxi: 3.3.36

Other comments

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.

@endumiuz endumiuz added the Bug Something isn't working label Oct 14, 2024
@malfisya malfisya added this to the Solus 4.6 milestone Oct 14, 2024
ianmjones pushed a commit to ianmjones/packages that referenced this issue Oct 14, 2024
**Summary**
 * General:
   * Change: Give experience when squishing a scavenger (commit:736fae8e874744a7156de54ad4330cb22ab9ec01, getsolus#4046)
   * Fix: Various potential crashes (too many commits, getsolus#4050, getsolus#4051, getsolus#4053, getsolus#4063)
 * Graphics:
   * Fix: Reset object animation state in a few places (commit:84b93d9c0b12e924a2aabaf35ce02d5124485df1, getsolus#4049)
   * Fix: Additional graphics backend fallback options for macOS and Linux (commit:347b7d07835afe1ecf91fd4750890c67e6e3c1b4, getsolus#4052)
 * Campaign:
   * Fix: Visibility of units restored during limbo missions (commit:22fa9439c8515b52fd816323f9f0a2a0fe985b7e, getsolus#4045)
   * Fix: Reset structure functionality references to objects when going offworld (commit:1de0822cdc1c3f1f650b1c531ebce2fe03918bf0, getsolus#4047)
   * Fix: Fill VTOLs when going offworld (commit:87ae96c79799ebe066b5213ea3d49891b3a8a1eb, getsolus#4048)
   * Fix: Update Remastered balance (too many commits, getsolus#4056)
   * Fix: Update Reclamation addon campaign (commit:9f2ca2e418ed8dfdb9488cb0e11d052fdd3aa1b0, getsolus#4059)
   * Fix: Update Fractured Kingdom addon campaign (commit:c980864ed7a920f1419d4027633438276da85d6f, getsolus#4059)
 * Translations:
   * Change: Numerous translation updates (commit:c0b1156087bc8654cc3d1f90fa588ff79769c7c7, getsolus#3996)
@ermo
Copy link
Contributor

ermo commented Oct 20, 2024

Sounds like we can start by increasing the timeout by +50% or +100% to achieve the desired results.

Fix this in 4.7.

@ermo ermo modified the milestones: Solus 4.6, Solus 4.7 Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.6 ISO Testing Bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

3 participants