a r/archlinuxunknown author1 Mar 2020Deleted · saved before deletion Is there a way to get Pacstrap to read a pkglist txt file and install all listed packages? Removed before it was archived. 8 points12 commentsSaveSavedHideHiddenCopy linkHideHiddenCopy linkOpen on Reddit About this post Posted1 Mar 2020 Archived22 Apr 2020 Deleted on22 Apr 2020Score8 · 100% up KindText IDfc0wcl
witchofthewind1 Mar 20205 hidden I'm pretty sure pacstrap /mnt - <file.txt should do it. 9 pointsCopy link unknown author2 Mar 20204 hidden Deleted before we saved it.0 pointsCopy link witchofthewind2 Mar 20203 hidden And if that didnt work "pacstrap /mnt - | cat file.txt". It's the same exact thing, different piping. no, that's definitely not the same thing. 9 pointsCopy link 3 more replies
unknown author2 Mar 20204 hidden Deleted before we saved it.0 pointsCopy link witchofthewind2 Mar 20203 hidden And if that didnt work "pacstrap /mnt - | cat file.txt". It's the same exact thing, different piping. no, that's definitely not the same thing. 9 pointsCopy link 3 more replies
witchofthewind2 Mar 20203 hidden And if that didnt work "pacstrap /mnt - | cat file.txt". It's the same exact thing, different piping. no, that's definitely not the same thing. 9 pointsCopy link 3 more replies
unknown author1 Mar 20201 hidden Deleted before we saved it.5 pointsCopy link 1lostchild2 Mar 2020 This is kinda what I was thinking. 1 pointsCopy link
1lostchild2 Mar 20203 hidden Just type it in. What all are you trying to pacstrap? The entire system?? 1 pointsCopy link unknown author2 Mar 20202 hidden Deleted before we saved it.1 pointsCopy link 1lostchild2 Mar 20201 hidden Did you install NetworkManager? 1 pointsCopy link 1 more reply
unknown author2 Mar 20202 hidden Deleted before we saved it.1 pointsCopy link 1lostchild2 Mar 20201 hidden Did you install NetworkManager? 1 pointsCopy link 1 more reply
linunix3 Mar 2020 Am doing it like this; in a txt file containing a package per line. It has also comments lines beginning with # which will be ignored (grep -v): pacstrap /mnt $(grep -v "^\s*#" path/to/txt) 1 pointsCopy link
16 comments
Pacstrap can read from stdin just like pacman.
I'm pretty sure
pacstrap /mnt - <file.txtshould do it.Deleted before we saved it.
no, that's definitely not the same thing.
Deleted before we saved it.
This is kinda what I was thinking.
Wouldn't
pacstrap /mnt $(cat /somewhere/packages.txt)work?Just type it in. What all are you trying to pacstrap? The entire system??
Deleted before we saved it.
Did you install NetworkManager?
Am doing it like this; in a txt file containing a package per line. It has also comments lines beginning with # which will be ignored (grep -v):
xargs