Re: testing rpms on Debian

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

 



David Hugh-Jones wrote:
> I'm developing an RPM file for my application. Now I would like to
> test it but I am running Debian and alien. I want to test the actual
> %post and %preun scripts, but alien won't let me run them. Is there a
> way round this?

The man page for alien says:

       -c, --scripts
	   Try to convert the scripts that are meant to be run when
	   the pack age is installed and removed.  Use this with
	   caution, becuase these scripts might be designed to work on
	   a system unlike your own, and could cause problems.  It is
	   recommended that you examine the scripts by hand and check
	   to see what they do before using this option.

	   This is enabled by default when converting from lsb packages.

But beware that the policies differ for these distros and I think it
very unlikely that %post and %preun scripts would be at all suitable
for both.  That is why this option is disabled by default.

Bob

_______________________________________________
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