Results 1 to 7 of 7

Thread: list of my repos?

  1. #1

    Default list of my repos?

    i'm ready to reinstall opensuse due to an unrecoverable system problem. (my first ever with linux). i test upcoming releases, so it wasn't all that surprising though.

    in debian-based distros the list of your repos is kept in the sources.lst file. is there an equivalent of this file in opensuse? i would like to be able to keep my list of repos by simply backing up a single file if possible.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: list of my repos?

    In a terminal
    zypper lr -u
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: list of my repos?

    Quote Originally Posted by caf4926 View Post
    In a terminal
    zypper lr -u
    well, the problem is that i can't get to my graphical environment. (kde 4.1+).

    although i can get to command line...
    how would i copy the output of that command to a text file? i use nano for my cli text editor.

  4. #4

    Default Re: list of my repos?

    Quote Originally Posted by echoes- View Post
    in debian-based distros the list of your repos is kept in the sources.lst file. is there an equivalent of this file in opensuse? i would like to be able to keep my list of repos by simply backing up a single file if possible.
    Take a copy of the /etc/zypp/repos.d directory. It contains one file for each repository.

  5. #5
    Join Date
    Jan 2008
    Location
    N40 44.977 W073 59.356
    Posts
    1,170

    Default Re: list of my repos?

    echoes- wrote:
    > caf4926;1871564 Wrote:
    >> In a terminal
    >> zypper lr -u

    >
    > well, the problem is that i can't get to my graphical environment. (kde
    > 4.1+).
    >
    > although i can get to command line...
    > how would i copy the output of that command to a text file? i use nano
    > for my cli text editor.
    >
    >

    This might be of use to you, tells you how to export and import your
    repos to a file.
    http://en.opensuse.org/Zypper/Usage#Export.2FImport

  6. #6
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,565
    Blog Entries
    38

    Default Re: list of my repos?

    Quote Originally Posted by echoes- View Post
    how would i copy the output of that command to a text file? i use nano for my cli text editor.
    Just redirect the output to a text file.
    zypper lr -u > repository-list.txt
    and you have the text file repository-list.txt created.

  7. #7

    Default Re: list of my repos?

    awesome! thanks everybody!

Posting Permissions

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