Find the answer to your Linux question:
Results 1 to 4 of 4
I'm new to Linux so forgive me if this is an easy problem to fix. I have SUSE 11 setup on my desktop. I recently setup Pacman as one of ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2

    [SOLVED] Problem with repository setup

    I'm new to Linux so forgive me if this is an easy problem to fix. I have SUSE 11 setup on my desktop. I recently setup Pacman as one of my repositories. When I now open the repositories through yast or the install software window:

    There were errors while restoring the repository configuration.
    /etc/zypp/repos.d/Packman_repository_(openSUSE_11.1) .repo: Line 2 is missing '=' sign

    This causes none of my repositories to be open or listed. All I can view is installed software. I can't remove the repository because there are none listed. Is there a way I can remove the repository so this will function properly again? Thanks for any help you can give.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I don't use opensuse, but this may be of some help:
    openSUSE Tutorials
    Add Package Repositories to YaST - openSUSE

    How did you add the repository? Looks like there is probably just a syntax error in the config file.

  3. #3
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Let's see, I run OpenSuSE 10.2. The files that actually configure the repositories are in

    /var/lib/zypp/db/sources

    Each randomly named file defines a different source. I don't have an /etc/zypp directory, so this appears to be one of the changes to OpenSuSE 11. I can't tell if any of this is going to help.

    I'm going to guess though that if you look at /etc/zypp/repos.d/Packman_repository_(openSUSE_11.1).repo (you'll need to be root, I'd suggest using Midnight Commander (mc) from a su terminal if it's installed), the problem might jump out at you. If not, you can rename the file to a different extension (which has the effect of deleting it, but you can undo it easily enough) and seeing if it works.

  4. #4
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2
    Quote Originally Posted by D-cat View Post
    I'm going to guess though that if you look at /etc/zypp/repos.d/Packman_repository_(openSUSE_11.1).repo (you'll need to be root, I'd suggest using Midnight Commander (mc) from a su terminal if it's installed), the problem might jump out at you. If not, you can rename the file to a different extension (which has the effect of deleting it, but you can undo it easily enough) and seeing if it works.
    You guessed right. That's exactly where it was. I couldn't find the problem with the file but I changed the name and everything runs as it should.


    Thank you both for your replies. I really appreciate the help.

Posting Permissions

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