Results 1 to 10 of 10

Thread: zypper dup error 12.1 -> 12.2

  1. #1

    Default zypper dup error 12.1 -> 12.2

    Hi folks,
    I'm quite new to Linux, but hopefully there is an easy answer to this.
    I'm doing a standard upgrade from 12.1 -> 12.2.
    I was current on 12.1, then changed the repo's to 12.2 using "sed -i 's/12\.1/12\.2/g' /etc/zypp/repos.d/*"

    Now using a zypper ref/zypper dup, I get...

    Code:
    Computing distribution upgrade...
    2 Problems:
    Problem: problem with installed package product:openSUSE-12.1-1.4.x86_64
    Problem: problem with installed package product:openSUSE-12.1-1.4.x86_64
    
    Problem: problem with installed package product:openSUSE-12.1-1.4.x86_64
     Solution 1: Following actions will be done:
      do not forbid installation of product:openSUSE-12.2-1.6.i586[repo-oss]
      install product:openSUSE-12.2-1.6.i586 despite the inferior architecture
      install product:openSUSE-12.2-1.6.i586 despite the inferior architecture
     Solution 2: keep obsolete product:openSUSE-12.1-1.4.x86_64
     Solution 3: do not forbid installation of product:openSUSE-12.2-1.6.x86_64[repo-oss]
    Solution 3 seems like the logical answer here given what I'm trying to do, but is this normal..?
    Is there anything else I need to be aware of here..?

    Repo's are:

    Code:
    # | Alias                | Name                       | Enabled | Refresh | URI
    --+----------------------+----------------------------+---------+---------+----------------------------------------------------------------
    1 | Updates-for-openSUSE | Updates for openSUSE 12.2  | Yes     | Yes     | http://download.opensuse.org/update/12.2/
    2 | repo-debug           | openSUSE-12.2-Debug        | No      | Yes     | http://download.opensuse.org/debug/distribution/12.2/repo/oss/
    3 | repo-debug-update    | openSUSE-12.2-Update-Debug | No      | Yes     | http://download.opensuse.org/debug/update/12.2/
    4 | repo-non-oss         | openSUSE-12.2-Non-Oss      | Yes     | Yes     | http://download.opensuse.org/distribution/12.2/repo/non-oss/
    5 | repo-oss             | openSUSE-12.2-Oss          | Yes     | Yes     | http://download.opensuse.org/distribution/12.2/repo/oss/
    6 | repo-source          | openSUSE-12.2-Source       | No      | Yes     | http://download.opensuse.org/source/distribution/12.2/repo/oss/
    Many thanks!

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: zypper dup error 12.1 -> 12.2

    On 2013-04-15 14:06, SBKdder wrote:
    >
    > Hi folks,
    > I'm quite new to Linux, but hopefully there is an easy answer to this.
    > I'm doing a standard upgrade from 12.1 -> 12.2.
    > I was current on 12.1, then changed the repo's to 12.2 using "sed -i
    > 's/12\.1/12\.2/g' /etc/zypp/repos.d/*"


    I'm surprised. You are new to Linux, yet you use 'sed'. Interesting :-)

    I'll propose instead you read something before going ahead:

    Online upgrade
    method


    Chapter 16. Upgrading the System and System Changes




    > Now using a zypper ref/zypper dup, I get...


    I don't quite see why zypper is propossing packages of different
    architectures. You can not attempt an upgrade with arch change with
    zypper if that is what is happening. However, if that is your intent, I
    can give some advices, because I did it, successfully.

    Code:
    cat /etc/SuSE-release
    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  3. #3
    Join Date
    Sep 2012
    Posts
    4,945

    Default Re: zypper dup error 12.1 -> 12.2

    Quote Originally Posted by robin_listas View Post
    You are new to Linux, yet you use 'sed'. Interesting :-)
    sed predates Linux by how many years ... 20? Or at least close to it.

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: zypper dup error 12.1 -> 12.2

    On 2013-04-15 14:56, arvidjaar wrote:
    >
    > robin_listas;2547893 Wrote:
    >> You are new to Linux, yet you use 'sed'. Interesting :-)
    >>

    >
    > sed predates Linux by how many years ... 20? Or at least close to it.


    I'm not able myself to use sed efficiently O:-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,732

    Default Re: zypper dup error 12.1 -> 12.2

    Changing simply the character combination 12.1 into 12.2 only works when it is garanteed that URLs of repos are constructed allways in the same manner. Which is not the case (e.g. not to long ago there was a second Update repo added to the standard list). I wouldn't dare to count on this.
    Henk van Velden

  6. #6

    Default Re: zypper dup error 12.1 -> 12.2

    Quote Originally Posted by hcvv View Post
    Changing simply the character combination 12.1 into 12.2 only works when it is garanteed that URLs of repos are constructed allways in the same manner. Which is not the case (e.g. not to long ago there was a second Update repo added to the standard list). I wouldn't dare to count on this.
    You're talking about the non-oss-update repository, right?
    Well, missing that would only cause no security updates to flashplayer and acroread, but the upgrade should work.

    @SBKdder:
    You should add the repo Index of /update/12.3-non-oss before or after the upgrade...

    To your original question:
    You should choose Solution 3 if you want to keep your system in 64bit.
    If you wanted to switch to 32bit, Solution 1 would probably not change all the packages to 32bit and you would end up without being able to boot... (been there, done that )

  7. #7
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    254

    Default AW: Re: zypper dup error 12.1 -> 12.2

    Quote Originally Posted by robin_listas View Post
    On 2013-04-15 14:06, SBKdder wrote:
    >
    > Hi folks,
    > I'm quite new to Linux, but hopefully there is an easy answer to this.
    > I'm doing a standard upgrade from 12.1 -> 12.2.
    > I was current on 12.1, then changed the repo's to 12.2 using "sed -i
    > 's/12\.1/12\.2/g' /etc/zypp/repos.d/*"


    I'm surprised. You are new to Linux, yet you use 'sed'. Interesting :-)
    I think the sed command was just copied and pasted from https://en.opensuse.org/SDB:System_u...te-repository.
    zypp it...

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: zypper dup error 12.1 -> 12.2

    On 2013-04-15 16:06, zerum wrote:
    > I think the sed command was just copied and pasted from
    > https://en.opensuse.org/SDB:System_u...ate-repository.


    Oh. I see.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  9. #9

    Default Re: zypper dup error 12.1 -> 12.2

    re: sed.. yep, that was just taken from SDB:System upgrade - openSUSE
    I actually didn't want to change architectures. I'm not sure where that was coming from..

    This was pre-upgrade:
    Code:
    : cat /etc/SuSE-release
    openSUSE 12.1 (x86_64)
    VERSION = 12.1
    CODENAME = Asparagus
    I proceeded with Solution 3 [do not forbid installation of product:openSUSE-12.2-1.6.x86_64] and everything seems fine.
    The logs are all clean.

    Post-upgrade:
    Code:
    : cat /etc/SuSE-release
    openSUSE 12.2 (x86_64)
    VERSION = 12.2
    CODENAME = Mantis
    I was doing some further digging around and came across this (post-upgrade). Not sure if that could have been the cause.

    Code:
    : zypper ll
    # | Name             | Type    | Repository
    --+------------------+---------+-----------
    1 | openSUSE-release | package | (any)
    Thanks for the help though everyone!

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: zypper dup error 12.1 -> 12.2

    On 2013-04-16 01:46, SBKdder wrote:

    > I was doing some further digging around and came across this
    > (post-upgrade). Not sure if that could have been the cause.
    >
    >
    > Code:
    > --------------------
    >
    > : zypper ll
    > # | Name | Type | Repository
    > --+------------------+---------+-----------
    > 1 | openSUSE-release | package | (any)
    >
    > --------------------


    Yes, you have a lock on that package, thus the error message. I think
    you should remove that lock.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

Posting Permissions

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