-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestions #3
Comments
Thanks for the suggestions, will look into these when I have a bit :) |
That isn't actually enough to stop
There are actually two lines to be changes, from:
to
Which is much simpler than patching the functions and fully supressed the ESM related messages. |
Great idea, thanks! |
Thats exactly what happens when you set |
I don't know if this was intended to fully replace the readme's current:
But I tried the former on Ubuntu I then tried the latter (current readme method) followed by the regen line and that did work. |
Thank for maintaining this helpful overview.
After implementing the changes i found two possible improvements
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./usr/lib/update-notifier/apt_check.py
instead of changing the two functions you can change the LineESM_INFRA_ORIGIN = "UbuntuESM"
to some other value likeESM_INFRA_ORIGIN = "UbuntuESM_disabled"
which disables the messages without changing actual code. The command would be likesudo sed -Ezi.orig 's/ESM_INFRA_ORIGIN = "UbuntuESM"/ESM_INFRA_ORIGIN = "UbuntuESM_disabled"/' /usr/lib/update-notifier/apt_check.py
The text was updated successfully, but these errors were encountered: