hi Axel Beckert: > Hi, > > Fulano Diego Perez wrote: >> $ cat /etc/apt/apt.conf.d/02periodic >> APT >> { >> Periodic >> { >> Download-Upgradeable-Packages "0"; >> Update-Package-Lists "0"; >> Unattended-Upgrade "0"; >> AutocleanInterval "0"; >> } >> } > > This has nothing to do with Aptitude and is ignored by aptitude. The > only file which cares about these settings is /etc/cron.daily/apt from > the apt package.
noting /etc/cron.daily/apt i changed from 02periodic to 10periodic with the addition of Enable "0"; /etc/cron.daily/apt remains as is default > > Looks rather like a support issue than a bug to me. If the information > below helps you to fix the issue, I'd close the bug report afterwards. > If it doesn't, I'd at least reassign it to the apt package. > >> there is no /etc/apt/apt.conf by default as far as im aware in debian >> stretch > > That's correct. You can still choose to create that file. If I > remember correctly, it overrules settings from /etc/apt/apt.conf.d/. > >> what else needs to be done in order to disable this ? > > You've chosen a rather low number in the file name. If e.g. above and also > unattended-upgrade is installed, it installs those two files which > have higher priorities than your file and will overwrite the settings > above: > > -rw-r--r-- 1 root root 80 Jul 11 2015 /etc/apt/apt.conf.d/20auto-upgrades > -rw-r--r-- 1 root root 2331 Jan 21 23:07 > /etc/apt/apt.conf.d/50unattended-upgrades these are not installed > > So please check all files in /etc/apt/apt.conf.d/ with a higher > number, too. -rw-r--r-- 1 root root 141 Oct 13 2014 20listchanges -rw-r--r-- 1 root root 1040 Jun 8 2015 20packagekit -rw-r--r-- 1 root root 70 Feb 1 19:29 20torproxy -rw-r--r-- 1 root root 1711 Jan 15 07:29 50appstream -rw-r--r-- 1 root root 182 Mar 19 2015 70debconf -rw-r--r-- 1 root root 338 May 23 2015 99needrestart -rw-r--r-- 1 root root 314 Feb 24 20:23 99-tor ------------------------------------------------------------- -rw-r--r-- 1 root root 141 Oct 13 2014 20listchanges DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt || test $? -ne 10"; }; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; ------------------------------------------------------------- -rw-r--r-- 1 root root 1040 Jun 8 2015 20packagekit // i.e. if an user removes a package that had an update DPkg::Post-Invoke { "/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bi$ }; // When Apt's cache is updated (i.e. apt-cache update) APT::Update::Post-Invoke-Success { "/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bi$ }; ------------------------------------------------------------- -rw-r--r-- 1 root root 70 Feb 1 19:29 20torproxy unlikely ------------------------------------------------------------- -rw-r--r-- 1 root root 1711 Jan 15 07:29 50appstream unlikely ------------------------------------------------------------- -rw-r--r-- 1 root root 182 Mar 19 2015 70debconf DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";}; ------------------------------------------------------------- -rw-r--r-- 1 root root 338 May 23 2015 99needrestart -rw-r--r-- 1 root root 314 Feb 24 20:23 99-tor unlikely > > "apt-config dump | fgrep -i periodic" probably also helps to debug your issue. APT::Periodic ""; APT::Periodic::Enable "0"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Unattended-Upgrade "0"; APT::Periodic::AutocleanInterval "0"; > >> is there a gnome package manager possibly interfering ? > > That's possible, yes. > >> its very frustrating on a limited bandwidth connection each time a usb >> modem, for example, is connected ... > > Yeah, I know that very well. In case you want automatic downloads, but > still spare bandwidth, have a look at debdelta and this setting: > > APT::Periodic::Download-Upgradeable-Packages-Debdelta "1"; this is set by default in /etc/cron.daily/apt as above > > Regards, Axel >