Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #209774

Re: unattended-upgrades downloaded package information only from the sources in sources.list.d directory ignoring sources.list file

From Martin T <m4rtntns@gmail.com>
Newsgroups linux.debian.user
Subject Re: unattended-upgrades downloaded package information only from the sources in sources.list.d directory ignoring sources.list file
Date 2019-06-09 15:10 +0200
Message-ID <y75Ka-1c6-1@gated-at.bofh.it> (permalink)
References <y5AIp-3Kv-3@gated-at.bofh.it> <y5Wzf-CP-7@gated-at.bofh.it> <y6ETE-1Zi-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

looks like the culprit is a /etc/cron.daily/do-agent cron-job which
executes the /opt/digitalocean/do-agent/scripts/update.sh script which
includes following if statement:

        if command -v apt-get 2&>/dev/null; then
                apt-get -qq update -o
Dir::Etc::sourcelist="sources.list.d/digitalocean-agent.list" -o
Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="1"
                apt-get -qq install -y --only-upgrade do-agent
                /* output removed for brevity */

'-o APT::Get::List-Cleanup="1"' flushes other repositories..


Martin

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

unattended-upgrades downloaded package information only from the  sources in sources.list.d directory ignoring sources.list file Martin T <m4rtntns@gmail.com> - 2019-06-05 11:50 +0200
  Re: unattended-upgrades downloaded package information only from the  sources in sources.list.d directory ignoring sources.list file Martin T <m4rtntns@gmail.com> - 2019-06-06 11:10 +0200
    Re: unattended-upgrades downloaded package information only from the  sources in sources.list.d directory ignoring sources.list file Martin T <m4rtntns@gmail.com> - 2019-06-08 10:30 +0200
      Re: unattended-upgrades downloaded package information only from the  sources in sources.list.d directory ignoring sources.list file Martin T <m4rtntns@gmail.com> - 2019-06-09 15:10 +0200

csiph-web