Russell Davie wrote:
>Hi
>thanks for ximian red carpet, it rocks!
>though red-carpet-1.2.1-ximian.2.i586.rpm can't seem to upgrade RPM 3 to 4,
>or upgrade to more recent Mandrake; maybe coz its built for mdk 7.0. the
>attempting to use red-carpet-1.3.4-1.ximian.3.i586.rpm for mdk 8.2 will not
>install, as dependency failures with glibc, rpm etc
>
>Slug archives disguss deb upgrade from RPM3 to 4 and I couldn't find mention
>of using RH rpm to upgrade from RPM 3 to 4, or in other linux lists, even mdk
>lists.
>
>a little ironic....
>
>maybe I get a set of Mdk 8.2 cds
>or just grin and bear it and migrate to deb.....
>
Wait a moment! there's no need to do that.
Mandrake 8.2 is much newer than 7.0, and probably worth the upgrade but
if you're having dependency problems, use URPMI, or apt-get for rpm.
I saw your above post. If you've downloaded all those RPMs, then don't
bother telling it just to upgrade RPM, tell it to upgrade everything with
rpm -Uvh *.rpm
I'd recommend being consistent in your rpm usage though. RPM is (mostly)
resilient enough to deal with rpm's from other distros if they meet the
dependencies, but you'll find that other distros will build stuff for
other versions of libc and such and it starts to get hard to find
packages that match your system.
RPM will happily upgrade RPM - from rpms. I've upgraded from 3.x to 4.03
and more recently from 4.03 to 4.04. You will need to meet the
dependencies though. You will need to install all that stuff it's asking
for. If I were you I'd do it all in one go.
Unfortunately, unlike debian, mandrake and redhat aren't generally set
up to do software updates like this out of the box. It's not too hard to
get them to do it but it is a pain because generally to bootstrap the
process you have to do that first step manually (only because RPM based
distros have only started using auto-dependency finding package managers
fairly recently). The way I generally go about it is to try to upgrade
the package manager for the distribution in question - so RPM in this
case. I download the version of RPM that ships with the latest version
of my chosen distro. RPM will almost certainly bitch about all of the
stuff which is "core" to the system. It will want to upgrade libc, perl,
python - the stuff which just about everything uses. I go off and queue
all those dependencies for download, leave my computer alone for a
while. Run rpm -Uvh on those rpms. It may or may not complain about
further missing dependencies. Download them if necessary. RPM will also
complain about missing file dependencies. An easy way to find *most* of
those dependencies is
rpm -qf $(locate file)
where file is the file in question. It will give you a list, download
that stuff, install it.
At some point it runs out of things to complain about and actually
completes the upgrade. Then grab RPMS for either URPMI or apt-get.
Install them. If you're being consistent in RPM usage (as mentioned
above), odds are there will be few or no dependencies to satisfy. Then
you can use either of those tools to install everything else.
Or, you can try your luck and try installing an old version of apt-get
or URPMI and asking it to do the upgrade. It should work - just don't do
what I did and "upgrade" to an "experimental" version of urpmi. What
distro were you running?
If you do actually get to the end of this, it's worth it because
installing and upgrading stuff is as simple as
urpmi <programname>
I've been using it to install a whole lot of dvd playing software this
evening and it's all "just worked" (well, the install did, I can't say
as much for the dvd playing software :))
But to do that was just
urpmi vlc
urpmi mplayer
urpmi xine-alsa
I'm currently asking urpmi to upgrade urpmi. I'll post to the list and
let you know how it goes. IIRC urpmi will quite happily upgrade urpmi
once it's actually installed. If it does work,
It's a shame that mandrake and redhat and co don't ship with this stuff
set up. They really shouldn't have that many problems using debian
sources either, but evidently they think that's a bad idea or something.
I love my Mandrake but it's a shortcoming which has been irritating me
for a few years now.
HTH
James.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug