Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: how to reset my repository list - tumbleweed

  1. #1

    Default how to reset my repository list - tumbleweed

    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 !

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,660

    Default Re: how to reset my repository list - tumbleweed

    You better post it here and then we can advice what to do.
    Code:
    zypper lr -d
    Henk van Velden

  3. #3
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    2,050

    Default Re: how to reset my repository list - tumbleweed

    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:
    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:~ #
    Then you are able to remove a "messed up" repo, say #8 in my example, by typing:
    Code:
    LT_B:~ # zypper removerepo 8
    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.
    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

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,660

    Default Re: how to reset my repository list - tumbleweed

    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

  5. #5

    Thumbs up Re: how to reset my repository list - tumbleweed - SOLVED

    Quote Originally Posted by hcvv View Post
    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
    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 !

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,660

    Default Re: how to reset my repository list - tumbleweed - SOLVED

    Quote Originally Posted by marozsas View Post
    Anyway, it's all set now. Thanks all of you !
    You are welcome.

    When you have some spare time:
    Code:
    man zypper
    Henk van Velden

  7. #7
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,198
    Blog Entries
    1

    Default Re: how to reset my repository list - tumbleweed

    Quote Originally Posted by marozsas View Post
    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 !
    A minimal list of 'official' repos is:

    Code:
    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/
    See also: https://en.opensuse.org/openSUSE:Tumbleweed_upgrade
    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

  8. #8
    Join Date
    Sep 2012
    Posts
    6,130

    Default Re: how to reset my repository list - tumbleweed

    Quote Originally Posted by karlmistelberger View Post
    A minimal list of 'official' repos is:

    Code:
    packman             | Packman repository (openSUSE_Tumbleweed)            | Yes     | (r ) Yes  | Yes     |   90     | http://packman.inode.at/suse/openSUSE_Tumbleweed
    Since when is Packman official?

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,660

    Default Re: how to reset my repository list - tumbleweed

    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

  10. #10
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,198
    Blog Entries
    1

    Default Re: how to reset my repository list - tumbleweed

    Quote Originally Posted by arvidjaar View Post
    Since when is Packman official?
    Packman enhances packages available in 'official' http://download.opensuse.org/tumbleweed/repo/oss/

    And isn't there an Update repo for non-OSS in Tumbleweed?
    There is http://download.opensuse.org/update/tumbleweed-non-oss/ but it was skipped by the installer on 2019-11-06.
    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

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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