Bug 1304887
Summary: | dnf always installs newest version, ignoring excludes | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jef Oliver <jef.oliver> | ||||
Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 23 | CC: | jef.oliver, jmracek, jsilhan, mluscon, packaging-team-maint, pnemade, 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: | 2016-02-15 14:30:09 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
Jef Oliver
2016-02-04 22:04:56 UTC
Please could you provide some additional information. Could you send us both dnf.conf file from host and --installroot with exact marked locations where each file was located. Created attachment 1122338 [details]
repo files for DNF
dnf.conf files are unmodified. I only copy repo files into place.
I create a new root directory.
/tmp/XN0TDJIB3MBGLD9L/image/root
Download fedora-release and fedora-repos rpms and install
rpm --quiet --root /tmp/XN0TDJIB3MBGLD9L/image/root --initdb
rpm --quiet --root /tmp/XN0TDJIB3MBGLD9L/image/root -i --nodeps /tmp/XN0TDJIB3MBGLD9L/download/onpss-internal-0.0.2-201602081749.gitdb76a315.fc21.x86_64.rpm /tmp/XN0TDJIB3MBGLD9L/download/fedora-repos-23-1.noarch.rpm /tmp/XN0TDJIB3MBGLD9L
/download/fedora-release-23-1.noarch.rpm
After this, I copy the files in the attachment to /tmp/XN0TDJIB3MBGLD9L/image/root/etc/yum.repos.d/
Then install packages
dnf -q -y --installroot=/tmp/XN0TDJIB3MBGLD9L/image/root --enablerepo=*-daily makecache
dnf -q -y --installroot=/tmp/XN0TDJIB3MBGLD9L/image/root --enablerepo=*-daily install yum yum-utils kernel systemd iproute
If the kernel that is located in my addon kernel repo is older than upstream, dnf seems to ignore my provided kernel and force uses the upstream version. This was not the case using standard yum in Fedora 21.
I am going to test your case. Ok I think I have it. The repository are taken from host at the present version of DNF. Your problem will be solved by new version of dnf, where behavior is changed. See pull-request https://github.com/rpm-software-management/dnf/pull/428. There is also new detailed description in documentation. Thanks for reporting. *** This bug has been marked as a duplicate of bug 1279185 *** |