Bug 561928 - old kernel removal is still done, when kernel install i removed by skip-broken
Summary: old kernel removal is still done, when kernel install i removed by skip-broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-04 17:46 UTC by Flóki Pálsson
Modified: 2014-01-21 23:13 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-23 13:16:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
from yum log (14.57 KB, text/plain)
2010-02-04 17:46 UTC, Flóki Pálsson
no flags Details
yum --enablerepo=updates-testing --skip-broken -d9 update (6.93 KB, text/plain)
2010-02-05 21:15 UTC, Flóki Pálsson
no flags Details

Description Flóki Pálsson 2010-02-04 17:46:58 UTC
Created attachment 388851 [details]
from yum log

Description of problem:
yumex removes oldest kernel and new kernel not installed.
If yumex is used with option skip broken and there is dependency problems with new kernel, then new kernel is not installed but oldest kernel is removed.

Version-Release number of selected component (if applicable):
yumex-2.9.7-1.fc12.noarch
   

How reproducible:

Steps to Reproduce:
1.
use yumex with skip broken option to install new kernel with dependency problems. 
2.
3.
  
Actual results:
new kernel not installed
and oldest kernel removed.

Expected results:
oldest kernel not removed if new kernel is not installed.

Additional info:
se yom log in atthachment
08:07:56 : YUM: kernel-2.6.32.7-37.fc12.x86_64 from updates-testing has depsolving problems

08:07:56 : YUM:   --> Missing Dependency: xorg-x11-drv-ati-firmware is needed by package kernel-2.6.32.7-37.fc12.x86_64 (updates-testing)

08:09:32 : Erased kernel-2.6.31.5-127.fc12.x86_64

Comment 1 Tim Lauridsen 2010-02-05 05:46:07 UTC
Could you please run

yumex --debuglevel=9 

So it can see more yum debug information

could you also try to run

yum --enablerepo=updates-testing -d9 update 

to see if this happens in yum-cli also

Comment 2 Flóki Pálsson 2010-02-05 21:15:46 UTC
Created attachment 389200 [details]
yum --enablerepo=updates-testing --skip-broken  -d9  update

All repros where disabled except  test updates.
First all was updated except kernel.

then yum --enablerepo=updates-testing --skip-broken  -d9  update
see result in atthachment. 

old kernel was installed before 
Feb 05 20:37:23 Installed: kernel-2.6.31.5-127.fc12.x86_64
then after yum --enablerepo=updates-testing --skip-broken  -d9  update
kernel erased  
Feb 05 20:58:48 Erased: kernel

>to see if this happens in yum-cli also
yes

Comment 3 Tim Lauridsen 2010-02-07 06:47:01 UTC
ok, i will transfer it to yum and because it is something there need to be fixed at yum level.

Comment 4 Tim Lauridsen 2010-02-07 06:51:19 UTC
ok, the issue is that there is no relation by the  trueinstall kernel and the erase kernel.

TSINFO: Current Transaction : 2 member(s) 
  trueinstall : kernel-2.6.32.7-37.fc12.x86_64 
  erase       : kernel-2.6.31.5-127.fc12.x86_64 


so when the kernel installation is removed because of depsolve problems, then the old kernel erase don't get removed too.


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