Re: Not such a smooth upgrade to 2011... Help?

Brian Schroeder <[email protected]> Sat, 22 Oct 2011 19:34:08 +1030
Newsgroups gmane.linux.mandrake.expert
Message-ID <[email protected]>
David Guntner wrote:
> Easy upgrade from 2010.1 (well, .2 really) to 2011, my ass. :-)
> 
> I had a mess of problems trying to get urpmi to update, so I managed to
> finally force it to update urpmi & supporting programs upgraded.
> However, when doing a:
> 
> urpmi --auto-update --replacefiles -v


Hi David,

I recently did an upgrade from 2010.2 to 2011.  This was the worst
upgrade I have ever experienced!  It was painful.  Running a standard
boot-install and selecting the upgrade option died before it started.

I didn't get the same errors as you but what I had to do was repeated
applications of

urpmi --auto-update --replacefiles -v

and the gui installer - switching from one to the other whenever I
seemed to run into a brick wall.  There were also certain packages that
would not update and which caused major dependency issues.  What I had
to do in these cases was to

rpm -e --nodeps  OLD_PACKAGE
urpmi NEW_PACKAGE

Sometimes there were problems with this too, and then it would be back
to the command-line/gui install roundabout a few more times and then
urpmi NEW_PACKAGE   again.


Eventually I managed to get past all the dependency issues, and
"urpmi --auto-update --replacefiles -v"  worked properly to run through
all the rest.

Once that was all done, it was a matter of listing all the 2009 and
2010 packages and one at a time try to remove them.  If they just
disappeared then fine.  If they threw up 2011 package dependencies I
then had to get that sorted.

Oh, and before I started  I downloaded most of the directory tree from
my local mirror onto a 1T USB disk to install from.  And I also needed
"rpm --rebuilddb" at one stage too.

As you may imagine, I was actually quite surprised when I got
everything working in the end.

I know this doesn't exactly answer your questions, but I hope it will
help you with your upgrade.

Brian.