diff --git a/install_files/ansible-base/roles/common/tasks/apt_upgrade.yml b/install_files/ansible-base/roles/common/tasks/apt_upgrade.yml index 0c7a5c1a70a..d605bd3e1aa 100644 --- a/install_files/ansible-base/roles/common/tasks/apt_upgrade.yml +++ b/install_files/ansible-base/roles/common/tasks/apt_upgrade.yml @@ -17,7 +17,7 @@ tags: apt - name: Check whether tor will be upgraded. - command: aptitude search '~U' --display-format '%p' --disable-columns + command: apt list --upgradable tor register: tor_upgradable_result changed_when: false