Re: rpm installation inside another rpm - database locked [wd-vc]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Johnson wrote:

On Dec 22, 2005, at 3:09 PM, dkegel wrote:

Sorry, I don't think you can install RPMs from inside another RPM.


You're wrong.

As long as concurrent access to /var/lib/rpm is enabled (the default since rpm-4.1),
then one can run rpm -q (and rpm -Uvh) in %post.

Sure, non-ancient rpm makes it possible. Whether it's a good idea though ... I've yet to see a single case where installing an rpm from within another made any sense to begin with.

It seems that most of the Commercial Vendors are having a contest of finding the worst ways to abuse rpm. One of my favorites is
1) install an rpm from Vendor site
2) you look at the contents and find a tarball + a script somewhere in /usr/src/
3) you run a script installed by that rpm as per Vendor instructions
4) the script creates another rpm which creates something you can actually use 5) the rpm created by the script installs a tarball somewhere in /usr/src...
6) have you ever seen the movie "Groundhog Day"?

	- Panu -

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux