Why can't Fedora 25 as a VM in Boxes see certain DNF packages?!

asked 2017-05-25 08:15:25 -0600

David-LDA gravatar image

I set this so i could run Fedora 25 in boxes:

sudo setsebool -P virt_use_fusefs 1 # Allow virtual machines that use fusefs to intall properly with SELinux

So I run my setup script in the virtual machine to install about 25 packages packages

sudo dnf -y install 1 2 3 4 5 6...

, most work, but i get error:

dnf info dolphin-emu
Last metadata expiration check: 0:11:18 ago on Thu May 25 13:48:30 2017.
Error: No matching Packages to list

In my host machine:

dnf info dolphin-emu
Last metadata expiration check: 2:42:21 ago on Thu May 25 11:15:05 2017.
Installed Packages
Name        : dolphin-emu
Arch        : x86_64
Epoch       : 0
Version     : 5.0
Release     : 13.fc25
Size        : 8.8 M
Repo        : @System
From repo   : updates
Summary     : GameCube / Wii / Triforce Emulator
URL         : https://dolphin-emu.org/
License     : GPLv2+ and BSD and MIT and zlib
Description : ...

The exact same thing happens with VScode that is using another repo! What is this nonsense!!??

Also in the VM my $PATH is wrong, it does not respect the:

PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME/scripts

In my bash profile. Anything in my $HOME/bin DOES NOT run on my virtual machine from the command line.

This happens before and after a full update of packages on the VM, and my host Fedora 25 is fully up-to-date.

Can anyone shed light on this, it makes no sense.

edit retag flag offensive close merge delete

Comments

Probably your bash profile is not sourced when you log in a wayland session, it seems this known issue has already been fixed with this update. Check if you have that version installed.

fcomida gravatar imagefcomida ( 2017-05-25 10:58:28 -0600 )edit

Regarding the PATH being messed up, it is STILL messed up as I have the very latest patches up to today. I fixed it in my install script by adding source ~/.bash_profile after creating the directory mkdir ~/bin. Shame to have to add this hack in my lovely clean script :(

Still no word on what is happening with Boxes and DNF. I actually just installed Virt-Manager and it worked! Of course, this does not mean the issue is resolved.

Thanks for your input!

David-LDA gravatar imageDavid-LDA ( 2017-05-25 17:20:57 -0600 )edit