|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Tips, Tricks & Tweaks Post your tips, tricks and tweaks about SuSE Linux in here. Please do not ask questions here - this is for factual information |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
You can add repos to rpm by following the man page for rpmcache. http://linux.die.net/man/8/rpmcache
Quote:
Now with rpmcache set with repos, you can issue the rpm -U * command, and it will upgrade the packages on your system based off the repos you have added. Enjoy this tip
|
|
|||
|
dang,Excellent tip. tried it & it worked a treat.faster than yast as well
andy |
|
|||
|
Quote:
Now if I could build a GUI for this (rpmgui ?), to make it even easier. |
|
|||
|
good luck, if you can i'd be more than interested in testing.my programming skills are next to nothing now, have enough trouble programming the dvd recorder these days
andy |
|
|||
|
Here is more information on rpm macros http://docs.fedoraproject.org/drafts/rpm-g...mizing-rpm.html
Rpm macros allows you to control rpm, the way you'd like. It is part of rpmcache, which I gave above. There are 3 places you may find the rpm macros; 1) /etc/rpm 2) /usr/lib/rpm 3) ~/.rpmmacros I'd speculate, that the 3rd one is not created by default. The 3rd one would be good to customize per user, instead of global/system wide customizations. I have an example of an rpm macros from my openSUSE 10.2 box for the kernel, at my site http://thecompletecomputerresource.com/for...pic=134.new#new This one was found in /etc/rpm There is a file called "macros" in /usr/lib/rpm They advise not to make changes to macros in /usr/lib/rpm as it will be over written when rpm is upgraded. The one in /user/lib/rpm is global. The ones in /etc/rpm are for specific packages, such as kernel, gtk, or jpackage. So you can use macros for system wide changes, or for package specific settings, or user based settings. I hopes this helps you gain more control, and understand your rpm distro better. If you have questions or comments, ask. |
|
|||
|
I was asked by someone, "How can downloading entire repos be faster than rpm-md?" So I looked around and asked questions. #rpm is an awesome resource, and jbj__ has been especially helpful. So here is the answer. Edited, so that hopefully it will make some sense.
Quote:
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|