Re: [Cooker] rpmnew?

2002-08-28 Thread FACORAT Fabrice

Le Mercredi 28 Août 2002 13:33, Robert Fox a écrit :
 Some files were changed with .rpmnew

 RPMDRAKE didn't say which files and although I found them, what are we
 supposed to do with them?  Replace the older version?  this would not be
 so clear for a newbie!

the answer is not simple.
you customise a config file, if rpm replace it you need to redone everything. 
But with a new version of the prog your old config file may be 
obsolete/incompatible, but as you have the new have you can recustomise the 
new one.
Imagine each time I upgrade samba , rpm replace my smb.conf,... that's a pain.
But with smb.conf.rpmnew I can for example add support for winbind ( as there 
is more example ), etc ...

-- 
Avoid multiple exits from loops.
- The Elements of Programming Style (Kernighan  Plaugher)





Re: [Cooker] rpmnew?

2002-08-28 Thread Guillaume Cottenceau

[EMAIL PROTECTED] (Robert Fox) writes:

 Some files were changed with .rpmnew
 
 RPMDRAKE didn't say which files and although I found them, what are we
 supposed to do with them?  Replace the older version?  this would not be
 so clear for a newbie!

yep there is a bug that displays the dialog even when no .rpmnew
are found. it'll be fixed soon, in -12mdk.


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/




Re: [Cooker] rpmnew?

2002-08-28 Thread Philippe Coulonges

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le Mercredi 28 Août 2002 13:57, FACORAT Fabrice a écrit :
 Le Mercredi 28 Août 2002 13:33, Robert Fox a écrit :
  Some files were changed with .rpmnew
 
  RPMDRAKE didn't say which files and although I found them, what are we
  supposed to do with them?  Replace the older version?  this would not be
  so clear for a newbie!

 the answer is not simple.
 you customise a config file, if rpm replace it you need to redone
 everything. But with a new version of the prog your old config file may be
 obsolete/incompatible, but as you have the new have you can recustomise the
 new one.
 Imagine each time I upgrade samba , rpm replace my smb.conf,... that's a
 pain. But with smb.conf.rpmnew I can for example add support for winbind (
 as there is more example ), etc ...

Something could be done. Let's get clear we are not talking about the current 
release here.
We could have MD5sums of config files installed stored somewhere, so we can 
check if that file has been modified or not. This way, files unmodified could 
be replaced by new ones and the user/admin would have only the truly modified 
files to check.

CU
CPHIL

- -- 
Forgive him, for he believes that the customs of his tribe are the laws
of nature!
-- G.B. Shaw
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD4DBQE9bSCdYJwqltj/jHgRAm6fAJ92RZUzAbMntrkzMHy00/32lFCeMwCYn5eR
HZ570d/IZ4uLOQ3ADrzaqw==
=76bo
-END PGP SIGNATURE-