Red Hat Bugzilla – Bug 243581
Pirut forgets dependencies if dep dialog canceled
Last modified: 2007-11-30 17:12:07 EST
Description of problem:
Pirut fails to install dependencies if you Cancel out of the "Dependencies
added" dialog. I rarely use the GUI utils, and I got bit when I did. I tried to
"GO BACK" to install more packages, but discovered that each time you cancel the
dependency dialog it forgets the previous depcheck list for your selected
packages and only calculates a deplist for the new selection, but then proceeds
to install without deps anyway. I imagine that a LOT of people have been bit by
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run pirut
2. find an app to install which includes some deps which are not already
installed on your system. for this example: "apollon" depends on "gift", so yum
remove both if they're already installed, then select only "apollon" for install.
3. click Apply
4. click Continue in the 'Package selections' dialog
5. click Cancel in the 'Dependencies added' dialog
6. optionally, choose other apps with or without deps to install.
7. click Apply
8. note that newly calculated deps in the 'Deps added' dialog (if necessary) do
NOT include the deps for the previous apps you selected, but the apps minus deps
are installed anyway.
dependencies are not installed so apps fail in interesting ways, missing libs, etc.
cmdline yum doesn't allow you to force an install without deps (though rpm
does), so pirut *especially* should not.
The same happen if "No more mirrors to try" solving dependencies (go back to
pirut window, press apply again and packages install without needed
dependencies). Why "rpm engine" eat these packages too?
*** This bug has been marked as a duplicate of 242368 ***