Hi there !
I messed up so badly my repository list that I new to install a fresh one.
How can I do that ? Running Tumbleweed.
There is a package to force install or a list of "official" download sites to be in repository list ?
thanks in advance !
Hi there !
I messed up so badly my repository list that I new to install a fresh one.
How can I do that ? Running Tumbleweed.
There is a package to force install or a list of "official" download sites to be in repository list ?
thanks in advance !
You better post it here and then we can advice what to do.
Code:zypper lr -d
Henk van Velden
You can manage your repository list with YaST2 Repositories or in a terminal with the zypper command.
Basic repositories are referenced here https://en.opensuse.org/Package_repositories
To add a new repository follow the directions here https://en.opensuse.org/SDB:Add_package_repositories
To remove repositories with zypper open a terminal, login as superuser and list the current repos typing:
Then you are able to remove a "messed up" repo, say #8 in my example, by typing:Code:bruno@LT_B:~> su - Password: LT_B:~ # zypper lr Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh ---+---------------------------+-----------------------------------------+---------+-----------+-------- 1 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes 2 | repo-debug | openSUSE-Leap-15.0-Debug | No | ---- | ---- 3 | repo-debug-non-oss | openSUSE-Leap-15.0-Debug-Non-Oss | No | ---- | ---- 4 | repo-debug-update | openSUSE-Leap-15.0-Update-Debug | No | ---- | ---- 5 | repo-debug-update-non-oss | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No | ---- | ---- 6 | repo-non-oss | openSUSE-Leap-15.1-Non-Oss | Yes | (r ) Yes | Yes 7 | repo-oss | openSUSE-Leap-15.1-Oss | Yes | (r ) Yes | Yes 8 | repo-source | openSUSE-Leap-15.0-Source | No | ---- | ---- 9 | repo-source-non-oss | openSUSE-Leap-15.0-Source-Non-Oss | No | ---- | ---- 10 | repo-update | openSUSE-Leap-15.1-Update | Yes | (r ) Yes | Yes 11 | repo-update-non-oss | openSUSE-Leap-15.1-Update-Non-Oss | Yes | (r ) Yes | Yes LT_B:~ #
Please be aware that after one repo has been removed the number of all repos that follow is updated so pay attention to the _current_ number of the repo you are going to remove.Code:LT_B:~ # zypper removerepo 8
If you really _really_ want to remove _all_ repos instead of only the messed up ones, you may try the -all option as in:
Code:LT_B:~ # zypper removerepo -all
Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
testing Leap 15.2
I agree with most what you say, but your repo list does not have the URIs and thus in fact does not provide the information needed. Now the names and aliases you have there may point to what the URIs are, but we can not be sure. And as the OP explains that he made a mess of it, we may also assume that names and/or aliases there do not provide hints to what the repos are.
Then, as an addition to the warning of changing repo number when adding/removing repos, it might be better to advice using the Alias. They are ther as short, but meaning full (that is what they should be) references and, most important, they do not change. The equivalent of the example:
Code:zypper removerepo repo-oss
Henk van Velden
Yeah, you right. "zypper lr -pu" could provide the missing repo's URL.
But it is ok, as @OrsoBruno provided a link to the official repositories. Thanks OrsoBruno !
And I wish I've read your post before I removed some repos, as I was a victim of the pitfall you mentioned about using repos numbers. I wanted to remove the repo 4 and 5 and so, issued the numbers 4 and 5, resulting in removing the repos 4 and 6 (since after the first remove repo command, 5 becomes 4 and 6 becomes 5). Not a big deal also, as I saved the original list and I could manage to figure out what was the repo 6.
Anyway, it's all set now. Thanks all of you !
A minimal list of 'official' repos is:
See also: https://en.opensuse.org/openSUSE:Tumbleweed_upgradeCode:12 | packman | Packman repository (openSUSE_Tumbleweed) | Yes | (r ) Yes | Yes | 90 | http://packman.inode.at/suse/openSUSE_Tumbleweed 10 | openSUSE-20191106-0 | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/tumbleweed/repo/oss/ 15 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/tumbleweed/repo/non-oss/ 17 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/update/tumbleweed/
AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5
And isn't there an Update repo for non-OSS in Tumbleweed? In Leap there is. And I would call that one "official".
Henk van Velden
Packman enhances packages available in 'official' http://download.opensuse.org/tumbleweed/repo/oss/
There is http://download.opensuse.org/update/tumbleweed-non-oss/ but it was skipped by the installer on 2019-11-06.And isn't there an Update repo for non-OSS in Tumbleweed?
AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5
Bookmarks