-> /var/lib/pacman/db.lck is present.
-> There may be another Pacman instance running. Waiting...
i been getting this a lot. no biggie sudo rm /var/lib/pacman/db.lck takes care of that.
but then as the update progresses i am now getting errors later in the upgrade process that upgrade is not possible because, you guessed it, /var/lib/pacman/db.lck is not present. lol. again not a big deal just rerun the update and it all sorts itself out. so i am just wondering what causes the issue though. is it my use of yay -Syu to run the upgrade that's the issue. is it because i'm using pamac-flatpak as a tool to notify me when updates become available. yes i am def running updates and installs from the terminal everytime. is it the use of flatpaks in general? Mostly it's just a curiosity on my part anyway.
Looks like an outstanding yay bug:
https://github.com/Jguer/yay/issues/2123 (https://github.com/Jguer/yay/issues/2123)
The message seems to come from yay:
https://github.com/Jguer/yay/commit/a565544712f599ec892765b37be97a1776c861ab (https://github.com/Jguer/yay/commit/a565544712f599ec892765b37be97a1776c861ab)
You could add your results to that bug, or try an alternative aur helper. According to the bug it has been tagged as help needed and good first issue, so you could even try and fix it yourself if you wanted. ;)
My analysis clearly indicates that yay refuses my polite request to ‘please excuse my dear aunt sally’
https://www.youtube.com/watch?v=Ubl4Fcs5uQs (https://www.youtube.com/watch?v=Ubl4Fcs5uQs)
???
Not surprising yay gets confused if that's what you are telling it to do ....
Well, we shouldn’t be such gossips about my poor aunt sally. No matter what she’s done PEMDAS still re excellent rules for the order of operations.
Oh, PEMDAS, interesting - hadn't heard of that mnemonic before, I thought you'd been spending too much time talking to your cats! :D
My cats are great conversationalists!
Must be an amercian thing. they been using it since forever. the were using it in high school alegbra 45 years ago and still today according to youtube videos.
BODMAS was what I learned.
Then BEDMAS
I should probably just have paid more attention in class, apologies to my poor long suffering maths teachers! I remember some discussion on the subject but can only recall that using a calculator was a good idea, also using brackets would make things obvious, and avoid the problem in the first place.
In fact you are not as far from understanding computer programming as you might imagine though, because a slight expansion of that gives the order of precedence for evaluating functions in code:
https://www.eecs.northwestern.edu/~wkliao/op-prec.htm (https://www.eecs.northwestern.edu/~wkliao/op-prec.htm)