LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   zypper-up live upgrad in opensuse - which way is the best one!? (https://www.linuxquestions.org/questions/linux-newbie-8/zypper-up-live-upgrad-in-opensuse-which-way-is-the-best-one-4175488964/)

sayhello_to_the_world 12-23-2013 12:09 PM

zypper-up live upgrad in opensuse - which way is the best one!?
 
hello dear linux experts,



how to arrange a zypper-up live upgrade
from OpenSuse version 12.2 to version 13.1


see the repos i have:
Code:

linux-wyee:/home/martin # zypper lr -d
# | Alias                        | Name                        | Aktiviert | Aktualisieren | Priorität | Typ    | URI                                                          | Dienst
--+------------------------------+------------------------------+-----------+---------------+-----------+--------+--------------------------------------------------------------+-------
1 | openSUSE 13.1 NON-OSS        | openSUSE 13.1 NON-OSS        | Ja        | Ja            |  99      | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/ |     
2 | openSUSE 13.1 NON-OSS Update | openSUSE 13.1 NON-OSS Update | Ja        | Ja            |  99      | rpm-md | http://download.opensuse.org/update/13.1-non-oss/            |     
3 | openSUSE 13.1 OSS            | openSUSE 13.1 OSS            | Ja        | Ja            |  99      | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/    |     
4 | openSUSE 13.1 OSS Update    | openSUSE 13.1 OSS Update    | Ja        | Ja            |  99      | rpm-md | http://download.opensuse.org/update/13.1/                    |     
linux-wyee:/home/martin #

note: is it more appropiate to do A FRESH installation - from scratch and to build the repos upon the installation.

do you any easy way to do a live update!?

love to hear from you

greetings

TroN-0074 12-23-2013 12:43 PM

I ususally download the latest version ISO, burng it and boot my computer from it then I perform the upgrade from the CD. I found that way works for me.

It was only once case in which the upgrade stoped rith on the meddle and got and error message. I immediatelly installed Arch in that computer.

Good luck to you

TB0ne 12-23-2013 12:47 PM

Quote:

Originally Posted by sayhello_to_the_world (Post 5086015)
hello dear linux experts,
how to arrange a zypper-up live upgrade from OpenSuse version 12.2 to version 13.1 see the repos i have:
Code:

linux-wyee:/home/martin # zypper lr -d
# | Alias                        | Name                        | Aktiviert | Aktualisieren | Priorität | Typ    | URI                                                          | Dienst
--+------------------------------+------------------------------+-----------+---------------+-----------+--------+--------------------------------------------------------------+-------
1 | openSUSE 13.1 NON-OSS        | openSUSE 13.1 NON-OSS        | Ja        | Ja            |  99      | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/ |     
2 | openSUSE 13.1 NON-OSS Update | openSUSE 13.1 NON-OSS Update | Ja        | Ja            |  99      | rpm-md | http://download.opensuse.org/update/13.1-non-oss/            |     
3 | openSUSE 13.1 OSS            | openSUSE 13.1 OSS            | Ja        | Ja            |  99      | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/    |     
4 | openSUSE 13.1 OSS Update    | openSUSE 13.1 OSS Update    | Ja        | Ja            |  99      | rpm-md | http://download.opensuse.org/update/13.1/                    |

note: is it more appropiate to do A FRESH installation - from scratch and to build the repos upon the installation. do you any easy way to do a live update!?

See your OTHER thread where you asked this same question, and it was answered:
http://www.linuxquestions.org/questi...ne-4175488860/

Did you not read/understand the answers? AGAIN, you can't mix repositories between versions of ANY Linux, period. Want to upgrade? Then either follow the openSUSE instructions on performing the upgrade, or do a fresh install (which is what was ALREADY recommended to you). Your repositories are meaningless. The old ones won't work with the new, period. Run the upgrade? Then it will update the repository links.

suicidaleggroll 12-23-2013 02:11 PM

Live upgrades never work properly for me...Fedora, OpenSUSE, they always fail. You'll have far fewer headaches and likely be up and running much faster if you just back up and install from scratch.

sayhello_to_the_world 12-23-2013 05:02 PM

after failed zypper dub i cannot log in again!? What can i do!?
 
hello dear suicidaleggroll, hello dear Tbone and TroN0074


many many thanks for the quick reply.

thx for sharing your ideas and thougths.


well after an failed update-process with zypper-dub i cannot login again



among some other errors i had an error with downloading the oss distribution

Code:

error with downloading  (curl) für  'http://download.opensuse.org/distribution/13.1/repo/oss/suse/i586/libdb-4_5-4.5.20-125.1.3.i586.rpm':
errorkode: Write error

errormessage Failed writing body (640 != 1440)

- with this i stopped the automated zypper-up-process.

the notebook should run version 12.2 -

but very very funny;: i cannot login again.
the login procedure does not accept the password.

what can i do!?

TroN-0074 12-23-2013 05:51 PM

if you are at the logging manager you can log in as root. either log in by typing root as user and then type your root password and then delete the user you had and create a new one, move all the files from your old user to the new user home directory.

Or you can log in to a terminal as root still and do de creation of a new user on the terminal. Once you are a the log in screen press Ctrl+Alt+F2 and once you have the log in terminal prompt type root then your root password.


However I would suggest you to download the ISO burn it to a CD and boot your computer from there and do the upgrade that way. It works better for me than doing it through zypper.

Good luck to you

John VV 12-23-2013 06:38 PM

i HOPE you DID prepare for "THE WORST"
and backup ALL of your data/movies/music/office files/ and so on

i NEVER have had a "live upgrade" between MAJOR VERSIONS EVER WORK
and they are NOT supported , because they do NOT work

now for the soon to be end of life OpenSUSE 12.2 doing a inplace upgrade to 12.3
-- should work just fine ?? maybe ??

but going from 12.2 to 13.1 ???


do a fresh NEW CLEAN install



and from the last post you tried a inplace upgrade between MAJOR versions

-- so if you did not BACK UP FIRST !!!!!!


you might not be able to fix this

suicidaleggroll 12-23-2013 07:17 PM

Quote:

Originally Posted by John VV (Post 5086168)
now for the soon to be end of life OpenSUSE 12.2 doing a inplace upgrade to 12.3
-- should work just fine ?? maybe ??

The last time I tried an in-place upgrade on OpenSUSE it was from 12.1 to 12.2. It failed miserably. After about 4 hours of working through errors one by one, I finally threw in the towel and installed 12.2 from scratch, had it completely up and running within about an hour and a half.

Nothing against OpenSUSE though, I've had the same experience with in-place upgrades on all distros I've tried (except for CentOS/RHEL sub versions (eg 6.3 to 6.4), since that's transparent).

John VV 12-23-2013 07:42 PM

on RHEL/CentOS/SL
inplace upgrades from minor version to minor version have almost ZERO issues FOR REDHAT
if one has a very odd third party repo installed ? it might
but going from say 6.3 to 6.4 was NO PROBLEM
and i expect going from SL 6.4 to 6.5 also to be painless


BUT

OpenSUSE 12.2 to OpenSUSE 13.1 ?????

i would expect a 99.99999% likelihood of failure


now when i moved form OpenSUSE 12.2 to 12.3
i used the 12.3 install dvd to upgrade an existing install
BUT AFTER !!!!!!!
i uninstalled third party software from the suse build service
and removed some of the software I built from source that i HAD to install to /usr and not my secondary drive

then the upgrade went well , no problems

but i prepared FIRST

ondoho 12-24-2013 03:05 AM

op has about 3 or 4 threads here all asking for help with different aspects of the same problem, never providing the info from the last thread.
i suggest you read them before wasting your fingertips here any longer.


All times are GMT -5. The time now is 12:39 PM.