Skip to content

ArchLinux #1752

Closed
Closed

Description

@MickLesk

Name of the Script

ArchLinux

Script Type

CT (LXC Container)

📋 Script Details

Bare-Metal OS LXC -> ArchLinux

Activity

  1. self-assigned this
    on Apr 27, 2026
  2. github-actions commented on Jul 31, 2026

    @github-actions
    Contributor

    The ArchLinux script is ready for testing:

    bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/archlinux.sh)"
    

    Arch Linux is a rolling-release distribution. Run 'pacman -Syu' regularly to keep the system up to date.

    Note: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.

    Discord testing thread: https://discord.com/channels/1302816934508630047/1532751643202945276

  3. Demopans commented on Aug 10, 2026

    @Demopans

    Of note
    More turnkey than the Arch LXC image

    Suggestion, may be worth adding option for an AUR manager such as yay

  4. wobcot commented on Aug 16, 2026

    @wobcot

    Supplied password for root results in failure, with --password '--password Abc123'

    Snippet from the verbose output:

    ✖️ Container creation failed. See /tmp/pct_create_109_20260816_140049_37219dcf.log

    • pct create 109 local:vztmpl/archlinux-base_20260420-1_amd64.tar.zst -features keyctl=1 -hostname name.domain.com -tags 'community-script;os' -nameserver=XXX.XXX.XXX.XXX -net0 name=eth0,bridge=vmbr0,ip=XXX.XXX.XXX.XXX/24,gw=XXX.XXX.XXX.XXX,tag=XXXX -onboot 1 -cores 1 -memory 512 -unprivileged 1 -timezone America/Detroit -rootfs local-lvm:4 --password '--password Abc123'
    • tee -a /tmp/pct_create_109_20260816_140049_37219dcf.log
      Unknown option: password abc123
      400 unable to parse option
      pct create [OPTIONS]
    • set +x

    proxmox Virtual Environment 9.2.10

  5. MickLesk commented on Aug 16, 2026

    @MickLesk
    MemberAuthor

    its an core issue with password, run in default mode until i fix it

  6. MickLesk commented on Aug 16, 2026

    @MickLesk
    MemberAuthor

    should fixed now. can you test it again?

  7. wobcot commented on Aug 16, 2026

    @wobcot

    Success
    🔗 Testing build — please report back: #1752
    ✔️ Completed successfully!
    🚀 Arch Linux setup has been successfully initialized!

  8. AminGholizad commented on Aug 19, 2026

    @AminGholizad
    Contributor

    did not work for me

    ================================================================================
    [2026-08-19 15:10:48] CONTAINER SETTINGS (ADVANCED) - Arch Linux
    ================================================================================
    [2026-08-19 15:10:48] Application: Arch Linux
    [2026-08-19 15:10:48] PVE Version: 9.2.10 (Kernel: 7.0.14-8-pve)
    [2026-08-19 15:10:48] Operating System: arch linux (base)
    [2026-08-19 15:10:48] Container Type: Unprivileged
    [2026-08-19 15:10:48] Container ID: 125
    [2026-08-19 15:10:48] Hostname: archlinux
    [2026-08-19 15:10:48] Disk Size: 4 GB
    [2026-08-19 15:10:48] CPU Cores: 1
    [2026-08-19 15:10:48] RAM Size: 512 MiB
    [2026-08-19 15:10:48] Bridge: vmbr0
    [2026-08-19 15:10:49] IPv4: 192.168.0.125/23
    [2026-08-19 15:10:49] IPv6: auto
    [2026-08-19 15:10:49] FUSE Support: no
    [2026-08-19 15:10:49] Nesting: Enabled
    [2026-08-19 15:10:49] Mknod: Disabled
    [2026-08-19 15:10:49] GPU Passthrough: no
    [2026-08-19 15:10:49] Verbose Mode: yes
    [2026-08-19 15:10:49] Session ID: 6b75700c
    [2026-08-19 15:10:52] [OK] Updated app defaults: /usr/local/community-scripts/defaults/archlinux.vars
    [2026-08-19 15:11:00] [OK] Storage local (Free: 179.6GB  Used: 30.7GB) [Template]
    [2026-08-19 15:11:05] [OK] Storage flash (Free: 1.6TB  Used: 161.9GB) [Container]
    [2026-08-19 15:11:05] [INFO] Validating storage 'flash'
    [2026-08-19 15:11:07] [OK] Storage 'flash' (zfspool) validated
    [2026-08-19 15:11:07] [INFO] Validating template storage 'local'
    [2026-08-19 15:11:08] [OK] Template storage 'local' validated
    [2026-08-19 15:11:08] [INFO] Searching for template 'arch linux-base'
    [2026-08-19 15:11:09] [INFO] No local template found, checking online catalog...
    [2026-08-19 15:11:15] [OK] Template search completed
    [2026-08-19 15:11:15] [WARN] No  template found for arch linux base
    [2026-08-19 15:11:15] Select a different available version or press Enter to cancel.
    [2026-08-19 15:11:15] [ERROR] in line 2633: exit code 1 (General error / Operation not permitted): while executing command sort -u -V 2> /dev/null
    [2026-08-19 15:11:15] Full log: /tmp/create-lxc-6b75700c.log
    [2026-08-19 15:11:22] [ERROR] in line 2659: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command sort -t - -k 2 -V
    [2026-08-19 15:11:22] Full log: /tmp/create-lxc-6b75700c.log
      📋  Full log: /tmp/create-lxc-6b75700c.log [local]
    [2026-08-19 15:11:25] [INFO] Template not present locally – will download.
      📋  Full log: /tmp/create-lxc-6b75700c.log to localtemplate 
    400 Parameter verification failed.
    template: no such template
    pveam download <storage> <template>
      📋  Full log: /tmp/create-lxc-6b75700c.log to localtemplate 
    400 Parameter verification failed.
    template: no such template
    pveam download <storage> <template>
      📋  Full log: /tmp/create-lxc-6b75700c.log to localtemplate 
    400 Parameter verification failed.
    template: no such template
    pveam download <storage> <template>
    [2026-08-19 15:11:47] [ERROR] Failed after 3 attempts. Please check network access, permissions, or manually run:
      📋  Full log: /tmp/create-lxc-6b75700c.log
    
  9. MickLesk commented on Aug 19, 2026

    @MickLesk
    MemberAuthor

    Why you dont have Arch available? Whats the Output of your Proxmox?

  10. AminGholizad commented on Aug 19, 2026

    @AminGholizad
    Contributor

    Why you dont have Arch available? Whats the Output of your Proxmox?

    I have it in the templates but I have not downloaded it. I assume it should download it, doesn't it?

  11. MickLesk commented on Aug 19, 2026

    @MickLesk
    MemberAuthor

    Yes. Automatic. Special storage?

  12. AminGholizad commented on Aug 19, 2026

    @AminGholizad
    Contributor

    Nothing special. A 256Gb sata ssd for local. I tried fedora script it downloaded it without any problem.
    let me know what log can be useful I will send it. the one I have sent was /tmp/create-lxc-6b75700c.log

  13. AminGholizad commented on Aug 19, 2026

    @AminGholizad
    Contributor

    I think the issue is a space between arch linux-base. check this log

      ✖️  No  template found for arch linux base
      ℹ️  Refresh the catalog and check what this host offers:
        pveam update && pveam available -section system | grep 'arch linux-'
    root@pve:~# pveam update && pveam available -section system | grep 'arch linux-'
    update successful
    root@pve:~# pveam update && pveam available -section system | grep 'arch'
    update successful
    system          archlinux-base_20260420-1_amd64.tar.zst                      amd64
    
  14. MickLesk commented on Aug 19, 2026

    @MickLesk
    MemberAuthor

    ive checked it now, why you get this?
    [2026-08-19 15:10:48] Operating System: arch linux (base)

    in my system its:
    🖥️ Operating System: archlinux (base)

    (I dont change anything, i just get the correct os name)

    Can you retry it? may with feedback how can i reproduce it?

    Image
  15. AminGholizad commented on Aug 20, 2026

    @AminGholizad
    Contributor

    The script on the website was to run var_os='arch linux' bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/ct/archlinux.sh)". Today I see the variable has been removed. (On fedora is removed too yesterday was var_os='fedora' bash ...)
    Yesterday it went with var_os='arch linux' but today I checked it gave a warning

    var_os was 'arch linux', which is not a template name — using 'archlinux'
    

    and installed correctly. it also worked with the new command on the website which does not include defining the var_os.

  16. AminGholizad commented on Aug 20, 2026

    @AminGholizad
    Contributor

    update command is also broken.

    [root@archlinux ~]#update
    .
    .
    .
     
    ✖️  in line 162: exit code 1 (General error / Operation not permitted): while executing command source "$script" > /dev/null 2>&1
    
      --- Last 20 lines of log ---
    [2026-08-20 09:07:50] [INFO] No interactive terminal detected – defaulting to silent update mode
    [2026-08-20 09:07:50] [ERROR] in line 162: exit code 1 (General error / Operation not permitted): while executing command source "$script" > /dev/null 2>&1
      -----------------------------------
    
  17. MickLesk commented on Aug 20, 2026

    @MickLesk
    MemberAuthor

    should fixed now

  18. github-actions commented on Aug 24, 2026

    @github-actions
    Contributor

    A PR has been created for archlinux: community-scripts/ProxmoxVE#16715

  19. michelroegl-brunner commented on Aug 24, 2026

    @michelroegl-brunner
    Member

    Merged with #16715 in ProxmoxVE

  20. github-actions commented on Aug 24, 2026

    @github-actions
    Contributor

    Files deleted with PR #2213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions