Bug 330711
Summary: | kernel packages that remain installed seem to be ignored in yum transaction check | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thorsten Leemhuis <fedora> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | urgent | ||
Version: | 8 | CC: | adrin.jalali, belegdol, bjorn, bmillett, braden, dhaval.giani, djuran, ffesti, ianburrell, ihok, james.antill, jp, jtravnick, landonmkelsey, ma, mishu, musuruan, pmatilai, rc040203, redhat_bugzilla, rodd, s.adam, tim.lauridsen, t.matsuu, tmz, ville.skytta |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.2.8-1.fc8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-12-04 21:41:10 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: | |||
Bug Depends On: | |||
Bug Blocks: | 235704 | ||
Attachments: |
Description
Thorsten Leemhuis
2007-10-13 15:31:43 UTC
Created attachment 226441 [details]
more detailed output of reported scenario created with "yum -d 9 update"
I think I've seen this same problem before when a package (a kmdl) had a requirement on /boot/vmlinuz-<kernel_ver>. Once the kernel package was no longer in the repository, yum would complain about a missing dependency, even though "rpm -q --whatprovides /boot/vmlinuz-<kernel_ver>" clearly showed the dep could be satisfied from the package on disk. okay I think I know what's going on. We're adding the kernel as an update when it is really an install. The old kernel is being added as 'being updated' so the depsolver is looking at it like it needs to be removed. I'm looking into it a bit deeper but I'm pretty sure that's the case. If you can test it try installing the newer kernel specifically: yum install kernel-2.6.23-6.fc8 see if it complains, too. it might - but I'd be curious to know. (In reply to comment #3) > okay I think I know what's going on. We're adding the kernel as an update when > it is really an install. The old kernel is being added as 'being updated' so the > depsolver is looking at it like it needs to be removed. Yeah, that could be it. > If you can test it try installing the newer kernel specifically: > yum install kernel-2.6.23-6.fc8 > see if it complains, too. > it might - but I'd be curious to know. It does: [thl@ankh-morpork ~]$ yum install kernel-2.6.23-6.fc8 Loading "refresh-updatesd" plugin You need to be root to perform this command. [thl@ankh-morpork ~]$ sudo yum install kernel-2.6.23-6.fc8 Loading "refresh-updatesd" plugin livna-development 100% |=========================| 2.1 kB 00:00 development 100% |=========================| 2.1 kB 00:00 Excluding Packages in global exclude list Finished Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package kernel.x86_64 0:2.6.23-6.fc8 set to be updated --> Processing Dependency: kernel-x86_64 = 2.6.23-0.224.rc9.git6.fc8 for package: kmod-ntfs-2.6.23-0.224.rc9.git6.fc8 --> Finished Dependency Resolution Error: Missing Dependency: kernel-x86_64 = 2.6.23-0.224.rc9.git6.fc8 is needed by package kmod-ntfs-2.6.23-0.224.rc9.git6.fc8 Unable to send message to yum-updatesd Confirmed: [root@snowball jsikorski]# yum install kernel-2.6.23-6.fc8 Loading "skip-broken" plugin Loading "fastestmirror" plugin Loading "fedorakmod" plugin Loading "refresh-updatesd" plugin Existing lock /var/run/yum.pid: another copy is running as pid 14849. Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit... Loading mirror speeds from cached hostfile Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package kernel.x86_64 0:2.6.23-6.fc8 set to be updated --> Processing Dependency: kernel-x86_64 = 2.6.23-5.fc8 for package: kmod-nvidia-2.6.23-5.fc8 --> Finished Dependency Resolution --> Running transaction check ---> Package kernel.x86_64 0:2.6.23-6.fc8 set to be installed --> Processing Dependency: kernel-x86_64 = 2.6.23-5.fc8 for package: kmod-nvidia-2.6.23-5.fc8 ---> Package kernel.x86_64 0:2.6.23-0.222.rc9.git4.fc8 set to be erased --> Finished Dependency Resolution Error: Missing Dependency: kernel-x86_64 = 2.6.23-5.fc8 is needed by package kmod-nvidia-2.6.23-5.fc8 [root@snowball jsikorski]# Another recent report in a external bugzilla from a add-on repo; yum output can be found in http://bugzilla.livna.org/attachment.cgi?id=407 And another one: http://bugzilla.livna.org/show_bug.cgi?id=1708 devel is F8 now, so updating version to F8, as thats where most people will get into trouble due to this bug; *** Bug 374711 has been marked as a duplicate of this bug. *** *** Bug 362071 has been marked as a duplicate of this bug. *** *** Bug 375421 has been marked as a duplicate of this bug. *** See Bug 374711 comment #1. Is the severity low? I guess this bug also occurs in kmod-em8300 and kmod-sysprof packages that is distributed by Fedora. Same issue with kmod-fglrx # yum update Loading "priorities" plugin 0 packages excluded due to repository priority protections Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package kmod-fglrx.x86_64 0:8.42.3-8.lvn8 set to be updated --> Processing Dependency: kmod-fglrx-2.6.23.1-49.fc8 for package: kmod-fglrx ---> Package kernel.x86_64 0:2.6.23.1-49.fc8 set to be updated --> Processing Dependency: kernel-x86_64 = 2.6.23.1-42.fc8 for package: kmod-fglrx-2.6.23.1-42.fc8 --> Running transaction check ---> Package kmod-fglrx-2.6.23.1-49.fc8.x86_64 0:8.42.3-8.lvn8 set to be updated --> Processing Dependency: kernel-x86_64 = 2.6.23.1-42.fc8 for package: kmod-fglrx-2.6.23.1-42.fc8 --> Processing Dependency: /boot/vmlinuz-2.6.23.1-42.fc8 for package: gspcav1-kmdl-2.6.23.1-42.fc8 --> Finished Dependency Resolution Error: Missing Dependency: kernel-x86_64 = 2.6.23.1-42.fc8 is needed by package kmod-fglrx-2.6.23.1-42.fc8 Error: Missing Dependency: /boot/vmlinuz-2.6.23.1-42.fc8 is needed by package gspcav1-kmdl-2.6.23.1-42.fc8 Could somebody with power please change priority to high as it prevents several people from updating their kernels and associated modules. Thanks in advance This fixed it for me! http://thorstenl.blogspot.com/2007/11/problems-updating-kernels-and-kmods.html afterwards I had to do a yum install kmod-nvidia Let's be clear about this. The solution above isn't a 'fix'. It's a hack to work around the problem. Here's hoping this bug is actually being worked on, rather than just bitched about. Created attachment 273211 [details]
patch to yum - should let it properly add special pkgs like kernels and kernel-modules to ts for depsolving
I've attached a patch that I'd love some testing on. I _think_ it should work.
(In reply to comment #18) > I've attached a patch that I'd love some testing on. I _think_ it should work. did some testing (applied patch on top of what's in CVS for F8) and afaics it fixes the issue. thx skvidal! more testing is welcome - but this has been checked into upstream yum and it'll be in yum 3.2.8. which, barring anything unforeseen, will be out sooner than later. *** Bug 411091 has been marked as a duplicate of this bug. *** *** Bug 411541 has been marked as a duplicate of this bug. *** Just to confirm, 3.2.8 will be targeted at f8? Yes, it is already in updates-testing. I've just grabbed yum-3.2.8-2.fc8 from koji and then used it to update f8 with nvidia packages from livna which weren't working after a recent kernel update and older (current) yum for f8. Does that make sense. I can confirm that this fix works. yum-3.2.8-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum' yum-3.2.8-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. I can also confirm that it seems to work well. *** Bug 249194 has been marked as a duplicate of this bug. *** *** Bug 400881 has been marked as a duplicate of this bug. *** I just ran yum update yum and did not get 3.2.8-1: # yum list yum Installed Packages yum.noarch 3.2.7-2.fc8 installed Then you probably are not contacting a current mirror. Run: yum --enablerepo=updates-testing update yum I also tried yum update yum and am not getting 3.2.8.1 [root@localhost ~]# yum list yum Installed Packages yum.noarch 3.2.7-2.fc8 installed [root@localhost ~]# yum update yum Setting up Update Process Could not find update match for yum No Packages marked for Update [root@localhost ~]# yum --enablerepo=updates-testing update yum updates-testing 100% |=========================| 2.3 kB 00:00 primary.sqlite.bz2 100% |=========================| 162 kB 00:00 Setting up Update Process Could not find update match for yum No Packages marked for Update [root@localhost ~]# yum list yum Installed Packages yum.noarch 3.2.7-2.fc8 installed [root@localhost ~]# When is this going to get fixed? I cant update my system anymore. (In reply to comment #32) > Then you probably are not contacting a current mirror. it's not there (yet?) afaics: http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/8/x86_64/ The pushes happen only seldom (once a week most of the time afaics), that's afaics why it's not in the repos. According to #27 it should be in stable repository. Then get it out of koji: http://koji.fedoraproject.org/packages/yum/3.2.8/2.fc8/noarch/yum-3.2.8-2.fc8.noarch.rpm |