Bug 1202794 - dnf distro-sync -x misbehaves
Summary: dnf distro-sync -x misbehaves
Keywords:
Status: CLOSED DUPLICATE of bug 1099342
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-17 12:59 UTC by Daniel Mach
Modified: 2015-03-17 16:48 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-17 16:48:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
debugdata for the same analysis as in https://bugzilla.redhat.com/show_bug.cgi?id=1099342#c20 (11.72 MB, application/x-gzip)
2015-03-17 16:47 UTC, Radek Holy
no flags Details

Description Daniel Mach 2015-03-17 12:59:07 UTC
on f21 I ran:
dnf distro-sync --releasever=22 -x python-django
it ended up with an error that python-django cannot be installed

following approach worked:
dnf distro-sync --releasever=22
dnf downgrade --releasever=21 python-django

-> deps are ok, no reason why the first use case should fail

I think there's something wrong with excluding packages in distro-sync.

Comment 1 Radek Holy 2015-03-17 14:00:32 UTC
Hello. I can only guess since you did not provide the debugging data (https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting#depsolving-problem) but on my machine, python-django strictly requires the same version of python-django-bash-completion. "dnf -x python-django --releasever=22 distro-sync" means: "synchronize everything except python-django" which includes "python-django-bash-completion". But the bash completion package cannot be removed since it is required by the exceptional "python-django". So, your request is contradictory and thus you see the expected behavior.

Can I close this as NOTABUG or would you like to transform this report into a request for a new command/switch?

Comment 2 Daniel Mach 2015-03-17 14:24:27 UTC
I over-simplified the example, sorry :)
I excluded both python-django and python-django-bash-completion.

I still think it's a bug.

Comment 3 Radek Holy 2015-03-17 16:47:04 UTC
Created attachment 1002876 [details]
debugdata for the same analysis as in https://bugzilla.redhat.com/show_bug.cgi?id=1099342#c20

OK, then I think that this is a duplicate of bug 1099342 since the analysis made in https://bugzilla.redhat.com/show_bug.cgi?id=1099342#c20 had similar results in this case.

Comment 4 Radek Holy 2015-03-17 16:48:07 UTC

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


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