Issue with certain commands caused by an issue in an un-editable file
I should start off by saying that I'm very new to Linux. I know the basics, but have much to learn.
I'm currently having an issue with using the
yum
command, as every time that I try to use it i receive the error in the attached message.
It appears (at least to my inexperienced eyes) that, somehow, the file as been edited and EO
has been appended to the start of yum install dnf
. I've been attempting to learn the necessary steps to install a program called Yabridge, so that I can use Windows-based VST files on Linux. I'm not sure what to do here-- should I figure out how to edit the file to remove the EO
at the start? This would prove difficult seeing as the filesystem is read-only, and from what I understand it's very difficult to get that to change. Besides that, I'm not sure if that's even the necessary step to take in this scenario, and could end up borking the whole OS for all I know.
Assistance would be much appreciated. Thanks!15 Replies
There's no yum here, it's just redirecting you to ostree
Also, that file is not a default install
Not present on my system
And that's not a read only directory
What exactly are you trying to do?
Well, the first thing I did was install DNF, as it's supposedly important when it comes to installing Yabridge. It looks like something could have gone wrong with that installation.
This would also explain why the file isn't built-in.
rpm-ostree install yabridge
Was all you had to do
You'll need to clean out what you did, your updates will be broken as is
You can delete that file and rpm-ostree reset
To undo what I see here at least
There's also a very good possibility this works in distrobox
Which I would recommend over layering
See our software guide
how would I go about doing this? I can't write to the location of the file, supposedly it's read-only.
It's owned by root, not read only
You can delete it the same way you made it, with sudo
I see. What command would I use to do this?
Again, not familiar with Linux, still learning.
sudo rm file
i changed the directory to the folder that the file is located in, and used
sudo rm dnf-centos.repo
to try to remove it.Was that what I should have done? If so, the file didn't change, and I got this error:
Remove from /etc/yum.repos.d
If it's complaining about a folder in your OS deployments and you don't have a previous deployment you're now boned and need to reinstall
by this, did you mean to input a command into the terminal attempting to remove the file from the folder
Yes
I don't know exactly what command you meant to use
again, still not quite sure exaclt what I'm doing, still getting used to which commands to what
migrated from windows so am used to a much more gui-based system
Unfortunately this is a terminal situation of your own making, this could have been done entirely with a GUI if it was done right the first time
I'm not in a position to give you commands unfortunately, I can assist more later
i see
seeing as I only just recently installed bazzite, there isn't anything important saved on this installation. It may be quicker to just nuke it and reinstall from the ground up