unable to update public key is not available deepin 15.5
Tofloor
poster avatar
sfsking
deepin
2017-12-14 04:20
Author
Edited by sfsking at 2017-12-13 20:30

sudo apt update
[sudo] password for syed-farjad-sameer:
Get:1 http://repository.spotify.com stable InRelease [3,302 B]            
Err:1 http://repository.spotify.com stable InRelease                     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFDC8610341D9410
Ign:2 http://mirror.dgn.net.tr/deepin panda InRelease
Err:3 http://mirror.dgn.net.tr/deepin panda Release
  404  Not Found
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFDC8610341D9410
E: The repository 'http://repository.spotify.com stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirror.dgn.net.tr/deepin panda Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details

also tried intructions from below
https://github.com/persepolisdm/persepolis/wiki/debian-installation-instruction

syed-farjad-sameer@syed-farjad-sameer-PC:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys REPLACE_WITH_THE_KEY_THAT_YOU_COPIED_BEFORE
[sudo] password for syed-farjad-sameer:
Executing: /tmp/apt-key-gpghome.4OFTDJ9LyP/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys REPLACE_WITH_THE_KEY_THAT_YOU_COPIED_BEFORE
gpg: "REPLACE_WITH_THE_KEY_THAT_YOU_COPIED_BEFORE" not a key ID: skipping
syed-farjad-sameer@syed-farjad-sameer-PC:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AC4E8D9CDCB0980D
Executing: /tmp/apt-key-gpghome.rgg9wy4OmW/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys AC4E8D9CDCB0980D
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.rgg9wy4OmW/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
syed-farjad-sameer@syed-farjad-sameer-PC:~$ sudo apt-get update && sudo apt-get install persepolis
Get:1 http://repository.spotify.com stable InRelease [3,302 B]            
Ign:2 http://mirror.dgn.net.tr/deepin panda InRelease   
Ign:1 http://repository.spotify.com stable InRelease                           
Ign:3 http://mirror.dgn.net.tr/deepin panda Release                           
Ign:4 http://mirror.dgn.net.tr/deepin panda/main i386 Packages
Ign:5 http://mirror.dgn.net.tr/deepin panda/contrib all Packages
Ign:6 http://mirror.dgn.net.tr/deepin panda/non-free amd64 Packages
Ign:7 http://mirror.dgn.net.tr/deepin panda/contrib i386 Packages
Ign:8 http://mirror.dgn.net.tr/deepin panda/non-free i386 Packages
Ign:9 http://mirror.dgn.net.tr/deepin panda/main amd64 Packages
Ign:10 http://mirror.dgn.net.tr/deepin panda/non-free all Packages
Ign:11 http://mirror.dgn.net.tr/deepin panda/contrib amd64 Packages
Ign:12 http://mirror.dgn.net.tr/deepin panda/main all Packages
Ign:4 http://mirror.dgn.net.tr/deepin panda/main i386 Packages
Ign:5 http://mirror.dgn.net.tr/deepin panda/contrib all Packages
Ign:6 http://mirror.dgn.net.tr/deepin panda/non-free amd64 Packages
Ign:7 http://mirror.dgn.net.tr/deepin panda/contrib i386 Packages
Ign:8 http://mirror.dgn.net.tr/deepin panda/non-free i386 Packages
Ign:9 http://mirror.dgn.net.tr/deepin panda/main amd64 Packages
Ign:10 http://mirror.dgn.net.tr/deepin panda/non-free all Packages
Ign:11 http://mirror.dgn.net.tr/deepin panda/contrib amd64 Packages
Ign:12 http://mirror.dgn.net.tr/deepin panda/main all Packages
Ign:4 http://mirror.dgn.net.tr/deepin panda/main i386 Packages
Ign:5 http://mirror.dgn.net.tr/deepin panda/contrib all Packages
Ign:6 http://mirror.dgn.net.tr/deepin panda/non-free amd64 Packages
Ign:7 http://mirror.dgn.net.tr/deepin panda/contrib i386 Packages
Ign:8 http://mirror.dgn.net.tr/deepin panda/non-free i386 Packages
Ign:9 http://mirror.dgn.net.tr/deepin panda/main amd64 Packages
Ign:10 http://mirror.dgn.net.tr/deepin panda/non-free all Packages
Ign:11 http://mirror.dgn.net.tr/deepin panda/contrib amd64 Packages
Ign:12 http://mirror.dgn.net.tr/deepin panda/main all Packages
Ign:4 http://mirror.dgn.net.tr/deepin panda/main i386 Packages
Ign:5 http://mirror.dgn.net.tr/deepin panda/contrib all Packages
Ign:6 http://mirror.dgn.net.tr/deepin panda/non-free amd64 Packages
Ign:7 http://mirror.dgn.net.tr/deepin panda/contrib i386 Packages
Ign:8 http://mirror.dgn.net.tr/deepin panda/non-free i386 Packages
Ign:9 http://mirror.dgn.net.tr/deepin panda/main amd64 Packages
Ign:10 http://mirror.dgn.net.tr/deepin panda/non-free all Packages
Ign:11 http://mirror.dgn.net.tr/deepin panda/contrib amd64 Packages
Ign:12 http://mirror.dgn.net.tr/deepin panda/main all Packages
Ign:4 http://mirror.dgn.net.tr/deepin panda/main i386 Packages
Ign:5 http://mirror.dgn.net.tr/deepin panda/contrib all Packages
Ign:6 http://mirror.dgn.net.tr/deepin panda/non-free amd64 Packages
Ign:7 http://mirror.dgn.net.tr/deepin panda/contrib i386 Packages
Ign:8 http://mirror.dgn.net.tr/deepin panda/non-free i386 Packages
Ign:9 http://mirror.dgn.net.tr/deepin panda/main amd64 Packages
Ign:10 http://mirror.dgn.net.tr/deepin panda/non-free all Packages
Ign:11 http://mirror.dgn.net.tr/deepin panda/contrib amd64 Packages
Ign:12 http://mirror.dgn.net.tr/deepin panda/main all Packages
Err:4 http://mirror.dgn.net.tr/deepin panda/main i386 Packages
  404  Not Found
