Bug 715055 - Gnome-packagekit claims packages are already installed when not.
Summary: Gnome-packagekit claims packages are already installed when not.
Keywords:
Status: CLOSED DUPLICATE of bug 710406
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnome-packagekit
Version: 6.1
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-21 18:02 UTC by Ryan Stanyan
Modified: 2014-05-20 09:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-20 09:21:01 UTC
Target Upstream Version:


Attachments (Terms of Use)
Packagekit notification icon (3.91 KB, image/png)
2011-08-15 20:32 UTC, Ryan Stanyan
no flags Details
Package manager messages (20.16 KB, image/png)
2011-08-15 20:33 UTC, Ryan Stanyan
no flags Details
Installation error message generated in Add/Remove Software (16.43 KB, image/png)
2011-08-15 20:34 UTC, Ryan Stanyan
no flags Details
Transaction error on updates. (12.99 KB, image/png)
2011-08-16 18:55 UTC, Ryan Stanyan
no flags Details

Description Ryan Stanyan 2011-06-21 18:02:15 UTC
Description of problem:
Gnome-packagekit will not install software from Red Hat repositories.  Any other repository installed will act correctly.  When attempting to install a package, the manager outputs an error window stating that "All packages are already installed."  This problem only occurs with packages from official Red Hat repositories.  The CLI interface for yum works correctly, and logging into a Gnome session as root and using the GUI interface works correctly.

Version-Release number of selected component (if applicable):
gnome-packagekit-2.28.3-3.el6

How reproducible:
Open Add/Remove software and try to install something from the RHN repos.
  
Actual results:
Error dialogue saying packages already installed after privilege escalation. 


Expected results:
Installation of packages.

Additional info:

Comment 2 o.h.weiergraeber 2011-06-21 21:27:47 UTC
I also observed this bug. For me, installation from the base channel always worked as expected, but after enabling the "optional" channel and trying to install the development versions of certain libraries (the standard versions of which belong to the base channel), I got the erroneous message that the packages were already installed.
And yes, in all cases yum did the job without any problem ;)

Comment 3 Ryan Stanyan 2011-06-21 21:46:59 UTC
I am noticing that I can get packages from the RHN repos using the GUI this afternoon.  Does gnome-packagekit sync to the repos at different times?

Comment 4 RHEL Program Management 2011-07-06 01:33:33 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 5 Ryan Stanyan 2011-08-13 01:18:19 UTC
I know the desktop/workstation segment isn't as high a priority as the server market, but having a front-end you supply to a package manager you supply work right with your repositories might be a good idea.

Comment 6 Richard Hughes 2011-08-15 11:15:00 UTC
(In reply to comment #5)
> I know the desktop/workstation segment isn't as high a priority as the server
> market, but having a front-end you supply to a package manager you supply work
> right with your repositories might be a good idea.

Could you supply more details perhaps? What repos have you got enabled? What's the error message in the client? What version packages are installed? What packages and versions are you trying to install? Any screenshots?

Comment 7 Ryan Stanyan 2011-08-15 20:32:55 UTC
Created attachment 518329 [details]
Packagekit notification icon

Comment 8 Ryan Stanyan 2011-08-15 20:33:28 UTC
Created attachment 518330 [details]
Package manager messages

Comment 9 Ryan Stanyan 2011-08-15 20:34:08 UTC
Created attachment 518331 [details]
Installation error message generated in Add/Remove Software

Comment 10 Ryan Stanyan 2011-08-15 20:35:25 UTC
Sorry, no snark intended.  However it is a bit worrying when the desktop package manager/updater says it can't find a package in the official repositories.

The problem is that gnome-packagekit doesn't work right with the RHN Workstation repositories from the start.  I have EPEL, RPMForge, and Google Chrome in my extra repositories, but this issue came up before adding them.  These other repositories function appropriately.

Two things typically occur:

1) During an update scenario(this is the most noisy of the two in this  
   problem), with the update notification icon will often come the package  
   manager status icon as seen in 'Notification.png'.  The updater will 
   install whatever it has two and then exit normally.  However, it will 
   still have update notification icon present with the package manager 
   icon.  The messages in the package manger notification look much like 
   what you would see in 'Screenshot-Package Manger Messages.png'.  
   Thankfully, while it is louder than the second scenario, it is rarer.

2) Adding software in the Add/Remove Software program generates an "All  
   packages are already installed" error dialog box as seen in 'Screenshot-
   Untitled Window.png'.  This will also cause the notification icon to 
   display messages like what was seen in 'Screenshot-Package Manager 
   Messages.png'.

Both can typically be resolved using yum in a console window.

Also, curiously, running Gnome as root and performing these two actions does not generate the error.

There is bound to be more information I can find but this is a start.

Comment 11 Ryan Stanyan 2011-08-16 18:55:19 UTC
Created attachment 518555 [details]
Transaction error on updates.

Comment 12 Richard Hughes 2011-08-17 15:02:29 UTC
This looks a lot like https://bugzilla.redhat.com/show_bug.cgi?id=710406

Comment 13 Ryan Stanyan 2011-08-23 03:14:24 UTC
It does look like this bug is a duplicate of 710406.  Feel free to mark this as such.

Comment 14 Richard Hughes 2014-05-20 09:21:01 UTC

*** This bug has been marked as a duplicate of bug 710406 ***


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