Bug 1160004
| Summary: | Cannot install older kernel | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaroslav Škarvada <jskarvad> |
| Component: | dnf | Assignee: | Michal Luscon <mluscon> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 20 | CC: | akozumpl, jsilhan, jskarvad, mluscon, pnemade, rholy, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-20 11:03:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jaroslav Škarvada
2014-11-03 20:50:57 UTC
Thanks for the report. Can you try it with downgrade command with `--allowerasing` option, in f21 if you can, please? or upload dubugdata [1]. [1] http://dnf.baseurl.org/2013/11/25/reporting-depsolving-bugs/ Tried on latest Fedora 21, dnf-0.6.2-1.fc21.noarch and the following seems also weird: # dnf list kernel Copr repo for mst owned by airlied 171 kB/s | 566 kB 00:03 Installed Packages kernel.x86_64 3.8.13-100.fc17 @System kernel.x86_64 3.9.4-300.fc19 @System kernel.x86_64 3.17.2-300.fc21 @System kernel-core.x86_64 3.17.2-300.fc21 @System # dnf install 'https://kojipkgs.fedoraproject.org//packages/kernel/3.17.1/304.fc21/x86_64/kernel-3.17.1-304.fc21.x86_64.rpm' Package kernel-3.8.13-100.fc17.x86_64 is already installed, skipping. Error: Nothing to do. Yum shows problems (at least): # yum install 'https://kojipkgs.fedoraproject.org//packages/kernel/3.17.1/304.fc21/x86_64/kernel-3.17.1-304.fc21.x86_64.rpm' ... Error: Package: kernel-3.17.1-304.fc21.x86_64 (/kernel-3.17.1-304.fc21.x86_64) Requires: kernel-modules-uname-r = 3.17.1-304.fc21.x86_64 Installed: kernel-modules-3.17.2-300.fc21.x86_64 (installed) kernel-modules-uname-r = 3.17.2-300.fc21.x86_64 Available: kernel-modules-3.16.1-301.mst.fc21.x86_64 (airlied-mst) kernel-modules-uname-r = 3.16.1-301.mst.fc21.x86_64 Error: Package: kernel-3.17.1-304.fc21.x86_64 (/kernel-3.17.1-304.fc21.x86_64) Requires: kernel-core-uname-r = 3.17.1-304.fc21.x86_64 Installed: kernel-core-3.17.2-300.fc21.x86_64 (installed) kernel-core-uname-r = 3.17.2-300.fc21.x86_64 Available: kernel-core-3.16.1-301.mst.fc21.x86_64 (airlied-mst) kernel-core-uname-r = 3.16.1-301.mst.fc21.x86_64 Btw by doing dnf autocomplete the following error shows up: # dnf install ./kercut: you must specify a list of bytes, characters, or fields Try 'cut --help' for more information. "cut: you must specify a list of bytes, characters, or fields Try 'cut --help' for more information." I will probably open another bug for the autocomplete problem. By using all the deps: # dnf install ./kernel-3.17.1-304.fc21.x86_64.rpm ./kernel-core-3.17.1-304.fc21.x86_64.rpm ./kernel-modules-3.17.1-304.fc21.x86_64.rpm Package kernel-3.8.13-100.fc17.x86_64 is already installed, skipping. Package kernel-core-3.17.2-300.fc21.x86_64 is already installed, skipping. Package kernel-modules-3.17.2-300.fc21.x86_64 is already installed, skipping. Error: Nothing to do. Yum has no problem with this. I will provide debug data for this and the previous problem in the next comment. The --debugsolver option didn't create any debug directory for the previous command. I will try downgrading with --allowerasing. So I put the system to the following state (by using yum):
# dnf list kernel
Installed Packages
kernel.x86_64 3.17.0-301.fc21 @System
kernel.x86_64 3.17.1-304.fc21 @System
kernel.x86_64 3.17.2-300.fc21 @System
kernel-core.x86_64 3.17.0-301.fc21 @System
kernel-core.x86_64 3.17.1-304.fc21 @System
kernel-core.x86_64 3.17.2-300.fc21 @System
Available Packages
kernel.src 3.16.1-301.mst.fc21 airlied-mst
kernel-debug-core.x86_64 3.17.2-300.fc21 fedora
# dnf install kernel-3.16.1-301.mst.fc21
Error: conflicting requests
# dnf downgrade --allowerasing kernel-3.16.1-301.mst.fc21
No match for available package: kernel-3.16.1-301.mst.fc21.src
No match for available package: kernel-3.16.1-301.mst.fc21.x86_64
Error: Nothing to do.
# yum install kernel-3.16.1-301.mst.fc21
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.16.1-301.mst.fc21 will be installed
--> Processing Dependency: kernel-core-uname-r = 3.16.1-301.mst.fc21.x86_64 for package: kernel-3.16.1-301.mst.fc21.x86_64
--> Processing Dependency: kernel-modules-uname-r = 3.16.1-301.mst.fc21.x86_64 for package: kernel-3.16.1-301.mst.fc21.x86_64
--> Running transaction check
---> Package kernel-core.x86_64 0:3.16.1-301.mst.fc21 will be installed
---> Package kernel-modules.x86_64 0:3.16.1-301.mst.fc21 will be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:3.17.0-301.fc21 will be erased
---> Package kernel-core.x86_64 0:3.17.0-301.fc21 will be erased
---> Package kernel-modules.x86_64 0:3.17.0-301.fc21 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
kernel x86_64 3.16.1-301.mst.fc21 airlied-mst 35 k
Removing:
kernel x86_64 3.17.0-301.fc21 @/kernel-3.17.0-301.fc21.x86_64
0.0
kernel-core x86_64 3.17.0-301.fc21 @/kernel-core-3.17.0-301.fc21.x86_64
40 M
kernel-modules x86_64 3.17.0-301.fc21 @/kernel-modules-3.17.0-301.fc21.x86_64
17 M
Installing for dependencies:
kernel-core x86_64 3.16.1-301.mst.fc21 airlied-mst 18 M
kernel-modules x86_64 3.16.1-301.mst.fc21 airlied-mst 17 M
Transaction Summary
================================================================================
Install 1 Package (+2 Dependent packages)
Remove 3 Packages
Total download size: 35 M
Is this ok [y/d/N]:
> Btw by doing dnf autocomplete the following error shows up: > # dnf install ./kercut: you must specify a list of bytes, characters, or > fields > Try 'cut --help' for more information. > > "cut: you must specify a list of bytes, characters, or fields > Try 'cut --help' for more information." > > I will probably open another bug for the autocomplete problem. > Reported as bug 1160744 Thanks for the report. IMO dnf couldn't find package because of (In reply to Jaroslav Škarvada from comment #4) > # dnf downgrade --allowerasing kernel-3.16.1-301.mst.fc21 > No match for available package: kernel-3.16.1-301.mst.fc21.src > No match for available package: kernel-3.16.1-301.mst.fc21.x86_64 > Error: Nothing to do. This is weird. Can you attach /var/cache/dnf archive (especially airlied-mst.solv and @System.solv), please? Unfortunately the archive is too big to be attached to bugzilla, so linking it: https://fedorapeople.org/~jskarvad/dnf/dnf.tar.xz FTR: according to the expected behavior of the "install" command, "dnf install" should do what Jaroslav wants in this case. (Just to make clear that the problem is not just with the "downgrade" command.) *** This bug has been marked as a duplicate of bug 1177074 *** |