Skip to content
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

Remove ESM Apps MOTD Spam section does not support old versions 20.04 and 22.04 #9

Open
Julienraptor01 opened this issue Oct 2, 2023 · 5 comments

Comments

@Julienraptor01
Copy link

Julienraptor01 commented Oct 2, 2023

The dir doesn't exist and and the best other dir i can find doesn't contain the Py file
But i still get the advert

Screenshot_20231002_130116_Termius

@Skyedra
Copy link
Owner

Skyedra commented Oct 2, 2023

Interesting, that is also a slightly different spam message.

FYI I also have a /var/lib/update-notifier/ in addition to the /usr/lib/update-notifier (though I'm on 23.04)

I will leave open in case anyone has any ideas -- I am not sure myself

@matkoniecz
Copy link

matkoniecz commented Mar 12, 2024

Maybe note for now that for 20.04 and 22.04 https://github.com/Skyedra/UnspamifyUbuntu/blob/master/README.md#remove-dynamic-motd-spam does not work?

@matkoniecz
Copy link

And remove it once this systems are EOLed?

@Skyedra Skyedra changed the title Remove ESM apps MotD spam can't work Remove ESM Apps MOTD Spam section does not support old versions 20.04 and 22.04 Mar 12, 2024
@Skyedra
Copy link
Owner

Skyedra commented Mar 12, 2024

I agree would be good to update document with what steps work on what versions

Original report was regarding "Remove ESM Apps MOTD Spam" section not working on 22.04. @matkoniecz you linked to other section "Remove Dynamic MOTD Spam" -- do they both not work for you on both versions?

(Also do you get an error or does it just continue displaying the message?)

@rrotter
Copy link

rrotter commented Jun 14, 2024

The sed command is unnecessary. This will work on any version 20.04 and later and is much easier:

touch /var/lib/update-notifier/hide-esm-in-motd
/usr/lib/update-notifier/update-motd-updates-available --force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants