Bug 474139

Summary: unfinished transactions will cause removing half of system
Product: [Fedora] Fedora Reporter: Marcela Mašláňová <mmaslano>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 10CC: ffesti, james.antill, katzj, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-21 17:48:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
output from stderr none

Description Marcela Mašláňová 2008-12-02 12:58:51 UTC
Yum offered me to run 'yum-complete-transaction'. I tried it, but it decided remove  half of my system. Now is yum trying to remove half of system, when I want remove one package. The problem is not occurring every time. Also I try run yum clean all, but that doesn't help.

Reproducer:
1. yum remove cronie (it's really important not to use yum -y :-) )
2. press N
3. output is attachment

rpm -q rpm
rpm-4.6.0-0.rc1.7.x86_64
rpm -q yum
yum-3.2.20-3.fc10.noarch

Comment 1 Marcela Mašláňová 2008-12-02 12:59:56 UTC
Created attachment 325367 [details]
output from stderr

Comment 2 James Antill 2008-12-02 15:33:55 UTC
 The yum-complete-transaction problem, might be interesting and is likely to be fixed ... but this isn't, it's a simple list of requirements.

---> Package cronie.x86_64 0:1.2-5.fc11 set to be erased                                                              
--> Processing Dependency: cronie for package: crontabs                                                               
--> Running transaction check                                                                                         
---> Package crontabs.noarch 0:1.10-26.fc11 set to be erased                                                          
--> Processing Dependency: crontabs for package: rpm                                               

...so here because you removed cronie, crontabs is going away (as it requires something cronie provides) and because crontabs is being removed rpm is going away (as it requires something crontabs provides) ... at which point a lot of stuff will go with rpm, and the box is useless.

Comment 3 seth vidal 2009-01-21 17:48:14 UTC
I'd need more info - but I'm doubtful about the yum-complete-transaction issue.

Given the circumstances, though, I'm going to close this.