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 chroot – Andrei Tumbar Jul 29 '17 at 12:23
  • still same error – ColonD Jul 29 '17 at 12:26
  • seems to be vi the editor – ColonD Jul 29 '17 at 12:28
  • now im starting to think that isnt the reason i cant chroot. – ColonD Jul 29 '17 at 12:28
  • maybe try deleting the files in /mnt/var/cache/paman/pkg – Andrei Tumbar Jul 29 '17 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.