I used EFISTUB for awhile but kept running into issues with the entries getting messed up by my motherboard and having to go back and disable secure boot, and re-add them. Not sure what was happening. Switching to systemd-boot seemed to solve it.
The wiki is just text. The lists are not populated from a database. You might find a popularity count for packages in the AUR but I don’t believe there is anything for compiled packages in the official repositories.
I use btrfs so I have snap-pac to take pre/post snapshots for every pacman transaction.
I also have it so that kernel modules are symlinked after a kernel upgrade so I don't have to restart right away:
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = linux
[Action]
Description = Symlinking old kernel modules...
When = PostTransaction
Exec = /usr/bin/bash -c "find /usr/lib/modules -xtype l -delete; ln -sv /.snapshots/$(snapper -c root list | awk 'END{print $1}')/snapshot/usr/lib/modules/$(uname -r) /usr/lib/modules/"
The following checks for packages not in a sync database (I use aurutils so I keep all packages installed in a local database). This tells me if a maintainer silently removed a package from a repository:
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = *
[Action]
Description = Checking for packages not in sync databases...
When = PostTransaction
Exec = /usr/bin/bash -c "for i in $(pacman -Qqm); do echo '-->' $i; done"
The following tells me if I accidentally did a partial upgrade (just do pacman -Syu and choose "no" and then install package - that's a partial upgrade!) and have packages that need to be updated:
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = *
[Action]
Description = Checking for packages that need to be upgraded...
When = PostTransaction
Exec = /usr/bin/bash -c "for i in $(pacman -Qqu); do echo '-->' $i; done"
Backup boot partition before upgrading kernel (isn't on btrfs so snap-pac won't back up):
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = linux
[Action]
Description = Backing up /boot...
When = PreTransaction
Exec = /usr/bin/rsync -avzq --delete /boot /.bootbackup
You'll get a partial upgrade this way by running pacman -Sy every 15 minutes and then later pacman -S <package> on the command line. Use checkupdates from pacman-contrib.
It doesn't sync your local databases. If you do pacman -Sy and then pacman -S *package* it's (potentially) a partial upgrade. If you do checkupdates and pacman -S *package* it's not a partial upgrade.
Thus, you can check which packages are going to be updated without risking a partial upgrade.
Tip: if you want to check for updates but not actually upgrade do checkupdates from the pacman-contrib package. You avoid syncing your local databases and risking a partial upgrade if you are just looking and not installing.
That assumes you don't have any other upgrades with files that are going to be overwritten. If you've been updating correctly you probably don't, so it's probably fine.
Check out man 5 btrfs. It looks like nodatacow implies nodatasum (disables data checksumming for new files). Because of this, compression is disabled. All files created under nodatacow also have the NOCOW file attribute set, which is what you do with chattr +C.
You won't be able to mount some subvolumes with nodatacow and others with datacow if they are part of the same filesystem. See the note in MOUNT OPTIONS in man 5 btrfs.
"He" is used historically as genderless, although some people like to mix it up with "she" just to show it doesn't matter. I hate using "they" for singular. It feels wrong. "It" would be okay, except it doesn't apply for people.
I think a simple way to perform the configuration for extra packages is to populate the list of packages to install at the beginning of the script in a variable and place it at the end of the pacstrap line.
I used EFISTUB for awhile but kept running into issues with the entries getting messed up by my motherboard and having to go back and disable secure boot, and re-add them. Not sure what was happening. Switching to systemd-boot seemed to solve it.
But it’s being used? Otherwise why is it installed as a dependency. Legitimately I’m confused.
if someone can exploit any vulnerabilities it does
The only problem with that is Python2 is no longer receiving bug fix or security updates.
You won’t get support from the Arch community if you install this way.
The wiki is just text. The lists are not populated from a database. You might find a popularity count for packages in the AUR but I don’t believe there is anything for compiled packages in the official repositories.
The package
snap-pacinstalls pacman hooks to do pre/post snapper snapshots on every pacman transaction.I suggest opening up discussion on the article’s talk page. Concerned contributors are more likely to see it there than here.
I use btrfs so I have snap-pac to take pre/post snapshots for every pacman transaction.
I also have it so that kernel modules are symlinked after a kernel upgrade so I don't have to restart right away:
The following checks for packages not in a sync database (I use aurutils so I keep all packages installed in a local database). This tells me if a maintainer silently removed a package from a repository:
The following tells me if I accidentally did a partial upgrade (just do pacman -Syu and choose "no" and then install package - that's a partial upgrade!) and have packages that need to be updated:
Backup boot partition before upgrading kernel (isn't on btrfs so snap-pac won't back up):
You'll get a partial upgrade this way by running
pacman -Syevery 15 minutes and then laterpacman -S <package>on the command line. Usecheckupdatesfrompacman-contrib.What does your configuration file for systemd-networkd contain?
You can do
expac -Q "%l %n"but it's all packages and not explicit. I would check out the manpage forexpac.You can use expac. Maybe something like:
It doesn't sync your local databases. If you do
pacman -Syand thenpacman -S *package*it's (potentially) a partial upgrade. If you docheckupdatesandpacman -S *package*it's not a partial upgrade.Thus, you can check which packages are going to be updated without risking a partial upgrade.
Tip: if you want to check for updates but not actually upgrade do
checkupdatesfrom thepacman-contribpackage. You avoid syncing your local databases and risking a partial upgrade if you are just looking and not installing.I don't think it's just "power users" who open up a terminal and do "pacman -Syu".
Can you format your code? It's hard to follow.
Also, what's the stuff you tried but didn't work?
Have you tried just using wpa_supplicant and dhcpcd, etc?
Are they the same version of gcc?
You're fine. Only issue is if you upgraded another package that had another conflicting file for some weird reason. That shouldn't happen.
That assumes you don't have any other upgrades with files that are going to be overwritten. If you've been updating correctly you probably don't, so it's probably fine.
Leave it to me to overcomplicate things! Yeah that is much simpler given I have the local repository.
Check out
man 5 btrfs. It looks likenodatacowimpliesnodatasum(disables data checksumming for new files). Because of this, compression is disabled. All files created undernodatacowalso have theNOCOWfile attribute set, which is what you do withchattr +C.You won't be able to mount some subvolumes with
nodatacowand others withdatacowif they are part of the same filesystem. See the note inMOUNT OPTIONSinman 5 btrfs."He" is used historically as genderless, although some people like to mix it up with "she" just to show it doesn't matter. I hate using "they" for singular. It feels wrong. "It" would be okay, except it doesn't apply for people.
I think a simple way to perform the configuration for extra packages is to populate the list of packages to install at the beginning of the script in a variable and place it at the end of the
pacstrapline.Can you share your script? What is your use case? Install to mulitple systems?