Skip to content

HELP! Arch installation failing every time.

I'm so confused. No matter what I do, I always get stuck at the pacstrap installation part of Arch. I do

"pacstrap /mnt base linux linux-firmware nano amd-ucode" and then in the end, it said "error: failed to commit transaction (conflicting files)." It ALWAYS say that. I have no idea how to fix. It worked the first time around and then I uninstalled Arch because I messed something up by uninstalling Python. But the point is, no matter how many USBs I try, it'll always save the cache. I delete my partitions every time I restart and then I get a new USB. None of them work. And then Arch even say "last mounted on..." HOW!? I erased EVERYTHING. This is the bottleneck that prevents me from using chroot. When I use chroot, "arch-chroot /mnt", it says "chroot: failed to run command /bin/bash: No such file or directory." I have no idea what's wrong. Before you ask, yes, I have generated fstab before arch-chroot.

EDIT: seems like it always focuses on the USB storage. Not the internal hard drive...

EDIT: I tested it with an external hard drive and it worked! All tutorials show the internal drives, not the USB storage. Why is my showing both when I do lsblk???

SOLVED: I reinstalled Windows and wiped hard drive

Edited 22 Feb 2021. We only hold this version.

0 points10 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 38% up
Kind
Text
ID
lo0uvf

Author

16
posts
37
comments
0
media
View profile

13 comments

You're getting the /bin/bash error because bash isn't getting installed, because your pacstrap command is failing.

What do you mean you 'uninstalled Arch', how exactly? Also, are you 'erasing' by removing files, or are you freshly formatting your drives?

3 points

Yes, when I say uninstall Arch I mean I literally formatted my shrunk partition until it's unallocated. I erase by using the windows DISKPART and then list disk 1 (the usb) and "clean".

1 points

Take a break, do some research on how filesystems, mounting and partitions work, try to understand what you are doing, and then try again.

3 points

All tutorials show the internal drives

Here's the resource that works for me, and is the basis for this community: https://wiki.archlinux.org/index.php/Installation_guide

By using that resource, you can be sure you're using the most updated documentation, and not hurting yourself by struggling with unnecessary errors and workarounds.

Good luck!

3 points

I delete my partitions every time

You know, if you delete a partition and create a new one in the exact same place it can actually reuse the filesystem if I'm not mistaken. You don't want to delete the partition to get rid of the old installation, you want to format it! After mounting on /mnt you can always ls /mnt to make sure the partition is empty.

2 points
unknown author4 hidden

Deleted before we saved it.

1 points

You must likely didn't "uninstall" anything, and that's why pacstrap is reporting conflicting files. The easiest fix is probably too reformat your drives when you're doing the install again.

I formatted /dev/nvme0n1p5! It still doesn't work! It still shows the same error.... I'm super confused at this point. I've formatted the shrinked drive from Windows (before deleting it), I've formatted the USB and downloaded a brand new ISO... maybe my hard drive problem?

EDIT: realized only happens when I pacstrap amd-ucode

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.