Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacman 5.0.1-1 is considered older than previous release #655

Closed
FraGag opened this issue Jul 15, 2016 · 2 comments
Closed

pacman 5.0.1-1 is considered older than previous release #655

FraGag opened this issue Jul 15, 2016 · 2 comments

Comments

@FraGag
Copy link

FraGag commented Jul 15, 2016

Commit 46945ff changed the package version from 5.0.1.6416.4ee6fd4-1 to 5.0.1-1. 5.0.1-1 is considered older than 5.0.1.6416.4ee6fd4-1, so pacman doesn't propose installing that version when performing a system upgrade. My local version is 5.0.1.6403.520736d-1, which exhibits the problem, though I believe 5.0.1.6416.4ee6fd4-1 would as well.

:: Starting core system upgrade...
warning: pacman: local (5.0.1.6403.520736d-1) is newer than msys (5.0.1-1)
warning: terminate other MSYS2 programs before proceeding
resolving dependencies...
looking for conflicting packages...

Packages (3) filesystem-2016.07-1  msys2-runtime-2.5.2-2  msys2-runtime-devel-2.5.2-2

Total Download Size:    5.80 MiB
Total Installed Size:  29.58 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n]
@elieux
Copy link
Member

elieux commented Jul 15, 2016

Did you find #566 when you were looking for reported issues? It mentions both the solution and reasons for this.

Generally speaking: Sometimes the package versions in the binary repositories are decremented. The recommended system update command for newer installations is pacman -Syuu, as per our updating instructions, which will also enable downgrades.

@elieux elieux closed this as completed Jul 15, 2016
@FraGag
Copy link
Author

FraGag commented Jul 15, 2016

On Arch Linux, when a package is downgraded in one of the main repos (core, extra, community), or when the version changes in a way that would be considered older by pacman's version comparison rules, the epoch is also incremented so that users don't have to do pacman -Syuu. This happened, for instance, with wpa_supplicant, which was rolled back from 2.4 to 2.3.

Arch Linux recommends using pacman -Syu, not pacman -Syuu to perform a system upgrade. Shouldn't MSYS2 work the same way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants