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.
Thanks
On Tue, 2013-01-01 at 15:37 -0500, Frank McCormick wrote:
Having come from Debian unstable, the switch to YUM from Aptitudeis 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.
Thanks
What do you mean by reconfiguring a package?
On 01/01/2013 04:21 PM, Aaron Konstam wrote:
On Tue, 2013-01-01 at 15:37 -0500, Frank McCormick wrote:
Having come from Debian unstable, the switch to YUM from Aptitudeis 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.
Thanks
What do you mean by reconfiguring a package?
In console-setup for example in Debian you can pick a console font etc by using dpkg-reconfigure. I was asking if there is a Fedora equivalent.
On Tue, 01 Jan 2013 15:37:11 -0500, Frank McCormick wrote:
Having come from Debian unstable, the switch to YUM from Aptitudeis 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.
No. Something like dpkg-configure and debconf is not used by RPM packages.
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 Aptitudeis 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.
No. Something like dpkg-configure and debconf is not used by RPM packages.
-Yes....I know that...I was asking if there is a Fedora equivalent.
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 Aptitudeis 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.
No. Something like dpkg-configure and debconf is not used by RPM packages.
-Yes....I know that...I was asking if there is a Fedora equivalent.
No. As I wrote, _something like_ that is not used by RPM packages. RPM packages are not supposed to be interactive during installation. And once installed, you don't work on "packages" anymore, but with the files that belong to the package. That is, either the package contains some sort of configuration tool to run, or you edit config files that are marked as such (so RPM can handle them in special ways during package updates).
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 Aptitudeis 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.
No. Something like dpkg-configure and debconf is not used by RPM packages.
-Yes....I know that...I was asking if there is a Fedora equivalent.No. As I wrote, _something like_ that is not used by RPM packages. RPM packages are not supposed to be interactive during installation. And once installed, you don't work on "packages" anymore, but with the files that belong to the package. That is, either the package contains some sort of configuration tool to run, or you edit config files that are marked as such (so RPM can handle them in special ways during package updates).
OK, sorry misunderstood what you wrote (obviously). I am still feeling my way around Fedora. There are enough differences to make it hard at times.
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 Aptitudeis 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.
No. Something like dpkg-configure and debconf is not used by RPM packages.
-Yes....I know that...I was asking if there is a Fedora equivalent.No. As I wrote, _something like_ that is not used by RPM packages. RPM packages are not supposed to be interactive during installation. And once installed, you don't work on "packages" anymore, but with the files that belong to the package. That is, either the package contains some sort of configuration tool to run, or you edit config files that are marked as such (so RPM can handle them in special ways during package updates).
OK, sorry misunderstood what you wrote (obviously). I am still feeling my way around Fedora. There are enough differences to make it hard at times.
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 Aptitudeis 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