I couldn't figure out the best place to put this so I just put it here.

I’m about to install 13.1 and want to keep a record of the software repositories I set up in 12.3 because I have used some that are not standard and would have to search for them again if I was to be able to install the corresponding programs in 13.1.

Could someone please tell me where Yast keeps the file that lists the repositories I have set up in my system and what it’s named so I can save it?

Thanks.

On 2013-11-19, Scott Swinyard <Scott_Swinyard@no-mx.forums.opensuse.org> wrote:
>
> I’m about to install 13.1 and want to keep a record of the software
> repositories I set up in 12.3 because I have used some that are not
> standard and would have to search for them again if I was to be able to
> install the corresponding programs in 13.1.

The chances are that it’s a bad idea to use identical repositories for difference openSUSE versions. Be sure to check
there are 13.1-compatible versions before hand.

> Could someone please tell me where Yast keeps the file that lists the
> repositories I have set up in my system and what it’s called so I can
> save it?

The best way to list your repositories is from command line:


sh-4.2$ su -
sh-4.2$ zypper lr -d
sh-4.2$ exit

I don’t intend to use 12.3 repos in 13.1. I intend to look for new 13.1 versions of the same repos.

Thanks.

P.S. Still be nice to know the name and location of the file that output came from too though.

On 11/19/2013 03:20 PM, flymail pecked at the keyboard and wrote:
> On 2013-11-19, Scott Swinyard <Scott_Swinyard@no-mx.forums.opensuse.org> wrote:
>> I’m about to install 13.1 and want to keep a record of the software
>> repositories I set up in 12.3 because I have used some that are not
>> standard and would have to search for them again if I was to be able to
>> install the corresponding programs in 13.1.
> The chances are that it’s a bad idea to use identical repositories for difference openSUSE versions. Be sure to check
> there are 13.1-compatible versions before hand.
>
>> Could someone please tell me where Yast keeps the file that lists the
>> repositories I have set up in my system and what it’s called so I can
>> save it?
> The best way to list your repositories is from command line:
>
>


> sh-4.2$ su -
> sh-4.2$ zypper lr -d
> sh-4.2$ exit
> 

>
Or simply copy the repo files from /etc/zypp/repos.d/ to another place.
Before you copy them back make sure to use the correct version by using
your favorite editor to edit them and make the corrections. Then you
simply copy back the repo files and do a zypper refesh.

Ken

On 2013-11-19 21:16, Scott Swinyard wrote:

> Could someone please tell me where Yast keeps the file that lists the
> repositories I have set up in my system and what it’s called so I can
> save it?

In “/etc/zypp/repos.d/” and “/etc/zypp/services.d/”. Copy them
somewhere, then restore single files, editing for the new url (repos can
change url). With care.

I would in fact backup the entire /etc directory.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 11/19/2013 03:36 PM, Scott Swinyard pecked at the keyboard and wrote:
> I don’t intend to use 12.3 repos in 13.1. I intend to look for new 13.1
> versions of the same repos.
>
>
> Thanks.
>
>
Well 99% of the time you simply change any reference to 12.3 to 13.1 and
presto change-o you have the 13.1. repo file. I’ve been doing this for
years.

Ken

I was thinking all I might need to do was change it to a 13.1 url copy the new url into Yast and give it a 13.1 name If I got lucky, but that might not work. Having the urls and in particular the names from the original 12.1 repos would give me a starting point for tracking down the actual 13.1 repos if they existed which I would be more inclined to use, especially if the urls etc. did not precisely match.

I’m liking 13.1 so far.

On 2013-11-21 05:16, Scott Swinyard wrote:
>
> I was thinking all I might need to do was change it to a 13.1 url copy
> the new url into Yast and give it a 13.1 name If I got lucky, but that
> might not work. Having the urls and in particular the names from the
> original 12.1 repos would give me a starting point for tracking down the
> actual 13.1 repos if they existed which I would be more inclined to use,
> especially if the urls etc. did not precisely match.

Well, we have told you where the configuration files are stored. There
you can change the URL, the name, etc., to your heart content.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)