Your message dated Wed, 14 Feb 2018 16:14:45 -0500
with message-id <20180214211445.r6kqlf7ndtxph...@acaia.ca>
and subject line Re: Bug#889855: apticron: on each run, getting twice: W: 
--force-yes is deprecated
has caused the Debian Bug report #889855,
regarding apticron: on each run, getting twice: W: --force-yes is deprecated
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
889855: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889855
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apticron
Version: 1.1.61
Severity: normal

Hello,

Ever since we have stretch servers using apticron, we're getting emails
from the cron runs that show only two warning messages, twice the same
line:

W: --force-yes is deprecated, use one of the options starting with
--allow instead.


I've run apticron with tracing on (bash -x apticron) and found out that
the two following commands are the ones causing the warnings:

/usr/bin/apt-get -q -y --ignore-hold --allow-unauthenticated -s
dist-upgrade

and:

/usr/bin/apt-get --ignore-hold -qq -d dist-upgrade

This means that apticron is calling apt-get with a deprecated set of
arguments, but I'm not sure how to fix this yet.

-- System Information:
Debian Release: 9.3
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_CA.utf8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apticron depends on:
ii  apt                    1.4.8
ii  bzip2                  1.0.6-8.1
ii  cron [cron-daemon]     3.0pl1-128+b1
ii  debconf [debconf-2.0]  1.5.61
ii  dpkg                   1.18.24
ii  mailutils [mailx]      1:3.1.1-1
ii  ucf                    3.0036

Versions of packages apticron recommends:
ii  apt-listchanges  3.10
ii  iproute2         4.9.0-1+deb9u1

apticron suggests no packages.

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Thanks Gabriel, I'm closing it right now :)

(see the magic in cc:)

Bests,

On Wed, Feb 14, 2018 at 08:32:00PM +0000, Gabriel Filion wrote:
> Gah!
> 
> I did a little bit more research and found out that the warning was not
> replicating on stretch hosts managed elsewhere. This led me to find that
> the warning was *not* caused by aptitude itself but rather by an option
> in apt.conf.d/ that was configured by our configuration management (e.g.
> it was configuring "APT::Get::force-yes true;"
> 
> I've removed this from the configuration that is being pushed by our
> configuration management and the warning is gone.
> 
> So.... I'm really sorry for creating noise here and not having
> investigated a bit more! I thought that since I could replicate on more
> than one host it was a problem with the software but it was rather a
> configuration problem.
> 
> This bug report can be closed (sorry don't know the magic email line
> that does this)
> 




-- 
tiago

--- End Message ---

Reply via email to