Installation of Fedora over SuSE

Jason Shein jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
Mon Mar 7 21:40:20 UTC 2005


On March 7, 2005 08:19 pm, CLIFFORD ILKAY wrote:
> On March 7, 2005 13:17, William Park wrote:
> > On Mon, Mar 07, 2005 at 11:11:13AM -0500, Lennart Sorensen wrote:
> > > > Slackware doesn't have any dependency problem, because it doesn't do
> > > > dependency check at all. :-)  To upgrade, back up modified files (you
> > > > do that anyways), wipe clean, do full install, restore backed files.
> > >
> > > Which always sounds like such a waste of time, when Debian has proven
> > > it can be much simpler, when dependencies are done right.  I sure don't
> > > have the patience or time to run slackware anymore.  I used to, many
> > > many years ago.  Some people still enjoy that way of doing things
> > > though, and I used to.  I don't anymore.
> >
> > Consider this situation.  Package XXX installs /etc/rc.d/rc.xxx script.
> > You modified it, so that it calls other scripts that you wrote, like
> >     [ -x /etc/rc.d/rc.xxx-1 ] && . /etc/rc.d/rc.xxx-1
> >     [ -x /etc/rc.d/rc.xxx-2 ] && . /etc/rc.d/rc.xxx-2
> >     [ -x /etc/rc.d/rc.xxx-3 ] && . /etc/rc.d/rc.xxx-3
> >
> > So, with standard "install+restore" method, you need to backup 4 files
> >     /etc/rc.d/rc.xxx -- original + your editing
> >     /etc/rc.d/rc.xxx-1 -- your script
> >     /etc/rc.d/rc.xxx-2 -- your script
> >     /etc/rc.d/rc.xxx-3 -- your script
> > as part of your normal incremental backup.  Then, after install, just
> > copy them back.
> >
> > How will .deb/.rpm handle this situation, when upgrading in "in-place"?
>
> That is handled several ways in Mandrake. To minimize the need for
> modifying files related to Apache, for example, there is the webapps.d
> directory where you can put your custom Apache related conf files. So,
> indirection is one way. The other is similar to what Lennart mentioned with
> Debian, i.e., Mandrake will, depending on your preference, either save the
> old conf file as conf_file.rpmold and install the new one or save the new
> conf file as conf_file.rpmnew and preserve the old conf file in place.

Gentoo does this extremely well.

from the command line you run

bash-2.05b# find /etc -iname '._cfg????_*'

and it will return something like:

/etc/._cfg0000_inputrc
/etc/._cfg0000_rc.conf
/etc/._cfg0000_make.conf
/etc/._cfg0000_make.globals
/etc/._cfg0000_DIR_COLORS
/etc/conf.d/._cfg0000_net
/etc/init.d/._cfg0000_consolefont
/etc/init.d/._cfg0000_checkfs
/etc/init.d/._cfg0000_domainname
/etc/init.d/._cfg0000_keymaps
/etc/init.d/._cfg0000_net.eth0
/etc/init.d/._cfg0000_modules
/etc/init.d/._cfg0000_clock
/etc/init.d/._cfg0000_hdparm
/etc/init.d/._cfg0000_bootmisc
/etc/init.d/._cfg0000_halt.sh
/etc/init.d/._cfg0000_serial
/etc/init.d/._cfg0000_checkroot
/etc/._cfg0000_services
/etc/._cfg0000_fstab
/etc/._cfg0000_group
/etc/._cfg0000_hosts
/etc/._cfg0000_issue
/etc/._cfg0000_dispatch-conf.conf
/etc/._cfg0000_shells

These are the config files that are in need of possible updates.

There is an app called etc-update that you can run after updates that will 
enable you to interactively update your config files or you can do it 
manually with diff.


-- 
Jason Shein
Director of Networking, Operations and Systems
Detached Networks
jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
( 905 ) - 876 - 4158 Voice
( 905 ) - 876 - 5817 Mobile
http://www.detachednetworks.ca
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list