Skip to content

Fix Linux/Ubuntu installation issues in install script #9

@brucepucci

Description

@brucepucci

Summary

The install script works perfectly on macOS but has several issues on Linux/Ubuntu that need to be resolved.

Issues Found on Ubuntu/EC2

1. Neovim AppImage Issues

  • Problem: AppImage download fails or FUSE dependency missing
  • Error: dlopen(): error loading libfuse.so.2
  • Current workaround: Extract AppImage contents when FUSE unavailable

2. Python LSP Server Installation

  • Problem: python-lsp-server fails to install via Mason
  • Error: spawn: python3 failed with exit code 1
  • Missing deps: python3-venv and python3-dev packages needed

3. Mason Plugin Compatibility

  • Problem: E5113: Error while calling lua chunk
  • Error: attempt to call field 'enable' (a nil value)
  • Cause: Version compatibility between mason-lspconfig and nvim-lspconfig

4. PackerSync Manual Intervention

  • Problem: Plugin installation requires manual :PackerSync
  • Need: Better retry logic and automation

Last Working State

  • Commit: ec9a263 - Install script with interactive backup prompts
  • Status: Works on macOS, needs Linux fixes
  • Branch: add-install-script

Attempted Fixes (reverted)

  • AppImage FUSE workaround with extraction method
  • Added python3-venv/python3-dev dependencies
  • Mason plugin load order changes
  • PackerSync retry logic

Next Steps

  1. Test AppImage extraction method on clean Ubuntu instance
  2. Verify Python development packages resolve LSP installation
  3. Fix Mason plugin compatibility with proper version pinning
  4. Add comprehensive error handling and fallbacks

Test Environment

  • Platform: Ubuntu 24.04 LTS (Noble) on EC2
  • Neovim: Latest via AppImage (v0.10.2)
  • Error logs: Available in previous debugging session

Priority

Medium - Core functionality works on primary platform (macOS), Linux support can be addressed when time permits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions