I have local repository for Debian testing-amd64 on my pc1, this pc1 is running apache2, as server.
on the pc2, I have /etc/apt/sources.list:
so when I try to update my pc2, I get this message:deb http://192.168.1.2/Debian/ testing main non-free contrib
I cannot update pc2, because local repository is not signed, How to sign it?sudo apt-get update
Ign:1 http://192.168.1.2/Debian testing InRelease
Get:2 http://192.168.1.2/Debian testing Release [2,469 B]
Ign:3 http://192.168.1.2/Debian testing Release.gpg
Reading package lists... Done
E: The repository 'http://192.168.1.2/Debian testing Release' 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.
btw, packages in local repository are not modified, I just used reprepro to create local repository.
Thanks