Bug 1269178

Summary: DNF can't do distro-sync while yum can
Product: [Fedora] Fedora Reporter: Andrew <travneff>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, tim.lauridsen, travneff, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-13 14:16:59 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:
Attachments:
Description Flags
yum log
none
dnf log none

Description Andrew 2015-10-06 14:12:39 UTC
I'd like to update F22 -> F23 with "dnf-3 distro-sync".
Have VBox modules self-compiled with akmods package.
Yum see some trouble with it but can proceed with --skip-broken.
DNF fails for all cases I know (both with allowerasing and not, best=false).
Specifying exclude seems not working because of rhbz #1253825

Full logs attached.


$ cat /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=true
best=false
deltarpm=true
debuglevel=3
keepcache=true
exclude=kmod-VirtualBox

# rpm -qa yum dnf\* hawkey libsolv
dnf-plugins-core-0.1.11-1.fc22.noarch
hawkey-0.6.0-1.fc22.x86_64
dnf-yum-1.1.1-2.fc22.noarch
dnf-conf-1.1.1-2.fc22.noarch
dnf-1.1.1-2.fc22.noarch
libsolv-0.6.11-2.fc22.x86_64
yum-3.4.3-505.fc22.noarch


*** yum (no skip-broken) ***

yum-deprecated --releasever=23 distro-sync --enablerepo=rpmfusion-free-rawhide --enablerepo=rpmfusion-nonfree-rawhide --disablerepo=*-updates --disablerepo rpmfusion-free --disablerepo rpmfusion-nonfree

--> Finished Dependency Resolution
--> Running transaction check
---> Package VirtualBox.x86_64 0:4.3.30-1.fc22 will be erased
---> Package kernel.x86_64 0:4.1.6-201.fc22 will be erased
---> Package kernel-core.x86_64 0:4.1.6-201.fc22 will be erased
---> Package kernel-debug-core.x86_64 0:4.1.6-201.fc22 will be erased
---> Package kernel-debug-devel.x86_64 0:4.0.4-202.fc21 will be erased
---> Package kernel-debug-devel.x86_64 0:4.1.6-201.fc22 will be erased
---> Package kernel-debug-modules.x86_64 0:4.1.6-201.fc22 will be erased
---> Package kernel-devel.x86_64 0:4.0.4-202.fc21 will be erased
---> Package kernel-devel.x86_64 0:4.1.6-201.fc22 will be erased
---> Package kernel-modules.x86_64 0:4.1.6-201.fc22 will be erased
---> Package kernel-modules-extra.x86_64 0:4.1.6-201.fc22 will be erased
--> Finished Dependency Resolution
Error: Package: kmod-VirtualBox-4.1.8-200.fc22.x86_64-4.3.30-1.fc22.x86_64 (installed)
           Requires: VirtualBox-kmod-common >= 4.3.30
           Removing: VirtualBox-4.3.30-1.fc22.x86_64 (installed)
               VirtualBox-kmod-common = 4.3.30-1.fc22
           Downgraded By: VirtualBox-4.3.28-1.fc22.x86_64 (rpmfusion-free-rawhide)
               VirtualBox-kmod-common = 4.3.28-1.fc22
           Available: VirtualBox-guest-4.3.28-1.fc22.i686 (rpmfusion-free-rawhide)
               VirtualBox-kmod-common = 4.3.28-1.fc22
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


*** yum (skip-broken) ***

yum-deprecated --releasever=23 distro-sync --enablerepo=rpmfusion-free-rawhide --enablerepo=rpmfusion-nonfree-rawhide --disablerepo=*-updates --disablerepo rpmfusion-free --disablerepo rpmfusion-nonfree --skip-broken

--> Finished Dependency Resolution

Packages skipped because of dependency problems:
    VirtualBox-4.3.28-1.fc22.x86_64 from rpmfusion-free-rawhide
    VirtualBox-kmodsrc-4.3.28-1.fc22.x86_64 from rpmfusion-free-rawhide
    akmod-VirtualBox-4.3.28-1.fc22.x86_64 from rpmfusion-free-rawhide

Dependencies Resolved


*** dnf (no allowerasing) ***

dnf-3 --releasever=23 distro-sync --enablerepo=rpmfusion-free-rawhide --enablerepo=rpmfusion-nonfree-rawhide --disablerepo=*-updates  --disablerepo rpmfusion-free --disablerepo rpmfusion-nonfree

--> Finished dependency resolution
Error: package kmod-VirtualBox-4.1.8-200.fc22.x86_64-4.3.30-1.fc22.x86_64 requires VirtualBox-kmod-common >= 4.3.30, but none of the providers can be installed
(try to add '--allowerasing' to command line to replace conflicting packages)


*** dnf (allowerasing) ***

--> Finished dependency resolution
Dependencies resolved.
Error: The operation would result in removing the booted kernel: kernel-core-4.1.8-200.fc22.x86_64.

Comment 1 Andrew 2015-10-06 14:14:03 UTC
Created attachment 1080250 [details]
yum log

Comment 2 Andrew 2015-10-06 14:14:29 UTC
Created attachment 1080251 [details]
dnf log

Comment 3 Honza Silhan 2015-10-13 14:16:59 UTC

*** This bug has been marked as a duplicate of bug 1260989 ***