Ign:5 http://mirror.dgn.net.tr/deepin panda/contrib all Packages
Ign:6 http://mirror.dgn.net.tr/deepin panda/non-free amd64 Packages
Ign:7 http://mirror.dgn.net.tr/deepin panda/contrib i386 Packages
Ign:8 http://mirror.dgn.net.tr/deepin panda/non-free i386 Packages
Ign:9 http://mirror.dgn.net.tr/deepin panda/main amd64 Packages
Ign:10 http://mirror.dgn.net.tr/deepin panda/non-free all Packages
Ign:11 http://mirror.dgn.net.tr/deepin panda/contrib amd64 Packages
Ign:12 http://mirror.dgn.net.tr/deepin panda/main all Packages
Fetched 3,302 B in 37s (87 B/s)
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFDC8610341D9410
W: The repository 'http://repository.spotify.com stable InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://mirror.dgn.net.tr/deepin panda Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://mirror.dgn.net.tr/deepin/dists/panda/main/binary-i386/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.





Reply Favorite View the author
All Replies
wtz
deepin
2017-12-15 07:38
#1
Please provide the content of the following file:
/etc/apt/sources.list
/etc/apt/apt.conf.d/99mirrors.conf
Reply View the author
sfsking
deepin
2017-12-16 06:12
#2
https://bbs.deepin.org/post/150142
Please provide the content of the following file:
/etc/apt/sources.list
/etc/apt/apt.conf.d/99mirror ...

01]/etc/apt/sources.list

## Generated by deepin-installer
deb [by-hash=force] http://mirror.dgn.net.tr/deepin/


02] /etc/apt/apt.conf.d/99mirrors.conf

#Don't wirte anything except MirrorSource, otherwise the config may lost

Acquire::SmartMirrors::MirrorSource "http://cdn.packages.deepin.com/deepin";


03]/etc/apt/sources.list.d/spotify.list

deb http://repository.spotify.com stable non-free

Reply View the author
wtz
deepin
2017-12-16 10:07
#3
本帖最后由 wtz 于 2017-12-16 02:11 编辑

Please change the content of /etc/apt/sources.list to:
  1. deb [by-hash=force] http://mirror.dgn.net.tr/deepin/ panda main contrib non-free
Copy the Code

Note that the last four words are necessary for apt to find software packages on server.

Alternatively, if you would like to use other server (rather than packages.deepin.com), it's better to change mirrors in control panel only, without modifying /etc/source.list. Deepin will automatically redirect all downloads to the mirrors chosen when you run apt command.
Reply View the author