Reconfiguring packages

David G. Miller dave at davenjudy.org
Thu Jan 3 18:43:19 UTC 2013


Frank McCormick <beacon <at> videotron.ca> writes:
> On 02/01/13 04:22 AM, Michael Schwendt wrote:
> > On Tue, 01 Jan 2013 20:03:33 -0500, Frank McCormick wrote:
> >> On 01/01/2013 04:26 PM, Michael Schwendt wrote:
> >>> On Tue, 01 Jan 2013 15:37:11 -0500, Frank McCormick wrote:
> >>>>        Having come from Debian unstable, the switch to YUM from Aptitude
> >>>> is a bit disconcerting for me. So far I have managed but i have a
question.
> >>>>
> >>>> In Debian, a package can be reconfigured (package such as console-setup)
> >>>> using dpkg-reconfigure. Can the same thing be accomplished
> >>>> in Fedora. I have 2 Fedora installations, 17 and 18.

SNIP

> > No. As I wrote, _something like_ that is not used by RPM packages

SNIP

> 
There actually are a couple of possibilities but I'd suggest getting used to
Fedora "out of the box" first.  You will probably find that whatever you wanted
to change at install time can be changed through a configuration file or is a
one time action that you can take care of after the installation. 

There are two levels of customization that rpm and rpm packages support outside
of yum:

1) Look at the man page for rpm.  It's possible that whatever customization you
want can be accomplished by downloading the rpm(s) and then using rpm command
line switches to override the package defaults.

2) Even more intrusive: rpm packages can be "disassembled" using cpio.  You can
then reassemble the package anyway you want using rpmbuild.  This is definitely
not for the feint of heart.

As usual, if you break it, you get to keep the pieces.  The packages and any
dependent packages assume the "standard" installation.  Any changes you make can
break these dependencies in strange and not obvious ways.

Cheers,
Dave



More information about the users mailing list