unattended-upgrades не видит обновлений пакетов

Автор AgentZoy, 28 августа 2019, 15:56:09

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

AgentZoy

Всем привет
Столкнулся с такой проблемой на сервере установлен Debian 9
Стоит пакет unattended-upgrades
Если выполнить apt-get update && apt-get-upgrade то он видит что есть новые обновления пакетов. Но автоматически их не ставит
Перерыл все мануалы конфиги правильные до недавних обновлений было все в порядке
конфиг /etc/apt/apt.conf.d/50unattended-upgrades

Unattended-Upgrade::Origins-Pattern {
        // Codename based matching:
        // This will follow the migration of a release through different
        // archives (e.g. from testing to stable and later oldstable).
//      "o=Debian,n=jessie";
//      "o=Debian,n=jessie-updates";
//      "o=Debian,n=jessie-proposed-updates";
//      "o=Debian,n=jessie,l=Debian-Security";

        // Archive or Suite based matching:
        // Note that this will silently match a different release after
        // migration to the specified archive (e.g. testing becomes the
        // new stable).
      "o=Debian,a=stable";
      "o=Debian,a=stable-updates";
      "o=Debian,a=proposed-updates";
      "origin=Debian,codename=${distro_codename},label=Debian-Security";
};



В чем может быть проблемма?
Спасибо



AgentZoy

#1
The following packages will be upgraded:
   debian-archive-keyring (2017.5 => 2017.5+deb9u1)
   puppet-agent (5.5.14-1stretch => 5.5.16-1stretch)
   tzdata (2019a-0+deb9u1 => 2019b-0+deb9u1)
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/17.8 MB of archives.
After this operation, 389 kB of additional disk space will be used.

вывод команды apt update && apt upgrade -V

AgentZoy

 :'( прчем на другом серваке все прекрасно пашет с такими же конфигами

endru

Цитата: AgentZoy от 28 августа 2019, 15:56:09установлен Debian 9
Цитата: AgentZoy от 28 августа 2019, 15:56:09"o=Debian,a=stable";
      "o=Debian,a=stable-updates";
      "o=Debian,a=proposed-updates";
стабильный debian 10 сейчас.

AgentZoy

#4
Я кажется догадываюсь
Как тогда нужно изменить
"o=Debian,a=stable";
      "o=Debian,a=stable-updates";
      "o=Debian,a=proposed-updates";
      "origin=Debian,codename=${distro_codename},label=Debian-Security";

чтобы 9 ка брала обновления?