I'm trying to install arch on my laptop. My pacstrap -i /mnt base base-devel
fails to install one file and shows this error repeatedly:
error: could not open file /mnt/var/cache/pacman/
pkg/vi-1:070224-2-x86_64.pkg.tar.xz.part: Invalid argument
and my arch-chroot
wont work cause no such file or dierctory
I looked at earlier questions on this site like these:
chroot: failed to run command ‘/bin/bash’: No such file or directory
"No such file or directory" on an executable, yet file exists and ldd reports all libraries present
but a) my partition IS ext4 b) i cant find bin/bash anywhere
So how do I install this package?
(i checked the directory /mnt/var/cache/pacman/pkg/
and the vi file isnt there)
-
Try just pacstrapping base and then install the devel packages once inside the chrootAndrei Tumbar– Andrei Tumbar2017年07月29日 12:23:39 +00:00Commented Jul 29, 2017 at 12:23
-
still same errorColonD– ColonD2017年07月29日 12:26:51 +00:00Commented Jul 29, 2017 at 12:26
-
seems to be vi the editorColonD– ColonD2017年07月29日 12:28:19 +00:00Commented Jul 29, 2017 at 12:28
-
now im starting to think that isnt the reason i cant chroot.ColonD– ColonD2017年07月29日 12:28:54 +00:00Commented Jul 29, 2017 at 12:28
-
maybe try deleting the files in /mnt/var/cache/paman/pkgAndrei Tumbar– Andrei Tumbar2017年07月29日 12:28:58 +00:00Commented Jul 29, 2017 at 12:28
You must log in to answer this question.
Explore related questions
See similar questions with these tags.