WARNING: The following packages cannot be authenticated!
WARNING: The following packages cannot be authenticated!
python3-pip
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
1. sudo apt install python3-pip -y
guipc@ubuntu:~/people_counting_api$ sudo apt install python3-pip -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-setuptools python3-wheel
Suggested packages:
python-setuptools-doc
The following NEW packages will be installed:
python3-pip python3-setuptools python3-wheel
0 upgraded, 3 newly installed, 0 to remove and 440 not upgraded.
Need to get 245 kB of archives.
After this operation, 1,220 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
python3-pip
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
guipc@ubuntu:~/people_counting_api$
2. /var/lib/apt/lists
/var/lib/apt/lists/*_Release.gpg files 崩溃,删除文件,then run apt-get update。
sudo rm -frv /var/lib/apt/lists
sudo mkdir -pv /var/lib/lists/partial
sudo apt-get update
sudo apt-key update
guipc@ubuntu:~/people_counting_api$ sudo rm -frv /var/lib/apt/lists
guipc@ubuntu:~/people_counting_api$ sudo mkdir -pv /var/lib/lists/partial
guipc@ubuntu:~/people_counting_api$ sudo apt-get update
guipc@ubuntu:~/people_counting_api$ sudo apt-key update
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" not changed
gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" not changed
gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" not changed
gpg: Total number processed: 4
gpg: unchanged: 4
guipc@ubuntu:~/people_counting_api$
References
[1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/