
dnf:ai:9fddc
I am configuring my own repo file on a virtual machine named annex-repo-02. The software packages I wish to install are in the /data/repo/epel/x86_64 directory. I am getting the error "Failed to search for file: /etc/yum.repos.d/:/annex-repo-02/epel/x86_64 was not found" when trying to run dnf upgrade. I created the file and I am still getting the same error
$ dnf config-manager --add-repo=file:///data/repo/epel/x86_64
try on your machine
This command will add the /data/repo/epel/x86_64 directory as a repository in the dnf configuration, allowing you to install packages from that location.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- I am configuring my own repo file on a virtual machine named annex-repo-02. The software packages I wish to install are in the /data/repo/epel/x86_64 directory. I am getting the error "Failed to search for file: /etc/yum.repos.d/:/annex-repo-02/epel/x86_64 was not found" when trying to run dnf upgrade. I created the file and I am still getting the same error?
- I am configuring my own repo file on a virtual machine named annex-repo-02. The software packages I wish to install are in the /data/repo/epel/x86_64 directory. I am getting the error "Failed to search for file: /etc/yum.repos.d/:/annex-repo-02/epel/x86_64 was not found" when trying to run dnf upgrade. I created the file and I am still getting the same error. I have configured a repo using the dnf config-manager and I am still getting the same error?
- I am configuring my own repo file on a virtual machine named annex-repo-02. The software packages I wish to install are in the /data/repo/epel/x86_64 directory. I am getting the error "Failed to search for file: /etc/yum.repos.d/:/annex-repo-02/epel/x86_64 was not found" when trying to run dnf upgrade. I ran the command "dnf config-manager --add-repo=file:///data/repo/epel/x86_64" there is no change, I am still getting the same error.?