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.

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.

Take a copy of the /etc/zypp/repos.d directory. It contains one file for each repository.

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

Just redirect the output to a text file.
zypper lr -u > repository-list.txt
and you have the text file repository-list.txt created.

awesome! thanks everybody!