Tried to switch from stable to testing

Tried to switch from stable to testing and:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing ppp (2.5.1-1) breaks dependency 'ppp=2.5.0' required by networkmanager-l2tp
:: installing ppp (2.5.1-1) breaks dependency 'ppp=2.5.0' required by networkmanager-pptp

… by what command exactly?

Mirrors updated as well?

What commands did you run to switch branches? The correct method is:

sudo pacman-mirrors --api --set-branch testing

sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syu

Used Switching Branches - Manjaro to switch branches.
So it looks like I did the same thing you have described. I did it again (right now) and still the same result.
Strange… When I try to install e.g. pamac install networkmanager-l2tp:

Preparing...
Warning: networkmanager-l2tp-1.20.16-1 is up to date -- skipping
Nothing to do.
Transaction successfully finished.

but the newest version from testing should be 1.20.16-2.
pacman-mirrors -G:

testing

Try refreshing your Pamac databases first:

pamac update --force-refresh
1 Like

It worked like a charm! Thanks @scotty65 :slight_smile:

Maybe this command (and additional information) should be included in the instruction?
Can --force-refresh be achieved by pure pacman? I’m asking because instruction consider only usage of pacman.

No. Pacman stores its databases in /var/lib/pacman/sync/ while Pamac stores them in /var/tmp/pamac/dbs/sync/. Pamac GUI refreshes the databases automatically when installing or updating software, however Pamac CLI doesn’t. So, if you haven’t recently installed something via Pamac GUI, trying to install something via Pamac CLI may result in errors due to outdated databases unless force-refresh is used.

2 Likes

Yes.

sudo pacman -Syyu
1 Like

pamac update synchronises databases similar to pacman -yy option

$ pamac update
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====

==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...

Option --force-refresh also refreshes pamac /var/tmp/pamac/dbs/sync/ files

$ pamac update --force-refresh
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====

==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...
Refreshing core.db...                                                                                                   
Refreshing extra.db...                                                                                                  
Refreshing multilib.db...                                                                                               
Refreshing core.files...                                                                                                
Refreshing extra.files...                                                                                               
Refreshing multilib.files...
2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.