Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4542 - pacman does not correctly understand package versions

Attached to Project: Arch Linux
Opened by Roberto Braga (Bobonov) - Sunday, 30 April 2006, 10:30 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Today I was doing a pacman -Syu but then upgrading some package per time instead doing all at one time.
pacman has say I have to upgrade fixesproto. If I do it as -Su option it is ok but if I do it as -S fixesproto it complain about the local version beeing more recent.

[root@yap ~]# pacman -Su

Targets: fixesproto-3.0.2-2 kernel26-2.6.16.11-1 mysql-5.0.20-2 php-5.1.2-3 squirrelmail-1.5.2cvs-2 udev-091-2

Total Package Size: 39.4 MB

Proceed with upgrade? [Y/n] n
[root@yap ~]# pacman -S fixesproto
:: fixesproto-4.0-1: local version is newer. Upgrade anyway? [Y/n] n

I think the problem is related to the sligtly different format of the version number, 4.0 -> 3.0.2
I guess that pacman get confuse in some way.
It is strange, it seem that by doing -Su option and -S <pkg name> it does not use the same function to determine the package version.

This task depends upon

Closed by  arjan timmerman (blaasvis)
Thursday, 25 May 2006, 14:00 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Sunday, 30 April 2006, 10:52 GMT
This is because I forgot to add a force flag to fixesproto. Usually pacman will tell you that your installed version is newer, but due to some conflicts on the newer version I added to libxfixes, pacman pulls in the "older" version anyways. When you pull in the "new" 3.0.2 version of fixesproto on its own, pacman checks on version number only.

Loading...