[Touch-packages] [Bug 1825812] Re: Daily apt update timer downloads all dist-upgradable packages

2019-05-07 Thread Balint Reczey
Regarding the optimal behaviour u-u spends significant amount of CPU time on 
deciding which are the upgradable packages especially if there are held 
packages thus there is a tradeoff between network and CPU usage.
I believe both of the options have their benefits, and on a desktop system 
-updates are more likely to be installed quickly after downloading them thus 
software-properties seems to be doing the right thing by requesting all 
packages to be downloaded.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825812

Title:
  Daily apt update timer downloads all dist-upgradable packages

Status in apt package in Ubuntu:
  New
Status in software-properties package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  Invalid
Status in update-notifier package in Ubuntu:
  New

Bug description:
  [Impact]
  apt-daily.service accidentally runs apt-get -d dist-upgrade after the first 
time it runs unattended-upgrades -d due to the latter reusing the stamp of the 
former.

  This means that machines download all packages that can be dist-
  upgraded rather than just the security updates unattended-upgrades
  will install; which means they might be wasting bandwidth.

  [Test case]
  TODO

  [Regression potential]
  TODO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825812/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825812] Re: Daily apt update timer downloads all dist-upgradable packages

2019-05-07 Thread Balint Reczey
Unattended-upgrades in not affected by this bug because it downloads
only packages it would install and the configuration files it ships are
set to only do that.

It looks like software properties changes the files to include those keys.
https://sources.debian.org/src/software-properties/0.96.20.2-2/softwareproperties/SoftwareProperties.py/?hl=605#L605


** Also affects: software-properties (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825812

Title:
  Daily apt update timer downloads all dist-upgradable packages

Status in apt package in Ubuntu:
  New
Status in software-properties package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  Invalid
Status in update-notifier package in Ubuntu:
  New

Bug description:
  [Impact]
  apt-daily.service accidentally runs apt-get -d dist-upgrade after the first 
time it runs unattended-upgrades -d due to the latter reusing the stamp of the 
former.

  This means that machines download all packages that can be dist-
  upgraded rather than just the security updates unattended-upgrades
  will install; which means they might be wasting bandwidth.

  [Test case]
  TODO

  [Regression potential]
  TODO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825812/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825812] Re: Daily apt update timer downloads all dist-upgradable packages

2019-05-07 Thread Balint Reczey
** Changed in: unattended-upgrades (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825812

Title:
  Daily apt update timer downloads all dist-upgradable packages

Status in apt package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  Invalid
Status in update-notifier package in Ubuntu:
  New

Bug description:
  [Impact]
  apt-daily.service accidentally runs apt-get -d dist-upgrade after the first 
time it runs unattended-upgrades -d due to the latter reusing the stamp of the 
former.

  This means that machines download all packages that can be dist-
  upgraded rather than just the security updates unattended-upgrades
  will install; which means they might be wasting bandwidth.

  [Test case]
  TODO

  [Regression potential]
  TODO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825812/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825812] Re: Daily apt update timer downloads all dist-upgradable packages

2019-04-22 Thread Julian Andres Klode
Hmm well it was not what I intended, otherwise I'd not have bothered
with the u-u option. But um, worth weighing the options.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825812

Title:
  Daily apt update timer downloads all dist-upgradable packages

Status in apt package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  New
Status in update-notifier package in Ubuntu:
  New

Bug description:
  [Impact]
  apt-daily.service accidentally runs apt-get -d dist-upgrade after the first 
time it runs unattended-upgrades -d due to the latter reusing the stamp of the 
former.

  This means that machines download all packages that can be dist-
  upgraded rather than just the security updates unattended-upgrades
  will install; which means they might be wasting bandwidth.

  [Test case]
  TODO

  [Regression potential]
  TODO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825812/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825812] Re: Daily apt update timer downloads all dist-upgradable packages

2019-04-22 Thread Steve Langasek
I somehow thought that this was intentional behavior, that we would
download all of the packages so that they would be available to apply
quickly, even if we would only automatically install the security
updates.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825812

Title:
  Daily apt update timer downloads all dist-upgradable packages

Status in apt package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  New
Status in update-notifier package in Ubuntu:
  New

Bug description:
  [Impact]
  apt-daily.service accidentally runs apt-get -d dist-upgrade after the first 
time it runs unattended-upgrades -d due to the latter reusing the stamp of the 
former.

  This means that machines download all packages that can be dist-
  upgraded rather than just the security updates unattended-upgrades
  will install; which means they might be wasting bandwidth.

  [Test case]
  TODO

  [Regression potential]
  TODO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825812/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1825812] Re: Daily apt update timer downloads all dist-upgradable packages

2019-04-22 Thread Julian Andres Klode
This is caused by these options:

$ grep -R Download-Upgradeable-Packages /etc/apt
/etc/apt/apt.conf.d/10periodic:APT::Periodic::Download-Upgradeable-Packages "1";
/etc/apt/apt.conf.d/20auto-upgrades:APT::Periodic::Download-Upgradeable-Packages
 "1";

They should be 0 w/ recent APT (which runs unattended-upgrade
--download-only based on the unattended-upgrades interval), but are set
to 1, which means we download all upgradable packages before running u-u
--download-only.

** Also affects: update-notifier (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: unattended-upgrades (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1825812

Title:
  Daily apt update timer downloads all dist-upgradable packages

Status in apt package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  New
Status in update-notifier package in Ubuntu:
  New

Bug description:
  [Impact]
  apt-daily.service accidentally runs apt-get -d dist-upgrade after the first 
time it runs unattended-upgrades -d due to the latter reusing the stamp of the 
former.

  This means that machines download all packages that can be dist-
  upgraded rather than just the security updates unattended-upgrades
  will install; which means they might be wasting bandwidth.

  [Test case]
  TODO

  [Regression potential]
  TODO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1825812/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp