I am using Vagrant and VirtualBox for testing for my product. I had upgraded to 5.2 when it came out, but it doesn't work with Vagrant yet. So I uninstalled it (make sure you don't have any running VMs first: VBoxManager list runningvms). However, when I went to install VirtualBox-5.1, it failed with:
dnf install VirtualBox-5.1-5.1.30_118389_fedora26-1.x86_64.rpm
Last metadata expiration check: 0:33:50 ago on Thu 02 Nov 2017 01:33:06 PM CDT.
Error:
Problem: conflicting requests
- package VirtualBox-5.1-5.1.30_118389_fedora26-1.x86_64 is disabled
This was because I also had the package 'virtualbox-release' installed, which had put down a virtualbox.repo in /etc/yum.repos.d/. I guess this points at the 5.2 download, and those conflict. Not sure exactly about how the details work here.
In any case, I just removed virtualbox-release: dnf -y remove virtualbox-release, and I was then able to install VirtualBox-5.1 again (and make vagrant happy), so I could continue playing around with packer/vagrant/ansible and kickstart. Yay.
Thursday, November 2, 2017
Auto-updating Fedora with dnf-automatic
It wasn't straightforward for me to setup auto-updating on Fedora with dnf-automatic, so I thought I would document how I got it working and provide examples.
The obvious first step is to install dnf-automatic:
sudo dnf install dnf-automatic -y
The interesting bit was the next step: creating the configuration file:
The last configuration step is to enable the timers in systemd:
sudo systemctl enable dnf-automatic.timer && sudo systemctl start dnf-automatic.timer
The obvious first step is to install dnf-automatic:
sudo dnf install dnf-automatic -y
The interesting bit was the next step: creating the configuration file:
The last configuration step is to enable the timers in systemd:
sudo systemctl enable dnf-automatic.timer && sudo systemctl start dnf-automatic.timer
Subscribe to:
Posts (Atom)