Mandriva

Well it is a family: Mandriva Mageia ROSA Unity PCLOS. Brothers and sisters living together in perfect harmony - so it deserved som space of its own.

Moderators: b1o, jkerr82508

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Mandriva

Postby rolf » 04 Oct 2011, 00:41

viking60 wrote:Has anyone tried it?

:think:
Image

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Mandriva

Postby viking60 » 04 Oct 2011, 09:04

Yeah that's what I thought
Image

Thanks for falling on your nose for me.
I think it is kind of important to be able to upgrade an installation. :shock:
The wiki is honest but not reassuring: http://wiki.mandriva.com/en/Upgrading_M ... 10_to_2011
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Mandriva

Postby rolf » 04 Oct 2011, 14:06

I didn't make it clear. I was thinking how Lucy always says she'll hold the ball so Charlie Brown can kick it, not pull it away. She always pulls it away. However many times Charlie Brown decides to forget the past and believe her, she pulls it away at the last minute and he winds up on his back. I was thinking how I don't want to wind up on my back. I didn't try the new script. For now, I will keep my working 2010.2 installation relatively safe, wait until I have some time, and try again with a new install of 2011 in its own area.
Maybe, when Power Pack is available, which is "soon", n'est-ce pas? :berserkf

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Mandriva

Postby viking60 » 04 Oct 2011, 14:42

AHA Got it! :lolup
I suspect that they will be pulling the ball away this time too. But what can we do? We are just so nice guys that we probably will have to try it again... :-D Will make a backup and fall on my back later.......maybe..... :snooty:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

jkerr82508
Guru-Berserk
Posts: 211
Joined: 16 Oct 2010, 21:45
Location: Fife, Scotland

Re: Mandriva

Postby jkerr82508 » 04 Oct 2011, 15:57

Mandriva should have been honest from the outset and stated that upgrading from previous releases was not possible. They'd have received some negative re-action, but I think less than they have had. Publishing an upgrade procedure that has to be prefaced with the warning that "It will break your system" seems to be a bit crazy to me.

Jim

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Mandriva

Postby rolf » 04 Oct 2011, 18:37

jkerr82508 wrote:Mandriva should have been honest from the outset and stated that upgrading from previous releases was not possible. They'd have received some negative re-action, but I think less than they have had. Publishing an upgrade procedure that has to be prefaced with the warning that "It will break your system" seems to be a bit crazy to me.

Jim


The unpredictability of distribution upgrades is nothing new. Mandriva is undergoing profound changes and, even when times where more uniformly predictable, I don't remember guarantees of operability to be part of a reasonable expectation. I see a bunch of Russian guys dumped on a community and many, many rough edges. Scherer pops up on cooker from time to time with what appears to be little more than personal axe-grinding and trolling about what has gone before. Your post seems to be something more of that. IOW, the reality is pretty rough. Snipes about "honest" and "crazy" benefit no one in a positive manner.

jkerr82508
Guru-Berserk
Posts: 211
Joined: 16 Oct 2010, 21:45
Location: Fife, Scotland

Re: Mandriva

Postby jkerr82508 » 04 Oct 2011, 19:56

I don't know where in my post you see anything even approaching "personal axe-grinding and trolling about what has gone before". I expressed an opinion about one aspect of Mandriva 2011 (distro-upgrade). I don't agree that the language that I used was inappropriate.

