Ubuntu tips and tricks: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== The following security updates require Ubuntu Pro with 'esm-infra' enabled == | |||
the file <code>/etc/apt/apt.conf.d/20apt-esm-hook.conf</code> provides the hook that calls the marketing message generation. Removing that is an option<ref>https://askubuntu.com/questions/1452299/im-getting-the-message-the-following-security-updates-require-ubuntu-pro-with</ref> | |||
<code>sudo mv /etc/apt/apt.conf.d/20apt-esm-hook.conf /var/tmp</code> | |||
after then run <code>apt upgrade</code> the message does not show | |||
== How to cleanly remove x11<ref>https://raspberrypi.stackexchange.com/questions/12670/how-to-cleanly-remove-x11</ref> == | == How to cleanly remove x11<ref>https://raspberrypi.stackexchange.com/questions/12670/how-to-cleanly-remove-x11</ref> == | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> |
Revision as of 08:04, 30 July 2023
The following security updates require Ubuntu Pro with 'esm-infra' enabled
the file /etc/apt/apt.conf.d/20apt-esm-hook.conf
provides the hook that calls the marketing message generation. Removing that is an option[1]
sudo mv /etc/apt/apt.conf.d/20apt-esm-hook.conf /var/tmp
after then run apt upgrade
the message does not show
How to cleanly remove x11[2]
sudo apt purge 'x11-*'
sudo apt autoremove
apt-get update “the following signatures couldn’t be verified because the public key is not available”
$ sudo apt update
Err:5 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
#need to add the missing Key B53DC80D13EDEF05
$sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B53DC80D13EDEF05
Executing: /tmp/apt-key-gpghome.xfmtcCbrXz/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys B53DC80D13EDEF05
gpg: key B53DC80D13EDEF05: 1 duplicate signature removed
gpg: key B53DC80D13EDEF05: public key "Rapture Automatic Signing Key (cloud-rapture-signing-key-2022-03-07-08_01_01.pub)" imported
gpg: Total number processed: 1
gpg: imported: 1
#now update will be successful