Bug 259021
Summary: | Yum downloading rpms for wrong architecture | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dhaval Giani <dhaval.giani> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 8 | CC: | james.antill, manuelmongeg, pmatilai, swarren, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-03-12 14:37:02 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: |
Description
Dhaval Giani
2007-08-28 04:31:38 UTC
small correction. The actual results case fails because of conflicts (i686 kernel conflicts with the i586 kernel). The expected result should be that the i686 module should be downloaded and installed. What is in /etc/rpm/platform? [dhaval@gondor ~]$ cat /etc/rpm/platform i686-redhat-linux [dhaval@gondor ~]$ Could you also provide: yum list installed kernel [dhaval@gondor ~]$ yum list installed kernel Installed Packages kernel.i686 2.6.22.5-76.fc7 installed kernel.i686 2.6.22.4-65.fc7 installed [dhaval@gondor ~]$ I assume that I'm having the same issue. I did a fairly standard F8 install, this this: yum install kernel-devel I ended up with this: rpm -q --queryformat %-{name}-%{version}-%{release}-%{arch}"\n" \ kernel kernel-devel kernel-2.6.23.1-42.fc8-i586 kernel-devel-2.6.23.1-42.fc8-i686 [swarren@esk ~]$ cat /etc/rpm/platform i686-redhat-linux So now, /lib/modules/`uname -r`/build points at a non-existent directory. [root@gondor ~]# yum install xorg-x11-drv-fglrx Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package xorg-x11-drv-fglrx.i386 0:8.42.3-7.lvn8.1 set to be updated --> Processing Dependency: fglrx-kmod >= 8.42.3 for package: xorg-x11-drv-fglrx --> Processing Dependency: fglrx-kmod >= 8.42.3 for package: xorg-x11-drv-fglrx --> Running transaction check ---> Package kmod-fglrx-2.6.23.1-42.fc8.i586 0:8.42.3-7.lvn8 set to be updated --> Processing Dependency: kernel-i586 = 2.6.23.1-42.fc8 for package: kmod-fglrx-2.6.23.1-42.fc8 --> Running transaction check ---> Package kernel.i586 0:2.6.23.1-42.fc8 set to be updated --> Finished Dependency Resolution --> Running transaction check ---> Package kernel.i586 0:2.6.23.1-42.fc8 set to be installed ---> Package xorg-x11-drv-fglrx.i386 0:8.42.3-7.lvn8.1 set to be updated ---> Package kernel.i686 0:2.6.23.1-42.fc8 set to be erased ---> Package kmod-fglrx-2.6.23.1-42.fc8.i586 0:8.42.3-7.lvn8 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Removing: kernel i686 2.6.23.1-42.fc8 installed 45 M Installing for dependencies: kernel i586 2.6.23.1-42.fc8 fedora 16 M kmod-fglrx-2.6.23.1-42.fc8 i586 8.42.3-7.lvn8 livna 539 k xorg-x11-drv-fglrx i386 8.42.3-7.lvn8.1 livna 13 M Transaction Summary ============================================================================= Install 3 Package(s) Update 0 Package(s) Remove 1 Package(s) Total download size: 29 M Is this ok [y/N]: n Exiting on user Command Complete! [root@gondor ~]# This I just got on F8. So it still exists. Can you test yum 3.2.8-1 that's in updates-testing right now? I think it might have the desired result. thanks tested with yum 3.2.8-1. Same results and once again: yum list installed kernel\* just to be sure your system hasn't been polluted already. [dhaval@gondor ~]$ yum list installed kernel\* Installed Packages kernel.i686 2.6.23.1-42.fc8 installed kernel.i686 2.6.23.1-49.fc8 installed kernel-debug.i686 2.6.23.1-42.fc8 installed kernel-debug.i686 2.6.23.1-49.fc8 installed kernel-debug-devel.i686 2.6.23.1-49.fc8 installed kernel-debug-devel.i686 2.6.23.1-42.fc8 installed kernel-devel.i686 2.6.23.1-42.fc8 installed kernel-devel.i686 2.6.23.1-49.fc8 installed kernel-headers.i386 2.6.23.1-49.fc8 installed [dhaval@gondor ~]$ I think I had a similar problem. After the installation of Fedora 8 all the kernel updates were for i586 but my machine is i686. I didn't check which kernel arch was originally installed, but I assume it was i586 as /etc/yum.conf have exactarch=1. That wrong kernel arch choosing gave me a lot of problems installing (non prebuild, but compiled) kernel modules (nvidia, vmware) because the modules could not be loaded. Until yesterday thanks to giving up and trying to install prebuild nvidia modules from livna I realized I had the wrong kernel arch installed. Tell me if this is the same bug or if I must fill a new bug entry. okay, I think we solved this when we moved a bunch of code out of yum-cli for the code in yum/__init__.py Could either of you test the above cases with yum 3.2.12 from rawhide? I believe we've fixed this. If not, please reopen. thanks I tried to test the new yum, but wanted to reproduce the original problem first, to make sure I was actually testing it. However, even yum-3.2.8.2.fc8.noarch is working correctly for me right now. Is it still worth me testing this new yum, to confirm it still works? Yes, either way it is worth a shot. |