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


Groups > linux.debian.user > #176933

Re: apt-get is not following preferences.d

From Michael Lange <klappnase@freenet.de>
Newsgroups linux.debian.user
Subject Re: apt-get is not following preferences.d
Date 2017-01-23 12:00 +0100
Message-ID <t2KvZ-5ob-5@gated-at.bofh.it> (permalink)
References <sYSs1-7lL-19@gated-at.bofh.it> <sYTo6-7Uq-17@gated-at.bofh.it> <t2Hy2-3Bw-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Mon, 23 Jan 2017 08:40:32 +0100
Matthias Bodenbinder <matthias@bodenbinder.de> wrote:

(...)Yes, this is exactly what happens on my PC. But it has no solution.
> 
> In the meantime I found a workaround. I moved /etc/cron.daily/apt out
> of the way. It looks like this script is being executed during boot
> before the network is ready.
> 
> How can I make sure that the script /etc/cron.daily/apt is only
> executed when network is up? What is this script good for anyways?

>From what the comment at the top of the script says:

# This file understands the following apt configuration variables:
# Values here are the default.
# Create /etc/apt/apt.conf.d/02periodic file to set your preference.
(...)
#
#  APT::Periodic::Update-Package-Lists "0";
#  - Do "apt-get update" automatically every n-days (0=disable)
#    

it looks like you have a file /etc/apt/apt.conf.d/02periodic where 
APT::Periodic::Update-Package-Lists is set to "1" (or so). Here (on
Jessie) such a file does not exist, and as promised the updates don't
happen.

Regards

Michael



.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

What kind of love is that?  Not to be loved; never to have shown love.
		-- Commissioner Nancy Hedford, "Metamorphosis",
		   stardate 3219.8

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


Thread

apt-get is not following preferences.d Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-01-12 19:40 +0100
  Re: apt-get is not following preferences.d Michael Lange <klappnase@freenet.de> - 2017-01-12 19:50 +0100
    Re: apt-get is not following preferences.d Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-01-13 09:20 +0100
      Re: apt-get is not following preferences.d Gene Heskett <gheskett@shentel.net> - 2017-01-13 09:50 +0100
      Re: apt-get is not following preferences.d Michael Lange <klappnase@freenet.de> - 2017-01-13 10:20 +0100
        Re: apt-get is not following preferences.d Michael Lange <klappnase@freenet.de> - 2017-01-13 11:10 +0100
  Re: apt-get is not following preferences.d Sven Hartge <sven@svenhartge.de> - 2017-01-12 20:40 +0100
    Re: apt-get is not following preferences.d Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-01-23 08:50 +0100
      Re: apt-get is not following preferences.d Michael Lange <klappnase@freenet.de> - 2017-01-23 12:00 +0100
        Re: apt-get is not following preferences.d Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-01-25 07:20 +0100
          Re: apt-get is not following preferences.d Michael Lange <klappnase@freenet.de> - 2017-01-25 20:10 +0100
            Re: apt-get is not following preferences.d Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-01-27 07:10 +0100
              Re: apt-get is not following preferences.d Michael Lange <klappnase@freenet.de> - 2017-01-27 19:10 +0100
                Re: apt-get is not following preferences.d davidson@freevolt.org - 2017-01-27 19:50 +0100
              Re: apt-get is not following preferences.d davidson@freevolt.org - 2017-01-27 19:20 +0100

csiph-web