You are not logged in.

#1 2024-03-03 01:04:22

Joyoforigamit
Member
Registered: 2024-03-03
Posts: 3

Archinstall experiences error during install: couldn't open a file

I'm trying to install Arch linux. During installation, the following error occured:

error: failed to setup a download payload for /mnt/archinstall/var/cache/pacman/pkg/lz4-1:1.9.4-2-x86_64.pkg.tar.zst.partL Invalid argument
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

Retrying the download does not fix anything. Why does this error happen and how can I fix it?

I got the iso from http://mirrors.ocf.berkeley.edu/archlin … 024.03.01/, and wrote it onto the USB with Rufus.

Offline

#2 2024-03-03 09:14:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,399
Website

Re: Archinstall experiences error during install: couldn't open a file

Mod note: moving to archinstall subforum


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-03-03 19:22:53

Joyoforigamit
Member
Registered: 2024-03-03
Posts: 3

Re: Archinstall experiences error during install: couldn't open a file

Thank you!

I tried to use January's iso instead, but that didn't work. I also tried installing lz4 manually, but that didn't work either.  Any help would be appreciated. Thanks! big_smile

Offline

#4 2024-03-03 21:47:37

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: Archinstall experiences error during install: couldn't open a file

Network issues?
Broken mirror?

I also tried installing lz4 manually

What exactly does that mean?

Don't use archinstall, follow https://wiki.archlinux.org/title/Installation_guide

Offline

#5 2024-03-04 02:55:14

Joyoforigamit
Member
Registered: 2024-03-03
Posts: 3

Re: Archinstall experiences error during install: couldn't open a file

I did that. I wiped my drive and then did everything manually, and lo and behold, the same error pops up when trying to pacstrap. I've switched to many different mirrors and I've also connected to different networks, and it still does not work, so I believe that it is neither an issue with my mirror or my network. After a bit noticed that the "download payload" contains a colon, which is invalid for a file. Is it possible to fix this?

Last edited by Joyoforigamit (2024-03-04 02:55:42)

Offline

#6 2024-03-04 07:28:15

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: Archinstall experiences error during install: couldn't open a file

After a bit noticed that the "download payload" contains a colon, which is invalid for a file.

Is this WSL?
On what kind of FS are you trying to install archlinux?

touch '/mnt/archinstall/var/cache/pacman/pkg/:)'

Offline

Board footer

Powered by FluxBB