apt secure8 manpage for repository creation and user configuration details ubuntu 22.04
Channel: linux-syr
Date: 2022-05-26

0:24 fix: 
see apt secure8 manpage for repository creation and user configuration details
0:58 make sure that source.list file is original 
2:47 fix:
flabspath on /var/lib/dpkg/status failed - realpath (2 no such file or directory)
3:32 fix:
w: failed to fetch http //archive.ubuntu.com/ubuntu/dists/jammy/inrelease : key is stored
3:50 fix:
w unable to read /etc/apt/preferences.d/

all used commands:
sudo apt update
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys THE-GIVEN-KEY-HERE
to show it: apt-key list
sudo nano /var/lib/dpkg/status
sudo apt dist-upgrade