Most Ubuntu and Debian packages, are indeed silent by default. However, the fact that RPM's own post-install capabilities are atrocious compared to dpkg's is completely the fault of the RPM developers and maintainers, and has a lot to do with distro policies, in particular Fedora. It is something that I am unhappy about, but I am resigned to having to deal with the trade-off of a better-designed system being purposefully not as powerful for distro philosophy reasons. And no, I will not attempt to submit patches to add more powerful post-install capabilities. Even if I had the technical knowledge to do it, it would never be accepted because the devs wouldn't want that feature.
Calling it a misfeature is a mistake. Just because you don't want to use it doesn't mean it shouldn't be there. There are several use-cases where it is optimal to have some sort of post-install. In my opinion, post-install is the one thing that dpkg is better at over rpm. On Wed, Jul 13, 2011 at 9:52 PM, Evandro Giovanini <efgiovan...@gmail.com>wrote: > On Wed, Jul 13, 2011 at 2:04 PM, Richard W.M. Jones <rjo...@redhat.com> > wrote: > > On Wed, Jul 13, 2011 at 10:57:03AM +0200, Olivier Sallou wrote: > >> I create a new package. > >> At install, we need to ask for some quesitons to the user to > >> preconfigure the application. > > > > As others have said, this is a bad idea and not permitted for Fedora. > > Personally I think it's a misfeature of apt/dpkg that updates are not > > completely automated by default. > > > > Nevertheless, it *is* possible to write an RPM which asks questions > > during the %post script, and in fact I have used RPMs which did this > > in the past (a bit of proprietary software where installation required > > a license key to be entered on the keyboard as part of the EULA). > > > > > > AFAIK it's also possible to setup apt/dpkg to be completely automated. > > Evandro > -- > devel mailing list > devel@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/devel >
-- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel