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…
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…?
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:
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.
cat /etc/SuSE-release
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
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.
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)
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.
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 ;))
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…
> 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)