Bug 635156 - "Only newest packages" filter still shows older packages
Summary: "Only newest packages" filter still shows older packages
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 15
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 635282 (view as bug list)
Depends On:
Blocks: 835091
TreeView+ depends on / blocked
 
Reported: 2010-09-17 21:39 UTC by nicofo
Modified: 2012-08-07 19:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 835091 (view as bug list)
Environment:
Last Closed: 2012-08-07 19:39:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 251603 0 None None None Never

Description nicofo 2010-09-17 21:39:53 UTC
Description of problem:
When the "Only newest packages" filter is enabled, the packages list (after a
"Find by name" for instance) still shows 2 different versions of a same package
in some circumstances.

1) if the package is not installed: it works well (ie only the newest is
presented)
2) if the package is already installed: it presents the installed package AND
the previous version


Version-Release number of selected component (if applicable):
This happens with PackageKit-0.6.6-2.fc13.i686 (gnome or k- packagekit):
-gpk-application 2.30.3
-kpackagekit-0.6.1-1.fc13.i686


How reproducible: always
 

Expected Results:  
I think that packagekit should NOT display the PREVIOUS version of a package
if it is already installed in the latest version.

It should display 2 versions of a package only if:
1) the package is installed
2) a newer version is available


Additional info:
This bug has been reported on KDE bugzilla: their answer is:
"This is a bug of yum backend. Please report a bug against it."
see: https://bugs.kde.org/show_bug.cgi?id=251603

Comment 1 Rex Dieter 2011-02-03 14:23:38 UTC
*** Bug 635282 has been marked as a duplicate of this bug. ***

Comment 2 Bug Zapper 2011-05-31 13:13:32 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 nicofo 2011-06-10 18:23:57 UTC
Sorry, the bug is not closed, although something has change:

Before (fedora 13, comment #1) => "Only newest packages" had no effect: older and newer version were always shown
Now (fedora 15 ; yum-3.2.29-6) => "Only newest packages" still has no effect, but now the older versions are never shown !

Example: I search for firefox. The only result I get is: firefox 4.0.1-2 (installed ; from the Fedora Updates repository) ; but NOT firefox 4.0.1-1 (in the Fedora repository ; wich is of course enabled)

Conclusion: the "Only newest packages" filter still has no effect. Tested with gnome-packagekit, kpackagekit.
Rem: "yum list firefox" only shows firefox 4.0.1-2 (and not 4.0.1-1): I don't know if it is the expected behavior.

Comment 4 Richard Hughes 2012-02-02 09:27:05 UTC
Is this fixed on F16? It seems to work for me.

Comment 5 nicofo 2012-02-04 17:32:57 UTC
Well, it's not (although, as said in comment #3, it's different from comment #1).

The option "Only newest packages", if not activated, seems to have no effect on already installed package.
You can see it in the example below: 
- case 1) = I search for a package which is not installed => 2 results (=2 different versions) are found
- case 2) = I search for the same package which is now installed => the search results don't display the older package anymore

-----------------------------

case 1) "libmtp" package is NOT installed

a) $ pkcon search name libmtp --filter=newest
(...)
Available       libmtp-1.1.2-1.fc16.i686          A softwa...
Available       libmtp-devel-1.1.2-1.fc16.i686    Developm...
Available       libmtp-examples-1.1.2-1.fc16.i686 Example ...

b) $ pkcon search name libmtp
(...)
Available       libmtp-1.1.0-1.fc16.i686          A softwa...
Available       libmtp-1.1.2-1.fc16.i686          A softwa...
Available       libmtp-devel-1.1.0-1.fc16.i686    Developm...
Available       libmtp-devel-1.1.2-1.fc16.i686    Developm...
Available       libmtp-examples-1.1.0-1.fc16.i686 Example ...              
Available       libmtp-examples-1.1.2-1.fc16.i686 Example ...

-----------------------------

case 2) "libmtp" package is installed

a)  $ pkcon search name libmtp --filter=newest
Installed       libmtp-1.1.2-1.fc16.i686          A softwa...
Available       libmtp-devel-1.1.2-1.fc16.i686    Developm...
Available       libmtp-examples-1.1.2-1.fc16.i686 Example ...

b) $ pkcon search name libmtp
(...)
Installed       libmtp-1.1.2-1.fc16.i686          A softwa...
Available       libmtp-devel-1.1.0-1.fc16.i686    Developm...
Available       libmtp-devel-1.1.2-1.fc16.i686    Developm...
Available       libmtp-examples-1.1.0-1.fc16.i686 Example ...              
Available       libmtp-examples-1.1.2-1.fc16.i686 Example ...
======  older version libmtp-1.1.0-1.fc16.i686 is not shown anymore !! ======

Comment 6 Giovanni Tirloni 2012-06-22 19:44:30 UTC
Issue exists in RHEL 6.3 x86_64 too.

gnome-packagekit-2.28.3-3.el6.1.x86_64
gnome-packagekit-extra-2.28.3-3.el6.1.x86_64
PackageKit-0.5.8-20.el6.x86_64
PackageKit-browser-plugin-0.5.8-20.el6.x86_64
PackageKit-command-not-found-0.5.8-20.el6.x86_64
PackageKit-device-rebind-0.5.8-20.el6.x86_64
PackageKit-glib-0.5.8-20.el6.x86_64
PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64
PackageKit-gtk-module-0.5.8-20.el6.i686
PackageKit-gtk-module-0.5.8-20.el6.x86_64
PackageKit-yum-0.5.8-20.el6.x86_64
PackageKit-yum-plugin-0.5.8-20.el6.x86_64

Comment 7 Fedora End Of Life 2012-08-07 19:39:47 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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