Sharing some tip to try the news feature if there isn't a news available on the server
$ sudo apt install nginx
$ sudo sed -i "s/gzip on;/gzip on;\n\tgzip_min_length 1;\n\tgzip_types application\/json;\n/" /etc/nginx/nginx.conf
$ sudo systemctl restart nginx
$ sudo pro config set apt_news_url=http://localhost:80/aptnews.json
$ sudo editor /var/www/html/aptnews.json
using the content
{
"messages": [
{ "begin": "2023-09-03T00:00:00Z", "lines": [ "You can verify the status of security fixes using the `pro fix` command.", "E.g., a recent Ruby vulnerability can be checked with: `pro fix USN-6219-1`", "For more detail see: https://ubuntu.com/security/notices/USN-6219-1"
]
}
]
}
Sharing some tip to try the news feature if there isn't a news available on the server
$ sudo apt install nginx min_length 1;\n\tgzip_types application\ /json;\ n/" /etc/nginx/ nginx.conf localhost: 80/aptnews. json html/aptnews. json
$ sudo sed -i "s/gzip on;/gzip on;\n\tgzip_
$ sudo systemctl restart nginx
$ sudo pro config set apt_news_url=http://
$ sudo editor /var/www/
using the content
{
"begin" : "2023-09- 03T00:00: 00Z",
"lines" : [
"You can verify the status of security fixes using the `pro fix` command.",
"E.g. , a recent Ruby vulnerability can be checked with: `pro fix USN-6219-1`",
"For more detail see: https:/ /ubuntu. com/security/ notices/ USN-6219- 1"
"messages": [
{
]
}
]
}
$ sudo pro refresh messages