Can't add dnf repositories (Fedora 23)
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2016
    Location
    Pennsylvania, USA
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can't add dnf repositories (Fedora 23)

    Hey all,
    I've got a fresh install of Fedora 23 running. Trying to add negativo17 repositories to install spotify, steam, etc. (already set up rpmfusion). So I enter the following command in the termminal:

    Code:
    dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
    and get the following result:

    Code:
    Config error: Read-only file system: '/var/log/dnf.log'
    I'm wondering if this has something to do with the fact that I have my /boot partition on a separate drive from my / partition? I'm also noticing that Firefox and nixnote aren't syncing - maybe they are trying to store data in /var/tmp?

    Any ideas what might be wrong here?

  2. #2
    Join Date
    Sep 2009
    Posts
    2,209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't add dnf repositories (Fedora 23)

    Did you run it as root?

    dd_wizard

  3. #3
    Join Date
    Feb 2016
    Location
    Pennsylvania, USA
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't add dnf repositories (Fedora 23)

    Yes, I did run it as root.

  4. #4
    Join Date
    Jun 2005
    Location
    Montreal, Québec, Canada
    Posts
    7,426
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't add dnf repositories (Fedora 23)

    Check this out and compare to what you have. I did the ls command as a normal user. You should have something comparable as your error message states the obvious.

    Are you sure you ran the dnf command as root?
    sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo

    ls -l | grep var
    drwxr-xr-x. 22 root root 4096 Feb 3 05:51 var #root has rwx for /var
    and
    ls -l var | grep log #root has rwx for /var/log
    drwxr-xr-x. 27 root root 4096 Feb 3 10:51 log
    and
    ls -l /var/log/dnf.log* # root has rw for /var/log/dnf.log
    -rw-------. 1 root root 442216 Feb 3 19:02 dnf.log
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  5. #5
    Join Date
    Feb 2016
    Location
    Pennsylvania, USA
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't add dnf repositories (Fedora 23)

    Thanks (very belatedly) for the help, everyone. It turned out to be a hardware issue. My HDD and SATA connector cable were both toast.

Similar Threads

  1. Fedora repositories.
    By Adunaic in forum Using Fedora
    Replies: 0
    Last Post: 13th September 2011, 02:15 PM
  2. [SOLVED]
    Are the fedora 8 repositories still available
    By Onerous in forum Using Fedora
    Replies: 3
    Last Post: 16th June 2011, 03:33 PM
  3. Fedora 10 repositories
    By sparek in forum Using Fedora
    Replies: 8
    Last Post: 4th March 2009, 09:15 PM
  4. repositories for fedora 10
    By bhasker in forum Alpha, Beta & Snapshots Discussions (Fedora 10 Only)
    Replies: 2
    Last Post: 23rd October 2008, 05:52 PM
  5. Official repositories or the RPMforge repositories?
    By mrtaber in forum Using Fedora
    Replies: 1
    Last Post: 20th January 2005, 03:17 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •