Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config error: releasever not given and can not be detected from the installroot. #13

Open
mcandre opened this issue May 29, 2015 · 1 comment

Comments

@mcandre
Copy link

mcandre commented May 29, 2015

When I try to use yumbootstrap on a fedora 22 host, the yumbootstrap formulas run into dnf vs. yum conflicts:

mkdir /chroot
yumbootstrap --verbose fedora-20 /chroot
[17:56:51] installing Fedora (release 20) to /chroot
[17:56:51] preparing empty /etc/fstab and /etc/mtab
[17:56:51] using built-in repositories
[17:56:51] adding GPG keys
[17:56:51] installing default packages for Fedora 20
[17:56:51] /chroot/yumbootstrap/yum.conf doesn't exist, creating one
[17:56:51] GPG keys defined, adding them to repository configs
Yum command has been deprecated, redirecting to '/usr/bin/dnf -c /chroot/yumbootstrap/yum.conf --installroot /chroot -y -e 1 -d 2 install coreutils bash grep gawk basesystem rpm initscripts iproute less make mktemp vim-minimal yum chkconfig plymouth rootfiles fedora-release /usr/bin/db_load'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Config error: releasever not given and can not be detected from the installroot.
"/usr/bin/yum" exited with code 1
@dozzie
Copy link
Owner

dozzie commented Jun 17, 2015

It seems to be related to this:
https://bugzilla.redhat.com/show_bug.cgi?id=1173107

At this point I don't have much attention to think of a fix, so the issue will
sit opened for a while more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants