You are not logged in.
Every time I install new package versions from the terminal I get ubuntu pro advertisement as in the following example:
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
imagemagick libavcodec-extra libjs-jquery-ui libavdevice58 ffmpeg
libopenexr25 libpostproc55 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6
libavcodec-extra58 libavutil56 imagemagick-6.q16 libswscale5
libmagickcore-6.q16-6 libswresample3 imagemagick-6-common libavformat58
libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
Thanks to anyone who can give me a hand to make this ad disappear.
xubuntu 22.04.4 LTS
xfce version 4.16
Offline
Not an Ubuntu user so can't test, but does this help?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for the help @ToZ, I have run the following command:
sudo pro config set apt_news=false
I just have to wait for new versions of packages to be released to see if I have been successful.
Last edited by timeshift (2023-04-07 03:21:08)
xubuntu 22.04.4 LTS
xfce version 4.16
Offline
Thanks for the help @Toz, unfortunately it didn't work what the link recommends. If there are any other recommendations I appreciate it.
xubuntu 22.04.4 LTS
xfce version 4.16
Offline
Does the following help?
sudo rm /etc/update-motd.d/88-esm-announce
sudo systemctl disable ubuntu-advantage.service
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
https://ubuntu.pl/forum/viewtopic.php?f=146&t=186278
Remedy: open as root, backing up /usr/lib/python3/dist-packages/uaclient/messages.py
we look for SS_LEARN_MORE and TRY_UBUNTU_PRO_BETA , cut out the text itself in quotes and enjoy the ad-free terminal.
Last edited by robson75 (2023-04-11 15:00:02)
Arch Linux Xfce - 64Bit Linux User #621110 GitHub
Offline
I was reading about some other users' experience with Ubuntu's marketing efforts. Tres obnoxious. Witholding security updates for any reason is not a good direction. Everyone's gotta pay the bills but I don't think this is going to work out. I'm setting up a little server soon and I think I'll give Debian a try.
Offline
https://askubuntu.com/questions/1434512 … dating-apt
Might be of help
Offline
i don't get this with Xubuntu 20.04. That may be because it is Xubuntu or because it is 20.04. if i were faced with wanting to suppress output like this, i would make a wrapper script that filters it away. it probably needs a different name to keep it simple. this sample code is UNTESTED. it is here for thinking about.
#!/bin/bash
if [[ -n "$APT" ]]; then
echo this command is running itself in a loop - try a different name
exit 1
fi
export APT=1
exec "$@"|fgrep -v 'Ubuntu Pro'
Last edited by Skaperen (2023-04-13 23:14:37)
Offline
Many thanks to @ToZ and @robson75 for helping by giving tips to solve this big problem, however, I have to say that it didn't work. I stopped by the forum just to let you know about this inconvenience.
As for @herbie643 I tell him that's where I got the question from and posted it, I mean I had already visited askubuntu.com regarding this issue.
To @Skaperen: I will use this script from a virtual machine. If something favorable or otherwise unfavorable happens I will communicate it.
xubuntu 22.04.4 LTS
xfce version 4.16
Offline
[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 561.14 KiB (Peak: 577.98 KiB) ]