Results 1 to 3 of 3

Thread: How to add 13.1 repos?

  1. #1

    Default How to add 13.1 repos?

    I am trying to upgrade from 12.3 to 13.1 and I am following this guide.

    I have gotten all the way to the point where it tells me to upgrade my repos using this command:

    Code:
    # cp -Rv /etc/zypp/repos.d /etc/zypp/repos.d.Old
    All this does though is copy folders. Is there a step I am missing, or do I need to download the 13.1 repositories from somewhere else?

    here is my zypper lr -d output.

    Code:
    #  | Alias                     | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                | Service                                                                                                    
    ---+---------------------------+------------------------------------+---------+---------+----------+--------+--------------------------------------------------------------------+--------                                                                                                    
     1 | openSUSE:12.3             | openSUSE:12.3                      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/12.3/standard/ |                                                                                                            
     2 | packman                   | packman                            | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_13.1/                        |                                                                                                            
     3 | repo-debug                | openSUSE-12.3-Debug                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/12.3/repo/oss/     |                                                                                                            
     4 | repo-debug-update         | openSUSE-12.3-Update-Debug         | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/12.3/                    |                                                                                                            
     5 | repo-debug-update-non-oss | openSUSE-12.3-Update-Debug-Non-Oss | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/12.3-non-oss/            |                                                                                                            
     6 | repo-non-oss              | openSUSE-12.3-Non-Oss              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/non-oss/       |                                                                                                            
     7 | repo-oss                  | openSUSE-12.3-Oss                  | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/oss/           |                                                                                                            
     8 | repo-source               | openSUSE-12.3-Source               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/12.3/repo/oss/    |                                                                                                            
     9 | repo-update               | openSUSE-12.3-Update               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.3/                          |                                                                                                            
    10 | repo-update-non-oss       | openSUSE-12.3-Update-Non-Oss       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.3-non-oss/                  |
    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,439

    Default Re: How to add 13.1 repos?

    No, assuming you are following http://en.opensuse.org/SDB:System_upgrade, the next step is:
    Code:
    sed -i 's/12\.3/13\.1/g' /etc/zypp/repos.d/*
    which changes all your existing repos to 13.1
    Then you refresh these repos with
    Code:
    zypper ref
    before beginning the actual upgrade with
    Code:
    zypper dup
    You will probably find when you have finished that your login screen still says '12.3'. To amend this, edit
    Code:
    /etc/default/grub
    as root so that it now says 13.1 and then run
    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg

  3. #3

    Default Re: How to add 13.1 repos?

    Ah, I see, I understood that they meant that
    Code:
    # sed -i 's/12\.3/13\.1/g' /etc/zypp/repos.d/*
    should be run for a backup copy, but obviously if you read the code thats not the case.

    Thanks

Posting Permissions

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