(I have read Scherer's recent comments in cooker@ and I agree with your characterization of some of them.)

Jim

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Mandriva

Postby viking60 » 04 Oct 2011, 23:03

Nothing inappropriate! Only exchange of views - Berserk and Viking style!

I realize now that I will have to chek out that script before you go really Berserk :berserk2 If the ball is pulled away again I might use inappropriate language but i'll try to behave. +1
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Mandriva

Postby rolf » 04 Oct 2011, 23:37

jkerr82508 wrote:I don't know where in my post you see anything even approaching "personal axe-grinding and trolling about what has gone before". I expressed an opinion about one aspect of Mandriva 2011 (distro-upgrade). I don't agree that the language that I used was inappropriate.

(I have read Scherer's recent comments in cooker@ and I agree with your characterization of some of them.)

Jim


jkerr82508 wrote:Mandriva should have been honest from the outset and stated that upgrading from previous releases was not possible.

The insinuation of this statement is that Mandriva knew, categorically, the process was not possible in any configuration and published it anyway. What is your evidence of that? I'll go so far as to say you have none. In such a case, it is a slander of the developers. As I said, it benefits no one in a positive manner.

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Mandriva

Postby dedanna1029 » 04 Oct 2011, 23:56

rolf wrote:The unpredictability of distribution upgrades is nothing new. Mandriva is undergoing profound changes and, even when times where more uniformly predictable, I don't remember guarantees of operability to be part of a reasonable expectation.

+1 - We have always been warned that distro upgrades could and do go awry. How many have we all worked on at their forum that did with people??? It's a known fact in Fedora, in Mandriva, even in Arch - upgrade at your own risk. rolf's right.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Mandriva

Postby viking60 » 07 Oct 2011, 23:27

OK I am going to try the upgrade now on my production system! You wish me the best of luck +1 I will report later If I survive.........
By the way this is the script I will be using:

Code: Select all

#!/bin/bash

# copyright (c) 2011 alex barakin <alex@barak.in>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

usage() {
   echo "this script helps update mandriva 2010 to 2011"
   echo "if script fails, it write about the problem"
   echo "please solve the problem and run script again"
   echo
   read -p "hit enter to continue" garbage
}

dourpmiupdate() {
  echo "$0: # enable non-free"
   sed -i -r '/Non-free2?\s/,/^}/{/ignore/d}' /etc/urpmi/urpmi.cfg || \
   { echo -e "$0: can't change urpmi.cfg"; exit; }

  echo "$0: # force to get hdlists"
   for i in 1 2 3; do
      urpmi.update -ff -a && break
   done
   
   echo "$0: # is hdlists update successful?"
   [ "$?" == "0" ] || { echo "$0: can't get hdlists"; exit; }

  echo "$0: # do update"
   for i in 1 2 3; do
      urpmi --wget --auto-update --auto --no-verify-rpm --replacefiles
   done

   echo "$0: # is update successful?"
   [ "$?" == "0" ] || { echo "$0: you need to manually resolve urpmi errors and run script again"; exit; }
}

update2010() {

   echo "$0: # remove all media"
   urpmi.removemedia -a || { echo "$0: can't remove media."; exit; }

   echo "$0: # add distrib media"
   for i in 1 2 3; do
      urpmi.addmedia --wget --distrib --mirrorlist "http://mirror.yandex.ru/mandriva/official/2010.2/$a/" && break
   done

   echo "$0: # is adding media successful?"
   [ "$?" == "0" ] || { echo "$0: can't add media."; exit; }

   echo "$0: # update to 2010.2"
   dourpmiupdate
   
   echo "$0: # add 2011 media"
   for i in 1 2 3; do
      urpmi.addmedia --wget --distrib --mirrorlist "http://mirror.yandex.ru/mandriva/official/2011/$a/" && break
   done

   echo "$0: # is adding media successful?"
   [ "$?" == "0" ] || { echo "$0: can't add media."; exit; }

   echo "$0: # update to 2011"
   dourpmiupdate
}

update2011() {

   echo "$0: # remove all media"
   urpmi.removemedia -a || { echo "$0: can't remove media."; exit; }

   echo "$0: # add 2011 media"
   for i in 1 2 3; do
      urpmi.addmedia --wget --distrib --mirrorlist || \
      urpmi.addmedia --wget --distrib --mirrorlist "http://mirror.yandex.ru/mandriva/official/2011/$a/" && break
   done

   echo "$0: # is adding media successful?"
   [ "$?" == "0" ] || { echo "$0: can't add media."; exit; }

   echo "$0: # update"
   dourpmiupdate

   # may be unneeded, but once i have a problem with undefined symbols
   ldconfig
}

usage

echo "$0: # get arch of distro"
a=$(sed -r 's/.*arch=([^,]+).*/\1/' /etc/product.id)

echo "$0: # check for root"
[ "$UID" == "0" ] || { echo "$0: you must be root"; exit; }

flag=0

echo "$0: # get version of distro"
v=$(sed -r 's/.*version=([^.]+).*/\1/' /etc/product.id)
[ "$v" == "2010" -o "$1" == "--force" ] && { flag=1; update2010; }

v=$(sed -r 's/.*version=([^.]+).*/\1/' /etc/product.id)
[ "$v" == "2011" ] && { flag=1; update2011; }

[ "$flag" == "0" ] && { echo "$0: your distro is $v. this script for update 2010 to 2011 only."; exit; }

echo "$0: # really done! congratulations!"
echo "$0: # reboot your computer and hold your breath!"


It tells me that everything is done so I can reboot now :pray: Rolf! gimme the drum role smiley please.....
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Mandriva

Postby viking60 » 07 Oct 2011, 23:56

Uh is not something supposed to change? Doing a CLI update asks a lot of questions and come up with an error. I am going to ignore it an go on anyway - That's what Berserks do :berserkf

And I get

Code: Select all

Installerer packagekit-gtk-module-0.6.16-2-mdv2011.0.x86_64.rpm db51-utils-5.1.25-5-mdv2011.0.x86_64.rpm fra /var/cache/urpmi/rpms
Installasjon mislyktes:   libgfortran3 <= 4.5.2 conflicts with gcc-4.6.1-3.1.x86_64
   perl-base >= 2:5.12.3 is needed by perl-MDV-Distribconf-4.03-1.noarch
   perl-base >= 2:5.12.3 is needed by perl-CPANPLUS-Dist-Build-0.560.0-1.noarch
   packagekit >= 0.6.16-2 is needed by packagekit-gtk-module-0.6.16-2.x86_64
   db51_recover = 5.1.25-5:2011.0 is needed by db51-utils-5.1.25-5.x86_64
   libdb-5.1.so()(64bit) is needed by db51-utils-5.1.25-5.x86_64
   libdb_sql-5.1.so()(64bit) is needed by db51-utils-5.1.25-5.x86_64

It means :liar: But I am not giving up so I will reboot now to see I this thing is 2011......
And it certainly is not! No trace of anything from 2011. And it is not possible to add the Rosa panels in KDE. I have ended up with a probably broken version of 2010.2. Like the last time.

I think it is safe to say now that I will not be able to upgrade like this. And I have to much stuff going on in 2010.2 to just make a fresh install of 2011.
Since I have a backup: Are there any crazy things you want me to try before I play it back? I am falling on my nose (or back) for you guys here - So I might as well do it properly :-D
I an not creative today so I will just run the script again.......
....And no luck.
I will burn me a mandriva 2011 CD now and install it while I keep my home directory....
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"


Return to “The Mandriva family”