Bug 1014963 - Package.__lt__ and Package.__gt__ return incorrect results
Summary: Package.__lt__ and Package.__gt__ return incorrect results
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hawkey
Version: 20
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Radek Holy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 08:29 UTC by Heiko Adams
Modified: 2015-10-06 02:14 UTC (History)
6 users (show)

Fixed In Version: hawkey-0.4.7-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-21 02:30:19 UTC
Type: Bug


Attachments (Terms of Use)

Description Heiko Adams 2013-10-03 08:29:46 UTC
Description of problem:
When running dnf check-update the retrieved list of available update looks unsorted but it should be sorted alphabeticly for easier handling.

Version-Release number of selected component (if applicable):
dnf-0.4.2-1.gitc1716d7.fc20.noarch

How reproducible:
allways

Steps to Reproduce:
1. Open a terminal
2. run dnf check-update
3.

Actual results:
The retrieved list of available update is unsorted

Expected results:
The list of updates should be sorted alphabeticly

Additional info:

Comment 1 Ales Kozumplik 2013-10-03 10:30:50 UTC
Hi, thanks for the report, we'll take a look.

Comment 2 Ales Kozumplik 2013-12-04 12:54:10 UTC
Radek please look at this one. I was thinking this would be a nice bug for a newcomer the one who was looking at it didn't solve it and it's been hanging around for 2 months now.

Comment 3 Radek Holy 2013-12-09 14:36:16 UTC
There is a bug in rich comparison methods of _hawkey.Package.

Comment 4 Radek Holy 2013-12-17 08:28:59 UTC
Fixed by 865274d31be436807693327d31d52385ba52cee4 on master.

Comment 5 Fedora Update System 2013-12-17 14:05:01 UTC
hawkey-0.4.7-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/hawkey-0.4.7-1.fc20

Comment 6 lnie 2013-12-18 03:56:52 UTC
0.4.7-1 works fine

Comment 7 Fedora Update System 2013-12-19 07:07:30 UTC
Package hawkey-0.4.7-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.4.7-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23543/hawkey-0.4.7-1.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-12-21 02:30:19 UTC
hawkey-0.4.7-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.