Re: unattended aptitude

2016-04-04 Thread Jean-Louis Mas
Le 04/04/2016 15:13, Pierre Frenkiel a écrit : > I think that with this option (or with --force-confnew), > one must look carefully at the differences between the .dpkg-dist > config files and the keeped ones. We do look from time to time to .dpkg-dist files, in order to update our puppet m

Re: unattended aptitude

2016-04-04 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 04, 2016 at 02:30:22PM +0200, Pierre Frenkiel wrote: > On Mon, 4 Apr 2016, to...@tuxteam.de wrote: > > >Ah -- the "things" in --force-things is a syntactic metavariable[1] :-) > > Actually, I tried > aptitude --force-things confol

Re: unattended aptitude

2016-04-04 Thread Pierre Frenkiel
On Mon, 4 Apr 2016, Jean-Louis Mas wrote: aptitude -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold safe-upgrade We use this command with apt-get instead of aptitude for our debian servers since February. It works fine so far. We sometime have trouble, for examp

Re: unattended aptitude

2016-04-04 Thread Jean-Louis Mas
Le 04/04/2016 12:09, Pierre Frenkiel a écrit : > aptitude -y -o Dpkg::Options::=--force-confdef -o > Dpkg::Options::=--force-confold safe-upgrade > > this command is accepted. > I'll try it as soon as some upgrades are available. We use this command with apt-get instead of aptitud

Re: unattended aptitude

2016-04-04 Thread Pierre Frenkiel
On Mon, 4 Apr 2016, to...@tuxteam.de wrote: Ah -- the "things" in --force-things is a syntactic metavariable[1] :-) Actually, I tried aptitude --force-things confold safe-upgrade aptitude --force-things=confold safe-upgrade aptitude --force-confold safe-upgrade and all

Re: unattended aptitude

2016-04-04 Thread Pierre Frenkiel
On Mon, 4 Apr 2016, Pierre Frenkiel wrote: what is the exact syntax? I tried: apt-get --force-things confold dist-upgrade E: Command line option --force-things is not understood I found this: aptitude -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confo

Re: unattended aptitude

2016-04-04 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 04, 2016 at 11:51:56AM +0200, Pierre Frenkiel wrote: > On Mon, 4 Apr 2016, Brian wrote: > > >In the dpkg manual you'll find 'confnew' and 'confdef', apt-get accepts > >dpkg paramters. aptitude probably does too. > > > what is the exact

Re: unattended aptitude

2016-04-04 Thread Pierre Frenkiel
On Mon, 4 Apr 2016, Brian wrote: In the dpkg manual you'll find 'confnew' and 'confdef', apt-get accepts dpkg paramters. aptitude probably does too. what is the exact syntax? I tried: apt-get --force-things confold dist-upgrade E: Command line option --force-things is not under

Re: unattended aptitude

2016-04-04 Thread Jochen Spieker
Pierre Frenkiel: > On Mon, 4 Apr 2016, Jochen Spieker wrote: > >> aptitude | yes n > > I imagine you want to say > > yes n | aptitude Correct! But I guess Brian's suggestion is better. J. -- I eat meat and am concerned about bugs which are resistant to antibiotics. [Agree] [Disagree]

Re: unattended aptitude

2016-04-04 Thread Pierre Frenkiel
On Mon, 4 Apr 2016, Jochen Spieker wrote: aptitude | yes n I imagine you want to say yes n | aptitude best regards, -- Pierre Frenkiel

Re: unattended aptitude

2016-04-04 Thread Brian
On Mon 04 Apr 2016 at 10:12:25 +0200, Pierre Frenkiel wrote: > hi, > I would like run "aptitude safe-upgrade" without staying in front of my > screen for hours > A convenient way would be to postpone to the end of the upgrade all > package installs needing an answer, like > > ==> File on system

Re: unattended aptitude

2016-04-04 Thread Jochen Spieker
Pierre Frenkiel: > > Is there a way to run aptitude with "N" as automatic answer? > May-be redirecting input from a file with several "N" lines ? That might interfere with standard questions like the first question that asks whether you actually want to install/upgrade the listed packages. But if