... The basic dependency -is- observed; in other words, I can't install mysql without also installing ncurses and gpm. But the install order isn't right. Mysql...
Aaron Hanson
a.hanson@...
Jun 1, 2005 6:42 pm
26278
... You never say what version of rpm you are using. Full rpm -qpR and --provides -qp on all packages involved would be helpful Doing rpm -Uvv will give you...
Paul Nasrat
pnasrat@...
Jun 1, 2005 6:58 pm
26279
... that's why calling the contents of a package as part of the postinstall is discouraged: I don't think there's any promise of precise install order. ...
Wichmann, Mats D
mats.d.wichmann@...
Jun 1, 2005 6:59 pm
26280
... Here is some of that information: [aaron@maxwell]$ rpm --version RPM version 4.2.3 [aaron@maxwell]$ rpm -qpR ...
Aaron Hanson
a.hanson@...
Jun 1, 2005 8:44 pm
26281
Hello, all - I have a unique situation here. Upon installation of my RPM, I need to run a command, that is unable to take command-line arguments, and need to...
dan
info@...
Jun 1, 2005 8:49 pm
26282
... [...] ... Depends. If the questions are known and unconditional, it's much simpler to use a simple here document. For example, assume your ...
Jim Knoble
jmknoble@...
Jun 1, 2005 9:06 pm
26283
... Jim - I think this is exactly what I'm looking for. I was just not certain that text could be input in that mannerm, using cat. I'll toy around with it. ...
dan
info@...
Jun 1, 2005 9:14 pm
26284
... And what happens if someone uses a non rpm cli to do the install (rpmlib) potentially via a gui, or via kickstart. rpm installs are designed to be...
Paul Nasrat
pnasrat@...
Jun 1, 2005 9:14 pm
26285
... Then the postinstall script runs, and somecommand runs and gets its input programmatically from a here document or an expect script and ... it's the same...
Jim Knoble
jmknoble@...
Jun 1, 2005 9:40 pm
26286
... he doesn't mean %post install. he means after the whole transaction is done. # rpm -ivh someshit.rpm someshit ############################### 100% #...
seth vidal
skvidal@...
Jun 1, 2005 9:42 pm
26287
... The RPMs in question are completely proprietary, and we will have a department that does all the setup and installation. If there is any tweaking needed,...
dan
info@...
Jun 1, 2005 9:47 pm
26288
... Seth - Sure, bit I want someshit-config to be included in the RPM. I guess it's up to me to draw the line between the number of packages and the ...
dan
info@...
Jun 2, 2005 1:47 am
26289
... and what we're saying is that if someshit-config, called from %post has to have user interaction then it WILL break when someone installs the package using...
seth vidal
skvidal@...
Jun 2, 2005 3:45 am
26290
In my understanding, autoreqprov do not know what you will do in %post scripts. If you know the %post scripts depends on something, maybe you need to add in...
Ricky Deng
shtang@...
Jun 2, 2005 7:10 am
26291
... What you write, Seth, is correct. However, dant's original post had to do with automating the configuration process within a %post scriptlet; he proposed...
Jim Knoble
jmknoble@...
Jun 2, 2005 1:58 pm
26292
... Whom do you mean by "he"? Paul Nasrat (a responder), or dant (the original poster)? dant put in his subject "%postin hackery", by which it seems fairly...
Jim Knoble
jmknoble@...
Jun 2, 2005 2:02 pm
26293
Hi all, New rpmbuild user here (building a binary package). Correct me if I'm wrong: the %install section of the spec file gets executed both at "rpmbuild -bb"...
Kolev, Nik
NKolev@...
Jun 6, 2005 6:05 pm
26294
... That's incorrect; %install gets executed at package build time, not when the package is installed via -i, -U, or -F. Tim -- Tim Mooney...
Tim Mooney
mooney@...
Jun 6, 2005 6:07 pm
26295
... OK. What, then, tells "rpm -i|U|F" what to do (which directories to create if missing, which files to put there, etc). -nik ...
Kolev, Nik
NKolev@...
Jun 6, 2005 6:16 pm
26296
... Do you want the internal technical details, or the practical answer? The practical answer is "the %files section". -- Matthew Miller...
Matthew Miller
mattdm@...
Jun 6, 2005 6:18 pm
26297
... aha, So the %install tells rpmbuild how to assemble the package, and the %files tells "rpm -i|U|F" what to put and where to put it, and what perms do...
Kolev, Nik
NKolev@...
Jun 6, 2005 6:35 pm
26298
... Internally, I have users that when the first start using rpm are mystified by %install, mainly because its a whose name makes you think its an install time...
James Olin Oden
james.oden@...
Jun 6, 2005 9:31 pm
26299
Greetings, I'm a total newbie to rpmbuild. I've read several tutorials on how to build a binary RPM and I can't seem to get past some simple errors at the...
Frank W. Miller
fwmiller@...
Jun 7, 2005 1:51 am
26300
... RPM is looking for all your "build" directories in the default location. Add: %_topdir path_to_your_sip_rpm_directory to ~/.rpmmacros, and then give it...
James Olin Oden
james.oden@...
Jun 7, 2005 2:13 am
26301
OK, this is good. We're making progress now I think. I put in a .rpmmacros and set my %_topdir macro as suggested by you and another responder (Thanks!) I...
Frank W. Miller
fwmiller@...
Jun 7, 2005 2:49 am
26302
... Good so far. But add this line: BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot _tmppath will be something like /var/tmp and the others follow to ...
Bob Proulx
bob@...
Jun 7, 2005 8:03 am
26303
... Ownership yes, but whats problem with specifying permissions in the install time ? Valery ... __________________________________________________ Do You...
Valery Reznic
valery_reznic@...
Jun 7, 2005 9:17 am
26304
... [...] ... It's useless to specify permission modes and ownership at %install time. This again forces the build process to be executed as root. The right ...
Marco Colombo
rpm-list@...
Jun 7, 2005 9:19 am
26305
... Oops, hit send too soon... you may want to add the following line too: %dir %{_sysconfdir}/sip to the %files section, so that the directory 'sip' belongs...
Marco Colombo
rpm-list@...
Jun 7, 2005 9:28 am
26306
... In fact at %install time you're supposed to make sure the buildroot can not be modified by another user before packaging and that it doesn't contain...