I was wondering what could cause the above message and what I can do to fix it. It occurs intermittently when running “pacman -Syu” at the commandline. I’m not sure if there’s a relationship with this and running pamac just before opening a terminal.
I’ve only seen this message since recently installing Antergos, I never saw it with “Vanilla Arch” but then I never used pamac before either, and am I wondering if this is a true pacman problem or something that pamac causes and which pacman cannot fix when run in the terminal. I’m not sure why it’s intermittent, perhaps it’s affected by logging out/rebooting.
As a warning it doesn’t prevent me from doing anything, but if it’s something I can fix (even by just not using pamac), then I’d like to
I just rebooted, opened a terminal and ran pacman, and the warning was gone. Then I immediately ran the pamac updater, then ran pacman in the terminal again, and then the warning showed up again. I guess pamac is removing the lock, but I don’t understand why pacman is not reinsating the lock if it requires a lock. I know in the past on “Vanilla Arch” I’ve had to manually remove a lock myself (possibly after an unclean exit of pacman in the terminal by me), but thereafter I don’t recall ever seeing a warning about a missing lock file (perhaps I just didn’t run pacman again before a reboot, not sure).