apt-get update errror:N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
apt-get update errror:N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
Hi,
I installed the ubuntu 17.04 beta2 and the apt-cacher-ng this is the part of the sources.list:
Code:
deb http://127.0.0.1:3142/linux.nsu.ru/ubuntu/ zesty main restricted
deb http://127.0.0.1:3142/linux.nsu.ru/ubuntu/ zesty-updates main restricted
deb http://127.0.0.1:3142/linux.nsu.ru/ubuntu/ zesty-updates universe
when i run the apt-get update it is working but cannot retrieve dists cache and get this error in the end:
Code:
Ign:51 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-updates/restricted i386 Packages
Err:73 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/main amd64 Packages
404 Not Found
Ign:74 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/main all Packages
Ign:75 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/main i386 Packages
Ign:76 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/main Translation-en_US
Ign:77 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/main Translation-en
Ign:78 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/main all DEP-11 Metadata
Ign:79 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/main amd64 DEP-11 Metadata
Ign:80 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/main DEP-11 64x64 Icons
Ign:81 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/restricted i386 Packages
Ign:82 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/restricted amd64 Packages
Ign:83 http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports/restricted all Packages
Reading package lists... Done
W: The repository 'http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty 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.
W: The repository 'http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-updates 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.
W: The repository 'http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu zesty-backports 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.
I searched the google and some one told remove the cdrom from sources.list it was not enable but i deleted the cdrom from the sources.list and still it doesn't work.
APT-SECURE(8) APT APT-SECURE(8)
NAME
apt-secure - Archive authentication support for APT
DESCRIPTION
Starting with version 0.6, apt contains code that does signature checking of the Release
file for all archives. This ensures that packages in the archive can't be modified by
people who have no access to the Release file signing key.
If a package comes from a archive without a signature, or with a signature that apt does
not have a key for, that package is considered untrusted, and installing it will result in
a big warning. apt-get will currently only warn for unsigned archives; future releases
might force all sources to be verified before downloading packages from them.
The package frontends apt-get(8), aptitude(8) and synaptic(8) support this new
authentication feature.
Seems fairly straight forward to me from reading that you need to create a signed Release file for the local repository and add the key used for signing to keyring for it to be verified.
Thanks for replies,the main problem is with the apt-cacher-ng, without that apt-get is working. i need apt-cacher-ng to use the downloaded packages for other pc's. this is the sources.list:
Code:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu/ zesty main restricted
# deb-src http://af.archive.ubuntu.com/ubuntu/ zesty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
# deb-src http://af.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu/ zesty universe
# deb-src http://af.archive.ubuntu.com/ubuntu/ zesty universe
deb http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu/ zesty-updates universe
# deb-src http://af.archive.ubuntu.com/ubuntu/ zesty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu/ zesty multiverse
# deb-src http://af.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
# deb-src http://af.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://127.0.0.1:3142/af.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
# deb-src http://af.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://127.0.0.1:3142/archive.canonical.com/ubuntu zesty partner
# deb-src http://archive.canonical.com/ubuntu zesty partner
deb http://127.0.0.1:3142/security.ubuntu.com/ubuntu zesty-security main restricted
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://127.0.0.1:3142/security.ubuntu.com/ubuntu zesty-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://127.0.0.1:3142/security.ubuntu.com/ubuntu zesty-security m
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.