Installed package is newer than repo

sudo pacman -Syuw                                                                                      
[sudo] password for *****: 
:: Synchronizing package databases...
:: Starting full system upgrade...
warning: manjaro-hello: local (0.7.0-6) is newer than extra (0.7.0-5)

Not sure how did this happen. How do I fix this?

sudo pacman -Syu manjaro-hello

:wink:

1 Like

That command is downgrading:

$ sudo pacman -Syu manjaro-hello
[sudo] password for philip: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                                               7,0 MiB  1418 KiB/s 00:05 [####################################################################] 100%
 multilib is up to date
warning: downgrading package manjaro-hello (0.7.0-6 => 0.7.0-5)
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) manjaro-hello-0.7.0-5

Total Installed Size:  0,37 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n]

Indeed. Problem solved.

But is it not better to have the upgraded version of the file ?

0.7.0.6 must be better than 0.7.0.5 or not ?

Do you want the ‘bigger number’ or the one that matches the repositories?

1 Like

0.7.0-5 is the latest version. 0.7.0-6 was pushed by mistake, I believe.

Well, that explains alot. Thanks !

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