Pamac Says I got 15 updates waiting but fails to update

Been searching thru old posts here and I’ve tried a few things but I cannot get Pamac working again. When I click the red shield in the system tray and search for updates it says the system is up to date. Any suggestions ?
thanks

In Pamac, update the Database (top right corner menu).

Thanks. Tried it. “Failed to Synchronize Databases”.

Open up a terminal window and issue the following commands… :point_down:

sudo pacman-mirrors && sudo pacman -Fy && sudo pacman -Syu && pamac update --force-refresh
1 Like

@Aragorn Thanks. Tried it. I still have the same problems. Pamac icon is red and indicates I have 15 updates available. When I run Pamac it doesn’t update anything and says the “System is up to date”. When I refresh the databases via Pamac it says “Unable to synchronize databases”.

Where you you live and which mirrors can you use ?

This in itself is normal, because the icon doesn’t know what you do in a terminal. If you right-click that icon and choose “Check for updates” — or whatever it’s called for pamac; I use octopi instead — then it should turn green, or disappear, or whatever it does.

Check whether you have a file /var/tmp/pamac/dbs/db.lck, and if it exists, delete it.

1 Like

Can you try to setup the mirror list correctly and try to update with
pacman -Syyu on console ?

@Aragorn , it appears I do not have the file db.lck in my pamac folder.

@Keruskerfuerst , I am located in central USA near St. Louis. My mirrorlist contents is below:

Country : Global

Server = https://mirrors.cicku.me/manjaro/stable/$repo/$arch

Country : Global

Server = https://mirrors2.manjaro.org/stable/$repo/$arch

Country : Global

Server = https://mirrors.manjaro.org/repo/stable/$repo/$arch

I’ll try the pacman -Syyu command and post the results.

I really appreciate you guy’s help. Been dealing with this for about 6 weeks now.
thanks

Here’s the results of the pacman -Syyu command:

Thanks for the help

If nothing else, this tells us you haven’t been managing your .pacnew files. Community repo was deprecated at least a year ago.

pacdiff -o

May be something in the pamac configuration file which needs to be updated.

cat /etc/pamac conf
cat /etc/pamac.conf.pacnew

Compare these two.

Also, what @Aragorn said about the notifier; use that to check again for updates after updating using the CLI.

2 Likes

Please do not post screenshots of terminal output. Copy the text with the mouse and paste it in between two lines of three backticks, like so… :point_down:

```

Output goes here

```

Also, as @BG405 said, tend to your .pacnew files — there are ample threads about it here at the forum.

Manjaro is not a set-and-forget distribution — it must be maintained.

1 Like