Proper way to upgrade to a single package in Cauldron

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Proper way to upgrade to a single package in Cauldron

Postby zeke » Apr 5th, '13, 20:40

I need the latest version of R-base (2.15) which is in Cauldron, but not MGA2 (v2.14). Because this is a production box, I don't want to upgrade it to the full Cauldron, but if I just try to install that package, I fall down a rabbit hole of dependencies that I don't have.

What is the recommended solution?
zeke
 
Posts: 107
Joined: Jun 14th, '11, 17:42

Re: Proper way to upgrade to a single package in Cauldron

Postby djennings » Apr 6th, '13, 10:45

If installing the cauldron package leads you down a rabbit hole of dependencies, then your only choice is to recompile R-base for mga2.

You can do this either by compiling the tar ball, or my preferred method which is to rebuilt the source rpm (srpm)
There is a guide at https://wiki.mageia.org/en/Packagers_RPM_tutorial

another guide which may be be more useful to you is here https://wiki.mageia.org/en/Packaging_for_beginners

there is a meta package called task-devel (I think) which will install most of what you need.
To add to the guide here are a few tips when rebuilding packages.

1. download the cauldron srpm to ~/rpm/SRPM. install it as user with. rpm -ivh rpmname.srpm
2. move to ~/rpm/SPECS. as root run the command urpmi rpmname.spec. This will install (hopefully) all the dependencies needed to compile

3. As user run rpmbuild -ba rpmname. spec
If all the build dependencies are installed it will compile and place a new rpm in ~/rpm/RPMS


Good luck
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Proper way to upgrade to a single package in Cauldron

Postby doktor5000 » Apr 6th, '13, 17:31

djennings wrote:there is a meta package called task-devel (I think) which will install most of what you need.

If nothing has changed, it's either task-c-devel or task-c++-devel. Both install nearly the same stuff.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest