diff -Nru ubuntu-advantage-tools-27.14.3/debian/changelog ubuntu-advantage-tools-27.14.4/debian/changelog --- ubuntu-advantage-tools-27.14.3/debian/changelog 2023-03-31 14:13:44.000000000 +0000 +++ ubuntu-advantage-tools-27.14.4/debian/changelog 2023-04-04 20:56:07.000000000 +0000 @@ -1,3 +1,11 @@ +ubuntu-advantage-tools (27.14.4) lunar; urgency=medium + + * timer: disable update_contract_info job (LP: #2015302) + * livepatch: prevent livepatch from auto-enabling and subsequently failing + on non-amd64 systems (LP: #2015241) + + -- Renan Rodrigo Tue, 04 Apr 2023 17:56:07 -0300 + ubuntu-advantage-tools (27.14.3) lunar; urgency=medium * livepatch: prevent livepatch from auto-enabling and subsequently failing diff -Nru ubuntu-advantage-tools-27.14.3/lib/timer.py ubuntu-advantage-tools-27.14.4/lib/timer.py --- ubuntu-advantage-tools-27.14.3/lib/timer.py 2023-03-31 14:13:44.000000000 +0000 +++ ubuntu-advantage-tools-27.14.4/lib/timer.py 2023-04-04 20:56:07.000000000 +0000 @@ -174,12 +174,6 @@ jobs_status_obj.update_messaging = run_job( cfg, update_message_job, current_time, jobs_status_obj.update_messaging ) - jobs_status_obj.update_contract_info = run_job( - cfg, - update_contract_info_job, - current_time, - jobs_status_obj.update_contract_info, - ) timer_jobs_state_file.write(jobs_status_obj) diff -Nru ubuntu-advantage-tools-27.14.3/uaclient/entitlements/livepatch.py ubuntu-advantage-tools-27.14.4/uaclient/entitlements/livepatch.py --- ubuntu-advantage-tools-27.14.3/uaclient/entitlements/livepatch.py 2023-03-31 14:13:44.000000000 +0000 +++ ubuntu-advantage-tools-27.14.4/uaclient/entitlements/livepatch.py 2023-04-04 20:56:07.000000000 +0000 @@ -32,11 +32,13 @@ name = "livepatch" title = "Livepatch" description = "Canonical Livepatch service" - affordance_check_arch = False affordance_check_kernel_min_version = False affordance_check_kernel_flavor = False # we do want to check series because livepatch errors on non-lts releases affordance_check_series = True + # we still need to check arch because the livepatch-client is not built + # for all arches + affordance_check_arch = True @property def incompatible_services(self) -> Tuple[IncompatibleService, ...]: diff -Nru ubuntu-advantage-tools-27.14.3/uaclient/tests/test_ua_timer.py ubuntu-advantage-tools-27.14.4/uaclient/tests/test_ua_timer.py --- ubuntu-advantage-tools-27.14.3/uaclient/tests/test_ua_timer.py 2023-03-31 14:13:44.000000000 +0000 +++ ubuntu-advantage-tools-27.14.4/uaclient/tests/test_ua_timer.py 2023-04-04 20:56:07.000000000 +0000 @@ -183,7 +183,7 @@ assert [ mock.call(m_jobs_state()) ] == fake_file.write.call_args_list - assert 3 == m_run_job.call_count + assert 2 == m_run_job.call_count else: assert [] == fake_file.write.call_args_list assert 0 == m_run_job.call_count diff -Nru ubuntu-advantage-tools-27.14.3/uaclient/version.py ubuntu-advantage-tools-27.14.4/uaclient/version.py --- ubuntu-advantage-tools-27.14.3/uaclient/version.py 2023-03-31 14:13:44.000000000 +0000 +++ ubuntu-advantage-tools-27.14.4/uaclient/version.py 2023-04-04 20:56:07.000000000 +0000 @@ -15,7 +15,7 @@ from uaclient.exceptions import ProcessExecutionError from uaclient.system import subp -__VERSION__ = "27.14.3" +__VERSION__ = "27.14.4" PACKAGED_VERSION = "@@PACKAGED_VERSION@@" CANDIDATE_REGEX = r"Candidate: (?P.*?)\n"