Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using xarg to pass the packages to pacman or paru from a package list gives a bash error #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

salimp2009
Copy link

@salimp2009 salimp2009 commented Feb 2, 2023

Hi CHris,
I used your part of your script specifically on a VM
cat ./packages/base.list | xargs sudo pacman -S -y

but this gives a bash error
command y: not found

instead of using xarg I used this and it worked;

  BASE_PCKG=$(cat ./packages/base.list )
	sudo pacman -S -y $BASE_PCKG

Also even tough we pass -y both pacman and paru still ask confirmation to proceed with the installation. Paru in some cases might even ask to review the packages.

Thanks for all the inspiration. I also installed Arch and Hyprland . Learned a lot from your streams and wanted to contribute.

Salim

salimp2009 and others added 2 commits February 2, 2023 20:51
…r: command y: not found. revised it and tested on a VM only that part not the whole script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant