Bug 1468426
Summary: | dnf ignores exclusions of packages from *.repo files | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | dsalazar23491 |
Component: | dnf | Assignee: | Jaroslav Rohel <jrohel> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | jrohel, packaging-team-maint, rpm-software-management, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-11 05:47:11 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
dsalazar23491
2017-07-07 04:22:27 UTC
I tested it on fresh Fedora 25 as the reporter. Option "exclude" worked without problem. What you mean by "Appending at the and of '/etc/yum.repos.d/rpmfusion-free-updates.repo'"? Append it to the end of appropriate section not to the end of file. My functional rpmfusion-free-updates.repo file: [rpmfusion-free-updates] name=RPM Fusion for Fedora $releasever - Free - Updates #baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/ metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever exclude=vlc* vlc-core* vlc-extras* [rpmfusion-free-updates-debuginfo] name=RPM Fusion for Fedora $releasever - Free - Updates Debug #baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/debug/ metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-debug-$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever [rpmfusion-free-updates-source] name=RPM Fusion for Fedora $releasever - Free - Updates Source #baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/SRPMS/ metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-source-$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever I can't reproduce the problem. As I wrote in first comment. Append "exclude" option to the appropriate section not to the end of file. |