Skip to main content
Topic: so there's a minor blip that means little regarding pacman db.lck file (Read 749 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

so there's a minor blip that means little regarding pacman db.lck file

Code: [Select]
-> /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.
Cat Herders of Linux

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #1
Looks like an outstanding yay bug:
https://github.com/Jguer/yay/issues/2123

The message seems to come from yay:
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.  ;)

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #2
Looks like an outstanding yay bug:
https://github.com/Jguer/yay/issues/2123

The message seems to come from yay:
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’



Cat Herders of Linux

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #3
Video Preview Image

 ???

Not surprising yay gets confused if that's what you are telling it to do ....

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #4
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. 
Cat Herders of Linux

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #5
Oh, PEMDAS, interesting - hadn't heard of that mnemonic before, I thought you'd been spending too much time talking to your cats!  :D

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #6
My cats are great conversationalists!
Cat Herders of Linux

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #7
Oh, PEMDAS, interesting - hadn't heard of that mnemonic before, I thought you'd been spending too much time talking to your cats!  :D
  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.
Cat Herders of Linux

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #8
BODMAS was what I learned.

Then BEDMAS

Re: so there's a minor blip that means little regarding pacman db.lck file

Reply #9
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

 
Artix forum uses a single cookie to remember youOK