Bug 216701 - installing a package from a newly installed yum repo is a bewildering experience
Summary: installing a package from a newly installed yum repo is a bewildering experience
Status: RESOLVED NOT A BUG
Alias: None
Product: kpackagekit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Steven M. Parrish
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 18:48 UTC by Oliver Henshaw
Modified: 2009-11-30 14:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Henshaw 2009-11-29 18:48:39 UTC
Version:           0.5.0.3-1.fc12 (using KDE 4.3.2)
OS:                Linux
Installed from:    Fedora RPMs

When I install a package for the first time from a newly installed yum repository (which involves trusting the new signing key) I get two sets of dialogues asking me to confirm the action and authenticate myself. If that wasn't trouble enough then I have to confirm and authenticate multiple times for each dialogue. Then I am told several times that authentication has failed, but find that the action did in fact complete.

I've reproduced this enough times on livecd boots that I'm fairly sure it's not just a matter of entering the wrong password. Note that I set the fedora livecd root password to non-blank due to https://bugzilla.redhat.comshow_bug.cgi?id=530456 .


Detailed report:

First, I installed the rpmfusion-free repo rpm using yum as root (see bug #214537).

Then I opened kpackagekit and tried to install a package from this repo (e.g. xine-lib-extras-freeworld). I confirmed the dependencies and kpackagekit downloaded all the packages. Then two dialogues appear: a wide dialogue appears asking if I want to trust the signature of the repo, and a smaller dialogue on top of that asking if I want to continue installing unsigned packages.

When I click to confirm the top dialogue I get a polkit window asking for the root password, and a similar thing happens with the dialogue for trusting the signing key. But then both dialogues pop up again, and I have to enter the root password another two times. If I take too long then the dialogues pop up again.

If I manage to get through this, I see several windows saying the actions could not be completed due to authentication problems. But when I get back to the package install view kpackagekit refreshes the search and I see that I have in fact installed the package.
Comment 1 Oliver Henshaw 2009-11-29 18:53:49 UTC
Correction, that fedora bz url should be https://bugzilla.redhat.com/show_bug.cgi?id=530456
Comment 2 Daniel Nicoletti 2009-11-30 14:43:21 UTC
KPackageKit does the right thing on this, which works on others backend there was tested with gnome-packagekit and the same problem happens and the guilt is
the yum backend that keep saying that it needs the auth.
Please test with gnome-packagekit and if you can't reproduce it there
tell me how to reproduce.