[SLE] Updating SuSE packages with tarballs
I've retrieved the newest version of the tcl package (but it could be any package) from its website. The package is in the form of a tarball (a .tgz file). I'm not expecting any particular problems in installing it. However, older versions of tcl are also part of the SuSE distribution. I'm interested in opinions on the best way to install the tarball so that I can update it in the future with newer SuSE distributions. The problem is how to get everything coordinated, since Yast and its package records don't know about the files that come from the tarball. This is really a very general problem: how to integrate packages from SuSE and from other sources so that updates always work smoothly. I'm looking for a good strategy. Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
* Paul W. Abrahams (abrahams@mbs.valinet.com) [20000125 15:12]:
This is really a very general problem: how to integrate packages from SuSE and from other sources so that updates always work smoothly. I'm looking for a good strategy.
The best way is creating your own rpms. Roughly, these are the steps:
- install the source rpm for a given package.
- check if the patches in the package (if any) still apply.
- edit the .spec file to match the new Version (filelist, filenames,
versions etc.) .
- If compiling on your system, change the spec file to use a buildroot, as
this will prevent rpm to install into the running system before creating
the binary rpm.
- If all is as needed, do a 'rpm -ba /path/to/specfile'. This will build
both the binary as well as the source RPM.
You now have a binary package you can install and deinstall via rpm and it
won't be overwritten unconditionally if you update.
Philipp
--
Philipp Thomas
Hi, On Tue, 25 Jan 2000, Philipp Thomas wrote:
* Paul W. Abrahams (abrahams@mbs.valinet.com) [20000125 15:12]:
This is really a very general problem: how to integrate packages from SuSE and from other sources so that updates always work smoothly. I'm looking for a good strategy.
The best way is creating your own rpms. Roughly, these are the steps:
- install the source rpm for a given package. - check if the patches in the package (if any) still apply. - edit the .spec file to match the new Version (filelist, filenames, versions etc.) . - If compiling on your system, change the spec file to use a buildroot, as this will prevent rpm to install into the running system before creating the binary rpm. - If all is as needed, do a 'rpm -ba /path/to/specfile'. This will build both the binary as well as the source RPM.
You now have a binary package you can install and deinstall via rpm and it won't be overwritten unconditionally if you update.
Shameless plug: my Red Book also covers this briefly in the LDAP chapter :) See http://www.suse.de/~grimmer/redbook for a PDF. Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer 90443 Nuernberg, Germany -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Tue, 25 Jan 2000, Lenz Grimmer wrote:
Shameless plug: my Red Book also covers this briefly in the LDAP chapter :)
See http://www.suse.de/~grimmer/redbook for a PDF.
I've printed about half of it out so far. Looks great! Thanks, Greg -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Philipp Thomas wrote:
* Paul W. Abrahams (abrahams@mbs.valinet.com) [20000125 15:12]:
This is really a very general problem: how to integrate packages from SuSE and from other sources so that updates always work smoothly. I'm looking for a good strategy.
The best way is creating your own rpms. Roughly, these are the steps:
- install the source rpm for a given package.
How do I locate the source rpm on the SuSE distribution CD's? Yast doesn't show source rpm's as far as I can tell, and I don't know what they're called. (I'm using SuSE 6.2.) Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Tue, 25 Jan 2000, Paul W. Abrahams wrote:
How do I locate the source rpm on the SuSE distribution CD's? Yast doesn't show source rpm's as far as I can tell, and I don't know what they're called. (I'm using SuSE 6.2.)
There is a separate package series in YaST (scroll all the way down), it includes all the source RPMs. Alternatively you can just mount CD5 or CD6 and use rpm directly to install the packages below "suse/zq1/". Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer 90443 Nuernberg, Germany -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi.
At 16:03 on 25 Jan 00, Paul W. Abrahams begun to yabber about "Re:
[SLE] Updating SuSE packages wi"
Date sent: Tue, 25 Jan 2000 16:03:46 -0500
From: "Paul W. Abrahams"
How do I locate the source rpm on the SuSE distribution CD's? Yast doesn't show source rpm's as far as I can tell, and I don't know what they're called. (I'm using SuSE 6.2.)
Look in the "zq1" and "zq2" series.. They are on the last two cd's i think :) Cya Matthew Matthew King: Sys Admin, Quakers Hill High School. My ICQ#: 2342475 Message me! Cellular Phone: +61 415 257 516 E-Mail: noodle@penguinpowered.com Homepage: http://www.penguinpowered.com/~noodle/ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d+ s: a--- C++++ UL++++ P+ L+++ E---- W++ N++ o++ K w O- M- V- PS+ PE Y+ PGP- t+ 5++++ X++ R+ tv++ b+++ DI+++++ D++ G+++ e* h* r++ y+ ------END GEEK CODE BLOCK------ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (5)
-
abrahams@mbs.valinet.com
-
ethant@earthlink.net
-
grimmer@suse.de
-
noodle@penguinpowered.com
-
pthomas@suse.de