neddie Posted July 13, 2007 Report Share Posted July 13, 2007 I just realised that I haven't got krename installed, and then when I tried to urpmi it I realised that it's not in the repositories any more. What happened, why did it go? On further looking, I found it in contrib/backports but I'm a bit wary of mixing released stuff and backported stuff together, so I left it. Instead I found gwenrename, which is kind of ok but not quite as powerful as krename, with not quite as many options for building the filenames. And it seems I can only launch it from inside konqueror, I can't just type gwenrename to launch the gui. A bit odd, no? Quote Link to comment Share on other sites More sharing options...
orts Posted July 13, 2007 Report Share Posted July 13, 2007 i've just found Krename in contrib_backports at Mandrivausers.cz So mayby you need to update urpmi or just make contrib_backports active. Quote Link to comment Share on other sites More sharing options...
neddie Posted July 13, 2007 Author Report Share Posted July 13, 2007 On further looking, I found it in contrib/backports but I'm a bit wary of mixing released stuff and backported stuff together, so I left it. Quote Link to comment Share on other sites More sharing options...
dexter11 Posted July 13, 2007 Report Share Posted July 13, 2007 Backported stuff is released stuff. It was just released after the distro came out. So If you don't have a better idea then I suggest to add the backports repo, install krename if doesn't have too many dependencies and then swithch off the backports repo. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted July 13, 2007 Report Share Posted July 13, 2007 Download the source rpm, krename-3.0.14-1.src.rpm, to your home directory from here: http://www.krename.net/Stable.6.0.html The open a console and as root run: # rpmbuild --rebuild krename-3.0.14-1.src.rpm That will automatically build a krename rpm for from the source and dump it in /usr/src/rpm/RPMS/i586. It will also build a "debug" rpm that you don't need. Install the krename rpm by double clicking on it and entering the root password when prompted. Did this myself and it built and installed fine without errors. Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted July 13, 2007 Report Share Posted July 13, 2007 (edited) I too thank you for that handy bit of info Pmpatrick. Now I feel happier about trying src.rpms that I have seen for an application when there wasn't one in straight rpm. Often wondered how to use them but wasn't game. :D Cheers. John. A followup. I just downloaded the krename from Mandriva and even if it was from the backport it doesn't matter because I tried it and it works aok with NO problems. JB. Edited July 13, 2007 by AussieJohn Quote Link to comment Share on other sites More sharing options...
RVDowning Posted July 13, 2007 Report Share Posted July 13, 2007 Geez, I didn't know that either. That goes into my Linux notes. Thanks much. :) Quote Link to comment Share on other sites More sharing options...
dexter11 Posted July 13, 2007 Report Share Posted July 13, 2007 What pmpatrick wrote is actually backporting. So if you don't wanna do that then use the one in the backports repo. It's much easier. Quote Link to comment Share on other sites More sharing options...
adamw Posted July 14, 2007 Report Share Posted July 14, 2007 Yes. It's actually likely safer (and always easier) to use packages from the /backports repositories than to rebuild a .src.rpm yourself. The /backports repositories are expressly intended to be used with a normal 2007 Spring system, which is why they're inside the same tree :). Using /backports is not at all as dangerous as putting Cooker packages into a regular system. We don't officially support /backports packages, but this is just a precaution...in practical terms, they're usually very safe to use. Quote Link to comment Share on other sites More sharing options...
neddie Posted July 16, 2007 Author Report Share Posted July 16, 2007 Thanks for the info, that's helped me understand the backports a bit better. So would I be right in thinking that this was an oversight that krename didn't make it into the "release" for Spring, and that instead of adding it later into "release" or "updates", it got put into "backports" instead? So release for stuff that came out at release time, updates for security fixes / bug fixes for stuff in release, and backports for stuff that came out later, or new major versions (and the stuff they depend on, I guess)? Seems like there's quite a lot of stuff in contrib/backports, but then contrib is enormous anyway so I guess that could make sense. And a question about that rpmbuild command - I assume that does the same as a configure and make to compile it all, so you'd need to have all the devel libraries installed too. So it could get kind of interesting if the compile needs a different version of some devel library to link against? Quote Link to comment Share on other sites More sharing options...
adamw Posted July 16, 2007 Report Share Posted July 16, 2007 neddie, yes, that's exactly right. .src.rpm's include information about the -devel packages they need to build. If you try and build one without the necessary -devel packages installed, it will refuse and tell you. If you do 'urpmi file.src.rpm', it will install all the necessary dependencies to build the package (which is confusingly different from the normal behaviour of urpmi, admittedly, but on the other hand is really useful :>) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.