1

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)

asked Jul 29, 2017 at 12:19
9
  • Try just pacstrapping base and then install the devel packages once inside the chroot Commented Jul 29, 2017 at 12:23
  • still same error Commented Jul 29, 2017 at 12:26
  • seems to be vi the editor Commented Jul 29, 2017 at 12:28
  • now im starting to think that isnt the reason i cant chroot. Commented Jul 29, 2017 at 12:28
  • maybe try deleting the files in /mnt/var/cache/paman/pkg Commented Jul 29, 2017 at 12:28

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.