Accidentally deleted openSUSE-Tumbleweed repository, how do I re-add it?

Hi,

On my Tumbleweed system I accidentally deleted the openSUSE-Tumbleweed repository with ZYpp (sudo zypper rr 13 was the command that did it). To try to get it back I looked at https://software.opensuse.org/package/vim (choose a package at random), clicked on the official release, went to its download page in the hope it would have instructions on how to add the repo it belongs to, which I presumed would be openSUSE-Tumbleweed, but no it’s openSUSE:Factory (which I have added, I didn’t delete factory, I deleted openSUSE-Tumbleweed, saying this to clarify). I’ve also tried going to https://build.opensuse.org/project/show/openSUSE%3ATumbleweed, in the hope it’d have the download link I seek (which I’d find by clicking on a package at random, going to the download instructions, etc.), but no there’s no packages in that project. I read the text that that said this repo was essentially a openSUSE:Factory snapshot, but if this is the case why did I have a separate openSUSE-Tumbleweed repo added, along with openSUSE:Factory (instead of the two being the same thing…)?

I’m essentially here hoping you good folk can help straighten this out for me, providing me with a way to re-add this repo.

Thanks for your time,
Brenton

E.g.

sudo zypper ar -f http://download.opensuse.org/tumbleweed/repo/oss repo-oss

See also https://en.opensuse.org/openSUSE:Tumbleweed_upgrade#Repositories

You should also find it in YaST->Software Repositories->Add->Community Repositories I think.

Btw, openSUSE:Factory and openSUSE:Tumbleweed is exactly the same. One is just a link to the other.
On OBS there is only the openSUSE:Factory project though. (snapshots of it get released as Tumbleweed and show up in http://download.opensuse.org/factory/ and http://download.opensuse.org/tumbleweed/)

[Click Install

http://opensuse-community.org/tumbleweed.ymp](http://opensuse-community.org/tumbleweed.ymp)

Thanks that repo-oss command did the trick, although I adjusted the name to openSUSE-Tumbleweed as that’s what it was originally called I think.

The name doesn’t matter anyway, you could also name it “The openSUSE distribution I use” if you want… :wink:

IIANM, the installer creates repo-oss and a “openSUSE-Tumbleweed” (or similar, depending on the actual distribution version) repo though, at least that was the case in the past.