[Bug 1734285] Re: unattended-upgrades.service ignores (changes in) /etc/apt/preferences.d/ files

Borim 1734285 at bugs.launchpad.net
Sat Apr 22 13:30:48 UTC 2023


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
Foundations Bugs, 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




More information about the foundations-bugs mailing list