Trying to use Config-manager

Hey guys, I'm trying to add a Mullvad repo but getting sub-command not found when using config-manager. Trying to install dnf-core-plugins, tells me its already installed. Can anyone assist?
18 Replies
wolfyreload
wolfyreloadβ€’6mo ago
This worked for the op for getting Mullvad vpn installed. I made a distrobox to see what the sudo dnf config-manager --add-repo https://repository.mullvad.net/rpm/stable/mullvad.repo did, so you don't need to. You can make the repo yourself withsudo nano /etc/yum.repos.d/mullvad.repo fill the file with this content
[mullvad-stable]
name=Mullvad VPN
baseurl=https://repository.mullvad.net/rpm/stable/$basearch
type=rpm
enabled=1
gpgcheck=1
gpgkey=https://repository.mullvad.net/rpm/mullvad-keyring.asc
[mullvad-stable]
name=Mullvad VPN
baseurl=https://repository.mullvad.net/rpm/stable/$basearch
type=rpm
enabled=1
gpgcheck=1
gpgkey=https://repository.mullvad.net/rpm/mullvad-keyring.asc
{CTRL+X} {Y} {Enter} to save the file rpm-ostree install mullvad-vpn to install the VPN (note that this will take a long time to run) You'll need to reboot before you can use it, you might need to enable and start the service after the reboot
sudo systemctl enable mullvad-daemon.service
sudo systemctl start mullvad-daemon.service
sudo systemctl enable mullvad-daemon.service
sudo systemctl start mullvad-daemon.service
SirWaffles
SirWafflesOPβ€’6mo ago
Is there any reason, out of curiosity, that config-manager isnt working? Really appreciate your reply though, I'll do it manually
wolfyreload
wolfyreloadβ€’6mo ago
I think it's just not preinstalled with rpm-ostree
SirWaffles
SirWafflesOPβ€’6mo ago
Surely it should be packaged with dnf-core-plugins? I saw it in the package list being installed. Ahh well, at least theres manual workarounds πŸ˜„ [ Directory '/etc/yum.repo.d' does not exist ] This still ok?
wolfyreload
wolfyreloadβ€’6mo ago
that directory should definitely should exist
SirWaffles
SirWafflesOPβ€’6mo ago
It's a pretty newish install. I've not had time to mess about with it so that does raise eyebrows πŸ₯²
wolfyreload
wolfyreloadβ€’6mo ago
typo in my script, fixed it now. 'repos' and not 'repo'
SirWaffles
SirWafflesOPβ€’6mo ago
That did it. Thank you kind sir
wolfyreload
wolfyreloadβ€’6mo ago
Cool. πŸ™‚ now let's see if the VPN actually works
SirWaffles
SirWafflesOPβ€’6mo ago
Will let you know I've noticed it takes a while to write ostree commit. Stays there for a while
wolfyreload
wolfyreloadβ€’6mo ago
yeah it needs to make a new deployment, so it takes a long time. typically it's the only way to install VPN software that needs a lot of access
SirWaffles
SirWafflesOPβ€’6mo ago
No it hasn't worked. At least the App isnt:
No description
SirWaffles
SirWafflesOPβ€’6mo ago
I got it πŸ˜› sudo systemctl start mullvad-daemon
wolfyreload
wolfyreloadβ€’6mo ago
I was about to paste that πŸ™‚
SirWaffles
SirWafflesOPβ€’6mo ago
Will I need to do that each restart or will it do this automagically? If not is there anything I can do to automate it?
wolfyreload
wolfyreloadβ€’6mo ago
I think you need to enable the service for it to autostart sudo systemctl enable mullvad-daemon.service I've updated the answer with additional information around enabling and updating the service
SirWaffles
SirWafflesOPβ€’6mo ago
Lush, thanks for all your help Roll on Nvidia drivers and I'll be away!
wolfyreload
wolfyreloadβ€’6mo ago
You are welcome :).
Want results from more Discord servers?
Add your server