Skip to content

Suggestions #3

Description

@dampfklon

Thank for maintaining this helpful overview.

After implementing the changes i found two possible improvements

  1. apt-get purge ubuntu-advantage-tools after installing the fake package. This automatically removes the hole /var/lib/ubuntu-advantage directory seems the cleaner way than removing only the cached messages.
  2. In /usr/lib/update-notifier/apt_check.py instead of changing the two functions you can change the Line ESM_INFRA_ORIGIN = "UbuntuESM" to some other value like ESM_INFRA_ORIGIN = "UbuntuESM_disabled" which disables the messages without changing actual code. The command would be like sudo sed -Ezi.orig 's/ESM_INFRA_ORIGIN = "UbuntuESM"/ESM_INFRA_ORIGIN = "UbuntuESM_disabled"/' /usr/lib/update-notifier/apt_check.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions