I have the same problem, unattended-upgrades ignores files under
/etc/apt/preferences.d/*, but also after restarting the PC. The result
is that unattended-upgrades breaks regularly my system :(

To fix this I have to run `apt upgrade` after unattended-upgrades
updated programs to problematic versions.

As a workaround I blacklisted these programs in unattended-upgrades
config: /etc/apt/apt.conf.d/50unattended-upgrades

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

Title:
  unattended-upgrades.service ignores (changes in)
  /etc/apt/preferences.d/ files

Status in unattended-upgrades package in Ubuntu:
  Confirmed

Bug description:
  unattended-upgrades.service ignores (changes in)
  /etc/apt/preferences.d/ files that are done after the service has
  started.

  For example we 'pin' firefox on to a specific version and if a
  configuration file is placed after the service is started, the pinning
  is ignored. In our sitation that results in a newer firefox then we
  want at this moment.

  We run Ubuntu on 2000+ workstations and our users often start a
  workstation and let it run for days/weeks before rebooting and thus
  restarting the service unattended-upgrades again.

  I did not test if changes in other apt files are ignored also.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1734285/+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

Reply via email to