Re: Y or I, N or O

2005-10-17 Thread Joseph Haig

--- Ken Bloom <[EMAIL PROTECTED]> wrote:

> Joseph Haig wrote:
> > --- Oliver Elphick  wrote:
> > 
> > 
> >>On Wed, 2005-10-12 at 10:49 +0100, Joseph Haig wrote:
> >>
> >>>When upgrading with "apt-get upgrade" I get the option to install
> a
> >>
> >>new
> >>
> >>>configuration file or keep the existing one.  The options are
> >>>
> >>>Y or I  : install the package maintainer's version
> >>>N or O  : keep your currently-installed version
> >>>
> >>>Now, I know that with either Y or I and N or O, both old and new
> >>>versions of the file are saved, but it doesn't say which!  Which
> of
> >>
> >>N
> >>
> >>>or O do I need to use to save a copy of the new file?
> >>
> >>Either.
> >>
> >>If you choose Y, the existing configuration file will be saved as
> >>.dpkg-old and replaced by the package's version.
> >>
> >>If you choose N, the existing configuration file will be left
> >>untouched
> >>and the new version will be saved in the same directory under the
> >>name
> >>.dpkg-dist (or .dpkg-new).
> > 
> > 
> > Thanks.  But if this is the case, what do I and O do?
> 
> They decide which one is going to have the original name, right now.
> 
> i.e. if you hit I, the the new one will be called  and the
> old
> one will be called .dpkg-old, and if you start the program
> without changing anything (which is very likely to happen as most of
> the
> programs with global configuration files are daemons which are
> restarted
> immediately), then the package maintainer's configuration will be
> used
> immediately.
> 

Thanks.  What I meant was how does I differ from Y, and O differ from
N, because I originally thought that one option in each case would
delete the unused config file.  Someone has already said that there is
no difference.

Bye,

Joe



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Y or I, N or O

2005-10-16 Thread Ken Bloom
Joseph Haig wrote:
> --- Oliver Elphick  wrote:
> 
> 
>>On Wed, 2005-10-12 at 10:49 +0100, Joseph Haig wrote:
>>
>>>When upgrading with "apt-get upgrade" I get the option to install a
>>
>>new
>>
>>>configuration file or keep the existing one.  The options are
>>>
>>>Y or I  : install the package maintainer's version
>>>N or O  : keep your currently-installed version
>>>
>>>Now, I know that with either Y or I and N or O, both old and new
>>>versions of the file are saved, but it doesn't say which!  Which of
>>
>>N
>>
>>>or O do I need to use to save a copy of the new file?
>>
>>Either.
>>
>>If you choose Y, the existing configuration file will be saved as
>>.dpkg-old and replaced by the package's version.
>>
>>If you choose N, the existing configuration file will be left
>>untouched
>>and the new version will be saved in the same directory under the
>>name
>>.dpkg-dist (or .dpkg-new).
> 
> 
> Thanks.  But if this is the case, what do I and O do?

They decide which one is going to have the original name, right now.

i.e. if you hit I, the the new one will be called  and the old
one will be called .dpkg-old, and if you start the program
without changing anything (which is very likely to happen as most of the
programs with global configuration files are daemons which are restarted
immediately), then the package maintainer's configuration will be used
immediately.

--Ken Bloom

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Y or I, N or O

2005-10-12 Thread Philipp Pagel
Joseph Haig <[EMAIL PROTECTED]> wrote:
> --- Oliver Elphick  wrote:

> > On Wed, 2005-10-12 at 10:49 +0100, Joseph Haig wrote:
> > > configuration file or keep the existing one.  The options are
> > > 
> > > Y or I  : install the package maintainer's version
> > > N or O  : keep your currently-installed version
> > > 

> > If you choose Y, the existing configuration file will be saved as
> > .dpkg-old and replaced by the package's version.
> > 
> > If you choose N, the existing configuration file will be left
> > untouched
> > and the new version will be saved in the same directory under the
> > name .dpkg-dist (or .dpkg-new).

> Thanks. But if this is the case, what do I and O do?

The same - I is a synonym for Y and O for N.

cu
Philipp

-- 
Dr. Philipp Pagel   Tel.  +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax.  +49-89-3187-3585
GSF - German National Research Center for Environment and Health
http://mips.gsf.de/staff/pagel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Y or I, N or O

2005-10-12 Thread Gregory Seidman
On Wed, Oct 12, 2005 at 10:49:09AM +0100, Joseph Haig wrote:
} When upgrading with "apt-get upgrade" I get the option to install a new
} configuration file or keep the existing one.  The options are
} 
} Y or I  : install the package maintainer's version
} N or O  : keep your currently-installed version
} 
} Now, I know that with either Y or I and N or O, both old and new
} versions of the file are saved, but it doesn't say which!  Which of N
} or O do I need to use to save a copy of the new file?

If you install the new version, the old version is saved with an extension
of .dpkg-old; if you choose not to install the new version, the new version
is placed next to the old with the extension .dpkg-new. Actually, upon
inspection of files in /etc, it looks like the extension is .dpkg-dist
rather than .dpkg-new, and I see a few files with a .O extension that I
think should be .dpkg-old, so now I'm not sure. Take this with a grain of
salt, I guess.

At the very least, you can choose to diff the files. If you do, you will
see at the top the filenames of both the old and new files, and you can
copy the new one somewhere to save it (in another shell) to be certain.

} Thanks,
} Joe
--Greg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Y or I, N or O

2005-10-12 Thread Joseph Haig
--- Oliver Elphick  wrote:

> On Wed, 2005-10-12 at 10:49 +0100, Joseph Haig wrote:
> > When upgrading with "apt-get upgrade" I get the option to install a
> new
> > configuration file or keep the existing one.  The options are
> > 
> > Y or I  : install the package maintainer's version
> > N or O  : keep your currently-installed version
> > 
> > Now, I know that with either Y or I and N or O, both old and new
> > versions of the file are saved, but it doesn't say which!  Which of
> N
> > or O do I need to use to save a copy of the new file?
> 
> Either.
> 
> If you choose Y, the existing configuration file will be saved as
> .dpkg-old and replaced by the package's version.
> 
> If you choose N, the existing configuration file will be left
> untouched
> and the new version will be saved in the same directory under the
> name
> .dpkg-dist (or .dpkg-new).

Thanks.  But if this is the case, what do I and O do?






___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Y or I, N or O

2005-10-12 Thread Oliver Elphick
On Wed, 2005-10-12 at 10:49 +0100, Joseph Haig wrote:
> When upgrading with "apt-get upgrade" I get the option to install a new
> configuration file or keep the existing one.  The options are
> 
> Y or I  : install the package maintainer's version
> N or O  : keep your currently-installed version
> 
> Now, I know that with either Y or I and N or O, both old and new
> versions of the file are saved, but it doesn't say which!  Which of N
> or O do I need to use to save a copy of the new file?

Either.

If you choose Y, the existing configuration file will be saved as
.dpkg-old and replaced by the package's version.

If you choose N, the existing configuration file will be left untouched
and the new version will be saved in the same directory under the name
.dpkg-dist (or .dpkg-new).

-- 
Oliver Elphick  olly@lfix.co.uk
Isle of Wight  http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
 
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Y or I, N or O

2005-10-12 Thread Joseph Haig
When upgrading with "apt-get upgrade" I get the option to install a new
configuration file or keep the existing one.  The options are

Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version

Now, I know that with either Y or I and N or O, both old and new
versions of the file are saved, but it doesn't say which!  Which of N
or O do I need to use to save a copy of the new file?

Thanks,

Joe



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]