#mkinitcpio says "file not found" even though it exists

71 messages · Page 1 of 1 (latest)

radiant obsidian
#

ls

#

It will tell you if it is within the directory your in

#

Make sure your in the directory

#

Use cd

#

Example: cd Desktop/folder/

trail wraith
#

yea I know

#

I am cd'd to /

#

and then ls'ed

#

and it's right there

#

crypto_keyfile.bin

#

I am a clown I spelled it wrong

#

im stupid

#

my bad

#

unrelatedly, how can I get an AUR package while I am still in the installer

radiant obsidian
#

Use git

#

Or install yay or yaru

#

Install yay
sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

yay --version
use the version to verify that it works

trail wraith
#

cant use makepkg as root

#

I tried that right away

#

I tried su nobody

#

it freaked out

radiant obsidian
#

?

#

are you in chroot?

trail wraith
#

yea

#

im using the installer USB rn

radiant obsidian
#

You’re already in su

trail wraith
#

ah

radiant obsidian
#

Add other repo to the iso if you want

#

Or install the package onto a usb and install it from that

#

E.g. compiling all the package with the iso

#

The list goes on

trail wraith
#

is PKGBUILD just bash?

radiant obsidian
#

Ye

trail wraith
#

i will just run it as a sh then

radiant obsidian
#

Its a script that builds the package

trail wraith
#

because I need to install this while still chrooted

#

this is the package

radiant obsidian
#

makepkg —syncdeps

trail wraith
#

same root error

radiant obsidian
#

Post the error

trail wraith
#

"ERROR: running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system."

#

i just want to use my PC -_-

radiant obsidian
#

That’s because makepkg isnt meant to run at root

#

Use chmod on the file

trail wraith
#

and do what

radiant obsidian
#

The issue if with permission

trail wraith
#

idt it's a chmod issue

#

it just wont let root run makepkg

#

at all

radiant obsidian
#

makepkg wont ever run in root

trail wraith
#

i will just try my best to get around it i suppose

radiant obsidian
#

chmod who=permissions filename

#

Or

#

Try to use wget

#

Then tar xvzf file.tar

#

After that run makepkg

trail wraith
#

if i cant run makepkg then none of the other stuff I can do will help

#

I'm just running PKGBUILD as a bash file

#

oh well

radiant obsidian
#

harold1 not sure if it will run gl

trail wraith
#

it seems to be doing a lot of gcc commands

#

it might be okay?

#

uh

#

idk how to test if it works

#

hmm

#

well I have grub packages

#

I didnt earlier

supple tapir
#

Not recommended on a normal install for sure but if you need the fix now you can do that and revert the changes after