Skip to content

Commit

Permalink
dnf
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Aug 18, 2023
1 parent de8acc4 commit 3de5699
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions usr/bin/dist-installer-cli
Expand Up @@ -1679,7 +1679,8 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
## dnf does not have a command to accept add the key to its database.
## https://bugzilla.redhat.com/show_bug.cgi?id=1768206
## Workaround to accept the key with --assumeyes without accepting other things.
root_cmd dnf --assumeyes --cacheonly search VirtualBox
## Does not work.
#root_cmd dnf --assumeyes --cacheonly search VirtualBox
#root_cmd dnf --assumeyes module list
fi
}
Expand Down Expand Up @@ -1780,7 +1781,7 @@ install_virtualbox_fedora(){
log notice "VirtualBox Installation: Preparing to install VirtualBox..."
install_oracle_repository_fedora
update_sources
#root_cmd dnf makecache --assumeyes '--disablerepo=*' --enablerepo=virtualbox
root_cmd dnf makecache --assumeyes '--disablerepo=*' --enablerepo=virtualbox
get_virtualbox_version_fedora || die 2 "\
${underline}VirtualBox Package Version Detection:${nounderline} 'failure'"
fi
Expand Down

0 comments on commit 3de5699

Please sign in to comment.